@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Inter:wght@400;500;600;700&display=swap);
body::after,
body::before {
  content: "";
  position: fixed;
  inset: 0;
}
.fade-in,
.menu-item.visible {
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.modal .ic-penalty::after,
.modal .penalty::after {
  right: 0.8rem;
  bottom: 0.1rem;
  font-size: 0.6rem;
  opacity: 0.7;
  letter-spacing: 0.5px;
  line-height: 1;
  font-weight: 500;
}
#search-container h1,
#viewCounter {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.019);
}
div[data-id="rule-2"] ul,
div[data-id="rule-4"] ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: left;
}
#search-input,
.faq-section,
.fortune-paper,
.org-section,
.review-card,
.review-content,
.top-bar {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.699), rgba(0, 0, 0, 0.735)),
    url("/img/фон.jpg") center/cover no-repeat;
  overflow-y: scroll;
}
body::before {
  background:
    linear-gradient(rgba(0, 0, 0, 0.71), rgba(0, 0, 0, 0.559)),
    url("/img/фон.jpg") center/cover no-repeat;
  z-index: -2;
}
body::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.228),
    rgba(0, 0, 0, 0.324)
  );
  z-index: -1;
  opacity: 1;
}
html {
  scrollbar-width: none;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.content {
  flex-grow: 1;
  width: 100%;
}
.navigation-buttons,
.top-bar {
  align-items: center;
  display: flex;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-down-hint {
  display: flex;
  justify-content: flex-start; 
  margin-left: 95px;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  animation: bounceDown 2.5s ease-in-out infinite;
}
.scroll-down-hint i {
  font-size: 0.85rem;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.footer {
  width: 100%;
  background: 0 0;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.example-label,
div[data-id="rule-6"] ul li {
  text-align: left;
}
.top-bar {
  position: fixed;
  top: 0;
  width: 82.8%;
  z-index: 1000;
  justify-content: space-between;
  background: rgba(170, 170, 170, 0.044);
  border-bottom: 1px solid #ff9e5839;
  backdrop-filter: blur(10px);
  height: 70px;
  padding: 0 20px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}
.logo-img {
  height: 80px;
  margin-left: -10px;
  cursor: pointer;
}
.navigation-buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
}
.dropbtn,
.link-button {
  background: 0 0;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 0.95em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.3s;
}
.dropbtn:hover,
.link-button:hover {
  color: #ffb798;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00000081;
  min-width: 150px;
  border-radius: 8px;
  padding: 10px 0;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}
.dropdown-content a {
  color: #fff;
  padding: 8px 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-content a:hover {
  background-color: #ffd0a980;
}
.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}
.icon {
  width: 20px;
  height: 20px;
}
.mobile-socials {
  display: none;
}
.modal hr,
hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.784),
    transparent
  );
  margin: 32px 0;
}
.modal .link-buttons { margin-top: 15px; }
.modal .link-buttons a {
  display: inline-block;
  margin: 5px;
  padding: 8px 12px;
  background: #ffc398;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.modal .link-buttons a:hover {
  background: #f4a482;
}
.smallp {
  display: block;
  margin-top: -20px;
}
.menu-container {
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  justify-items: center;
  justify-content: center;
  margin-left: 15px;
}
.menu-item:last-child:nth-child(3n),
.menu-item:last-child:nth-child(3n + 1),
.menu-item:last-child:nth-child(3n + 2) {
  grid-column: 2;
}
.menu-item {
  padding: 20px 23px;
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  color: #fefeff;
  cursor: pointer;
  border-radius: 33px;
  background: linear-gradient(
    to right,
    rgba(255, 248, 240, 0.45),
    rgba(255, 237, 220, 0.25)
  );
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 195, 142, 0.444);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.147),
    0 8px 20px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.08);
}
.menu-item .item-number {
  font-weight: 400;
  color: #ffe6d6;
  font-size: 2.5em;
  flex-shrink: 0;
  margin-right: 6px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.107);
}
.menu-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.modal .ic-penalty,
.modal .penalty {
  color: #fff1ef;
  font-size: 0.8rem;
  padding: 0.6rem 0.9rem;
  margin-top: 2px;
  transition: 0.3s;
  display: inline-block;
  font-weight: 600;
  position: relative;
}
.menu-item:hover {
  background: linear-gradient(
    to right,
    rgba(255, 251, 245, 0.6),
    rgba(255, 240, 225, 0.35)
  );
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.5),
    0 12px 25px rgba(0, 0, 0, 0.12);
  transform: scale(1.05);
}
.modal::-webkit-scrollbar {
  width: 10px;
}
.modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.modal {
  scroll-behavior: smooth !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.1);
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.096);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 32px 42px;
  border-radius: 30px;
  box-shadow: inset 0 0 40px 10px rgba(255, 221, 191, 0.052);
  z-index: 1502;
  width: 500px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
  animation: 0.35s cubic-bezier(0.4, 0, 0.2, 1) modalFade;
  border-top: 1px solid rgba(255, 255, 255, 0.366);
  border-bottom: 1px solid rgba(255, 255, 255, 0.348);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.416);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1501;
  cursor: pointer;
}
.overlay,
.photo-modal {
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
}
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.modal h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  text-align: right;
}
.modal h3,
.modal p {
  margin-bottom: 16px;
  text-align: right;
}
.modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 24px;
  color: #fff;
}
.modal p,
.modal ul li {
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.modal p {
  color: rgba(255, 255, 255, 0.975);
}
.modal ul li {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 100px;
  margin-bottom: 5px !important;
}
.modal ul {
  margin-bottom: 20px;
  list-style-type: disc;
}
.modal ul li:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}
.modal .penalty {
  background: rgba(255, 72, 72, 0.238);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(255, 72, 72, 0.171);
  border-bottom: 1px solid #c2101043;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.modal .penalty::after {
  content: "non-rp";
  position: absolute;
}
.modal .penalty:hover {
  box-shadow: 0 12px 28px rgba(255, 72, 72, 0.35);
}
.modal .ic-penalty {
  background: rgba(250, 121, 41, 0.322);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(255, 129, 56, 0.171);
  border-bottom: 1px solid #e6541550;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.modal .ic-penalty::after {
  content: "rp";
  position: absolute;
}
.modal .ic-penalty:hover {
  box-shadow: 0 12px 28px rgba(255, 139, 72, 0.35);
}
.modal a.button {
  display: inline-block;
  text-decoration: none;
  transition:
    transform 0.3s,
    background-color 0.3s;
  font-weight: 600;
  color: #fff;
  border-radius: 20px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.modal a.button:hover {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.25);
}
.modal img {
  max-width: 100%;
  max-height: 80vh;
  cursor: normal;
  border-radius: 20px;
}
#modalShareLink button.copy-link-btn {
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-image: url("/img/copy-link.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.2s;
}
#modalShareLink button.copy-link-btn.copied {
  background-image: url("/img/check.png");
}
#modalShareLink button:hover,
.feedback-button:hover {
  transform: scale(1.1);
}
.modal .close {
  font-size: 2em;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  transition: 0.2s;
  top: 25px;
  right: 54px;
}
.modal .close:hover {
  color: #ff938e;
  transform: scale(1.2);
}
h2[data-rule-number]::before {
  content: "Пункт " attr(data-rule-number);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.248);
  border-bottom: 1px solid rgba(255, 255, 255, 0.252);
  margin-bottom: 0.5em;
  background: rgba(0, 0, 0, 0.053);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 4px 12px rgba(255, 255, 255, 0.105);
  position: relative;
  top: -30px !important;
  text-align: center !important;
}
#modalShareLink button,
.modal .close {
  position: absolute;
  z-index: 10;
}
#modalShareLink button {
  top: 19px;
  left: 40px;
}
.example-bad,
.example-good {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 16px 20px;
  font-weight: 500;
  font-size: 0.9em;
  color: #fff;
  margin: 20px 10px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 6px solid transparent;
  overflow: hidden;
  position: relative;
}
.example-bad:hover,
.example-good:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.example-good {
  background: linear-gradient(
    135deg,
    rgba(111, 206, 151, 0.25),
    rgba(111, 206, 151, 0.15)
  );
  border-left-color: #57a059ad;
}
.example-bad {
  background: linear-gradient(
    135deg,
    rgba(239, 83, 80, 0.25),
    rgba(239, 83, 80, 0.15)
  );
  border-left-color: #d32f2fa7;
}
.example-bad .content-row,
.example-good .content-row {
  position: relative;
  padding-left: 60px;
  text-align: left;
  line-height: 1.5;
}
.example-bad .content-row::before,
.example-good .content-row::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition:
    background 0.3s,
    color 0.3s;
}
.example-good .content-row::before {
  content: "✓";
  color: #2e7d32;
}
.example-bad .content-row::before {
  content: "✕";
  color: #b71c1c;
}
.example-label {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.example-label br + span {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
}
.header small {
  font-size: 0.5em;
  opacity: 0.8;
}
.overlay {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.special-link,
.special-link:hover {
  text-decoration: underline !important;
  background: 0 0 !important;
  transform: none !important;
  font-size: inherit !important;
}
.special-link {
  all: unset;
  color: #00f !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.event-button,
.feedback-button,
.org-dropdown-item,
.org-section a,
.role-info a,
.telegram-btn {
  text-decoration: none;
}
#viewCounter,
.photo-of-the-week {
  font-family: Montserrat, sans-serif;
}
.special-link:hover {
  color: #5a5aff !important;
}
.photo-of-the-week h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.gallery {
  display: flex;
  gap: 15px;
  width: 100%;
  align-items: stretch;
  flex-direction: column;
}
.photo-of-the-week {
  max-width: 400px;
  margin: 0;
  padding: 30px 20px;
}
.photo {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.25);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  position: relative;
}
.photo:hover {

  box-shadow: 0 0 4px rgba(255, 255, 255, 0.364);
}
.photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 350px;
  transition: transform 0.5s;
}
.photo:hover img {
  cursor: zoom-in;
}


.photo-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}
.event-button,
.photo-close {
  position: absolute;
  font-weight: 700;
}
.photo-modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: 0.4s zoomIn;
}
@keyframes zoomIn {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}
.photo-close {
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 60px;
  cursor: pointer;
  transition: color 0.3s;
}
.photo-close:hover {
  color: #f44;
}
.event-button {
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #ff9e58;
  width: 31px;
  height: 31px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 53px;
  transition: 0.2s;
  border: 1px solid rgba(220, 91, 48, 0.929);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.event-button:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #ff6200;
  box-shadow: 0 8px 20px rgba(234, 148, 102, 0.3);
  border-color: transparent;
}
.org-section {
  margin-top: 32px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.org-dropbtn,
.org-dropdown-item {
  padding: 16px 20px;
  cursor: pointer;
}
.org-section:hover {
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}
.org-section h2 {
  margin-bottom: 16px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.24px;
  line-height: 1.2;
}
.org-section .pnaz,
.org-section p {
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}
.org-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  text-align: left;
}
.org-section .pnaz {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  text-align: center;
}
.org-dropdown {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-left: 210px;
  width: 50%;
}
.org-dropbtn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 26px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
  transition: 0.2s;
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.org-dropbtn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.org-dropbtn::after {
  content: "▼";
  font-size: 0.75rem;
  margin-left: 8px;
  transition: transform 0.25s;
  opacity: 0.8;
}
.mobile-category-btn.active .dropdown-arrow,
.org-dropdown.active .org-dropbtn::after {
  transform: rotate(180deg);
}
.org-dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  min-width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  z-index: 1000;
  margin-top: 8px;
  overflow: hidden;
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.org-dropdown.active .org-dropdown-content,
.org-tab-content .rank-content.active {
  display: block;
}
.org-dropdown-item {
  color: #1d1d1f;
  display: block;
  transition: 0.15s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 400;
}
.org-dropdown-item:last-child {
  border-bottom: none;
}
.org-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.org-tab-content {
  margin-top: 24px !important;
  display: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 20px;
  max-width: 740px;
  margin-inline: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.25s;
  color: #fff;
}
.org-tab-content.active {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.408);
}
.org-tab-content h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}
.org-tab-content h1::after,
.org-tab-content h2::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
}
.org-tab-content h1 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}
.org-content .penalty,
.org-section a {
  font-weight: 500;
  display: inline-block;
}
.org-section table,
.org-tab-content .rank-table-blue,
.org-tab-content.nabs .rank-table-yellow,
.org-tab-content.nabs table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.org-tab-content .rank-table-blue thead th {
  background-color: rgba(0, 64, 128, 0.9);
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 14px 16px;
}
.org-section table td,
.org-section table th,
.org-tab-content .rank-table-blue td,
.org-tab-content .rank-table-blue th,
.org-tab-content.nabs td,
.org-tab-content.nabs th {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 14px;
  vertical-align: middle;
  text-align: center;
  color: #1d1d1f;
}
.org-section table tbody tr:hover,
.org-tab-content .rank-table-blue tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}
.note {
  background: rgba(232, 240, 254, 0.9);
  padding: 16px 20px;
  border-left: 4px solid #4285f4;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1d1d1f;
}
.org-tab-content .rank-title {
  font-size: 0.95rem;
  margin-top: 16px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 104, 183, 0.9);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  transition: 0.2s;
}
.org-tab-content .rank-title:hover {
  background: #1a68b7;
}
.org-tab-content .rank-content {
  border: 1px solid rgba(26, 104, 183, 0.3);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: rgba(249, 250, 255, 0.95);
  padding: 18px 22px;
  display: none;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1d1d1f;
}
.org-tab-content.nabs .rank-table-yellow thead th {
  background-color: rgba(255, 217, 0, 0.9);
  color: #000;
  text-align: center;
  font-weight: 600;
  padding: 14px 16px;
}
.org-tab-content.nabs .rank-title {
  background: rgba(255, 220, 21, 0.9);
  color: #000;
}
.org-tab-content.nabs .rank-title:hover {
  background: #ffdc15;
}
.org-tab-content.nabs .rank-content {
  border-color: rgba(216, 196, 12, 0.3);
  background: rgba(249, 250, 255, 0.95);
}
.org-section a {
  all: unset;
  cursor: pointer;
  color: inherit;
  transition: opacity 0.2s;
  padding: 2px 4px;
  border-radius: 4px;
}
.faq-section a,
div[data-id="rule-28"] a {
  all: unset;
  transition:
    transform 0.25s,
    color 0.25s,
    background-color 0.25s;
}
.org-section a:hover {
  opacity: 0.8;
}
.org-section .dsns a {
  color: #ff6b6b;
}
.org-section .adac a {
  color: #ffd93d;
}
.org-content .penalty {
  background: rgba(255, 107, 107, 0.2);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  margin-top: 8px;
  transition: 0.2s;
}
.org-content .penalty:hover {
  background: rgba(255, 107, 107, 0.3);
  transform: translateY(-1px);
}
#search-container {
  max-width: 1100px;
  margin: 22px auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
}
#search-container h1 {
  margin: 0;
  white-space: nowrap;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center !important;
  width: auto;
  color: #fff;
  border-radius: 12px;
}
#search-input {
  width: 100%;
  max-width: 210px;
  padding: 12px 15px 12px 40px;
  font-size: 1.1em;
  border-radius: 20px;
  border: 1px solid #ccc;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-style: italic;
  margin-top: 0;
  background-image: url("/img/лупа-сайт.png");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 20px 20px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
#search-input:not(:placeholder-shown) {
  font-style: normal;
}
#search-input:focus {
  border-color: #ffb980;
  outline: 0;
  box-shadow: 0 0 10px rgba(146, 142, 255, 0.642);
}
#search-results {
  display: none;
  margin-top: 10px;
  text-align: left;
  max-height: 200px;
  overflow-y: auto;
  color: #000000fa;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.highlighted {
  text-shadow:
    0 0 6px rgba(252, 162, 60, 0.975),
    0 0 10px #ffa162;
}
#search-results div {
  cursor: pointer;
  padding: 8px 12px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  border-radius: 12px;
  transition: background-color 0.2s;
}
#search-results div:hover {
  background-color: #f5f5f5;
}
#viewCounter {
  font-weight: 500;
  position: fixed;
  bottom: 10px;
  right: 55px;
  background: url("/img/visibility.png") 8px center/18px 18px no-repeat;
  color: #fff;
  padding: 6px 10px 6px 32px;
  border-radius: 6px;
  font-size: 18px;
  z-index: 1503;
}
div[data-id="rule-2"] ul {
  margin-left: 0;
}
.lgbt-heart {
  background: linear-gradient(
    90deg,
    #ff2424,
    #ff8c00,
    #ffca0b,
    #008026,
    #004dff,
    #750787
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 1em;
  font-weight: 700;
  text-shadow: none !important;
}
.review-section {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.review-container {
  position: relative;
  border-radius: 28px;
  padding: 40px 50px;
  min-height: 240px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.review-card {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: absolute;
  left: 0;
  top: 0;
  padding: 30px 40px;
}
.review-card.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.review-content {
  position: relative;
  background: rgba(255, 255, 255, 0.184);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 28px 22px 14px 80px;
  border-radius: 32px;
  width: 100%;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #fed;
}
.review-avatar-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  backdrop-filter: blur(10px);
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(167, 104, 15, 0.134);
  z-index: 2;
}
.arrow-button,
.feedback-button {
  position: fixed;
  color: #fff;
  cursor: pointer;
}
.review-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffeddd;
  display: block;
}
.review-content h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-content h4 .review-date {
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(214, 204, 204, 0.6);
  margin-left: 10px;
  white-space: nowrap;
}
.review-content p {
  margin-top: 8px;
  font-size: 0.96rem;
  color: #fff;
  line-height: 1.45;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.133);
}
.arrow-button {
  top: 60%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition:
    transform 0.3s,
    background 0.3s;
  z-index: 20;
  user-select: none;
  background: rgba(255, 255, 255, 0.342);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(255, 254, 254, 0.112);
}
.arrow-button:hover {
  transform: translateY(-50%) scale(1.15);
  background: rgba(255, 255, 255, 0.3);
}
.arrow-prev {
  left: 150px;
}
.arrow-next {
  right: 150px;
}
.stars {
  margin-top: 10px;
  font-size: 1.25rem;
  user-select: none;
}
.stars .star {
  color: #d1d1d6;
  margin-right: 4px;
}
.stars .star.filled {
  color: #ffd65c;
}
.feedback-button {
  right: 20px;
  top: 20px;
  padding: 12px 20px;
  background: #c898ff;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: inline-block;
  transform-origin: center center;
  animation: 2s ease-in-out infinite bounceTilt;
  transition: transform 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.23);
}
.faq-title,
.parent {
  position: relative;
}
@keyframes bounceTilt {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-6px) rotate(-2deg);
  }
  40%,
  80% {
    transform: translateY(0) rotate(1deg);
  }
  60% {
    transform: translateY(-4px) rotate(-1deg);
  }
}
hr.reg {
  border: none;
  height: 3px;
  background-color: #ababab;
  margin: 20px 0;
  border-radius: 2px;
}
div[data-id="rule-28"] a {
  cursor: pointer;
  display: inline-block;
  outline: transparent solid 1px;
  will-change: transform, color, background-color;
  padding: 2px 4px;
  border-radius: 2px;
  text-decoration: underline;
}
div[data-id="rule-28"] a:hover {
  background-color: rgba(0, 0, 0, 0.058);
}
div[data-id="rule-4"] h4 {
  margin-right: 170px;
}
div[data-id="rule-4"] ul {
  width: fit-content;
}
div[data-id="rule-4"] li {
  padding-left: 0;
}
.faq-section {
  max-width: 800px;
  margin: auto;
  width: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
    sans-serif;
}
.faq-section a {
  cursor: pointer;
  display: inline-block;
  color: #fdad73;
  font-weight: 500;
  border-radius: 8px;
  padding: 2px 6px;
}
.faq-section a:hover {
  background-color: rgba(255, 136, 0, 0.08);
  transform: translateY(-1px);
}
.faq-item {
  margin-bottom: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.134);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: 0.35s;
  border: 1px solid rgba(255, 255, 255, 0.199);
}
.faq-item:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  background: 0 0;
  border: none;
  cursor: pointer;
  color: #efefef;
  transition: color 0.25s;
}
.faq-title,
.fortune-paper {
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}
.faq-question:focus-visible,
.faq-question:hover {
  color: #ffe0bc;
  outline: 0;
}
.faq-icon {
  font-size: 1.4rem;
  color: #dedede;
  transition:
    transform 0.3s,
    color 0.3s;
  width: 1.6rem;
  text-align: center;
}
.faq-item.open .faq-icon {
  transform: rotate(90deg);
  color: #ff9e58;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
  transition:
    max-height 0.4s,
    padding 0.4s;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.114);
}
#fortuneText,
.fortune-paper {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-title {
  font-size: 3.5rem;
  text-align: center;
  color: #fff;
  padding: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.49);
}
.faq-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: #f85;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: 1.2s ease-in-out forwards fadeInLine;
}
@keyframes fadeInLine {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 60px;
    opacity: 1;
  }
}
.fortune-cookie {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  cursor: pointer;
  transition: transform 0.3s;
  z-index: 1500;
}
.fortune-cookie:active {
  transform: translateY(-50%) scale(0.9) rotate(-10deg);
}
.fortune-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.fortune-paper {
  background: url("/img/fortune-paper.webp") center/contain no-repeat;
  color: #4b2e0d;
  padding: 100px 120px;
  width: 1000px;
  max-height: 900px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: rotateX(90deg) scale(1);
  opacity: 0;
  animation: none;
  box-shadow: none;
  border-radius: 0;
  z-index: 10000;
}
.container,
.mobile-category-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
#fortuneText {
  max-width: 300px;
  margin: 0 auto;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.27);
}
@keyframes unroll {
  0% {
    transform: rotateX(90deg) scale(0.5);
    opacity: 0;
  }
  60% {
    transform: rotateX(-20deg) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: rotateX(0) scale(1);
    opacity: 1;
  }
}
.youtube {
  width: 20px !important;
  height: 24px !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  cursor: pointer !important;
}
.container,
.role,
.roles {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}
.container {
  max-width: 852px;
  width: 100%;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px 48px;
  margin: 20px auto;
  backdrop-filter: blur(28px) saturate(180%);
  display: flex;
  flex-direction: column;
  font-family: "SF Pro", "Segoe UI", sans-serif;
  font-weight: 500;
  animation: 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards appearRotateScale;
}
.telegram-btn,
.welcome-section {
  font-family: Montserrat, sans-serif;
}
.container:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.44) !important;
}
@keyframes appearRotateScale {
  0% {
    opacity: 0;
    transform: scale(0.85) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0);
  }
}
.mobile-category-selector {
  display: none;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.mobile-category-btn {
  width: 70%;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 26px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  backdrop-filter: blur(12px);
  margin: 0 auto;
}
.mobile-category-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.dropdown-arrow {
  transition: transform 0.3s;
  font-size: 0.9rem;
}
.category,
.mobile-category-item {
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
}
.mobile-categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.359);
  border-radius: 16px;
  margin-top: 8px;
  padding: 10px 0;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 300px;
  overflow-y: auto;
}
.role,
.role-info a,
.tab-btn {
  position: relative;
}
.mobile-categories-dropdown.show {
  display: block;
  animation: 0.3s fadeInUp;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-category-item {
  position: relative;
  padding: 14px 20px;
  transition: 0.2s;
  border-left: 3px solid transparent;
}
.mobile-category-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: rgba(255, 255, 255, 0.136);
}
.role-info a::after,
.role::before {
  content: "";
  position: absolute;
  left: 0;
}
.mobile-category-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #ff9e58;
}
.mobile-category-item.active {
  background: rgba(145, 128, 255, 0.185);
  border-left-color: #ff9e58;
  color: #fff;
}
.role:hover,
.role:hover .avatar {
  border-color: rgba(255, 255, 255, 0.3);
}
.layout-wrapper {
  display: flex;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.desktop-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 220px;
}
.role,
.welcome-text h1 {
  margin-bottom: 20px;
  overflow: hidden;
}
.category {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px;
  border-radius: 22px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  transition: 0.25s;
}
.category .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 8px;
  transition: 0.3s;
}
.role,
.role .avatar {
  transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.category.active .dot {
  background: #ff9e58;
  transform: scale(1.4);
}
.category:hover {
  background: rgba(255, 255, 255, 0.18);
}
.category:hover .dot {
  background: #ffaf76;
}
.roles {
  flex: 1;
  max-width: 600px;
  animation: 0.4s forwards appearRotateScale;
  scroll-behavior: smooth;
}
.role {
  border: 1px solid rgba(255, 255, 255, 0.268);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  padding: 24px 32px;
  border-radius: 26px;
  cursor: auto;
  color: #fff;
}
.role::before {
  top: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}
.role:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.18),
    0 0 40px rgba(255, 193, 123, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.role-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.role .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.role:hover .avatar {
  box-shadow: 0 12px 32px rgba(255, 196, 124, 0.4);
  transform: scale(1.05);
}
.role-info {
  flex: 1;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.5;
}
.role-info a {
  color: #ff9e58;
  font-weight: 600;
  transition: 0.3s;
}
.role-info a::after {
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #faa76b;
  transition: width 0.3s;
}
.role-info a:hover {
  color: #fa934a;
}
.role-info a:hover::after {
  width: 100%;
}
.role-status {
  margin-top: 8px;
  font-size: 0.92rem;
  font-style: italic;
  color: #ffbf91;
  font-weight: 500;
}
.welcome-section {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
  padding: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 30px auto auto;
}
.welcome-text {
  max-width: 600px;
}
.welcome-text h1 {
  font-size: 2.5rem;
  color: #fff;
  border-right: 0.15em solid #f85;
  white-space: nowrap;
  letter-spacing: 0.05em;
  display: inline-block;
  animation:
    2s steps(21, end) typing,
    0.75s step-end infinite blink-caret;

}

.welcome-text .highlight {
  color: #f85;
}
.welcome-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #ddd;
  margin-top: 20px;
  opacity: 0;
  animation: 2s 2s forwards fadeIn;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 21ch;
  }
}
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #f85;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(-50px);
  animation: 0.8s ease-out forwards slideIn;
}
.tab-buttons,
.tab-content {
  backdrop-filter: blur(12px);
  display: flex;
}
.pv-container p,
.pv-input,
.pv-select,
.pv-select option {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif;
  font-weight: 500;
}
.telegram-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 136, 204, 0.2);
}
.telegram-btn:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 5px 20px rgba(0, 136, 204, 0.1);
}
.telegram-logo {
  width: 26px;
  height: 26px;
  transition: transform 0.3s;
}
.telegram-btn:hover .telegram-logo {
  transform: rotate(15deg);
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.tab-container {
  display: flex;
  width: 100%;
  max-width: 1270px;
  border-radius: 20px;
}
.tab-buttons {
  flex-direction: column;
  gap: 15px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.104);
  border: 1px solid #ff9e5839;
  box-shadow:
    inset 2px 0 8px rgba(255, 255, 255, 0.058),
    4px 0 12px rgba(0, 0, 0, 0.051);
  align-self: flex-start;
  border-radius: 22px 0 22px 22px;
  flex-shrink: 0;
}
.tab-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border: none;
  border-radius: 16px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s,
    background 0.35s;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}
.tab-btn::before,
.tab-panel {
  position: absolute;
  opacity: 0;
}
.tab-btn::before {
  content: "";
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8af81, #c76033);
  transition: opacity 0.35s;
}
.tab-btn:hover {
}
.tab-btn:hover::before {
  opacity: 0.25;
}
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #ea9966, #c24d1b);
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 4px rgba(255, 255, 255, 0.35);
}
.tab-content {
  flex: 1;
  padding: 20px;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.053),
    0 20px 40px rgba(0, 0, 0, 0.063),
    0 8px 24px rgba(0, 0, 0, 0.045);
  border: 1px solid #ff9e5839;
  border-radius: 0 26px 26px;
  width: 100%;
}
.tab-panel {
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.45s,
    transform 0.45s,
    max-height 0.45s;
  pointer-events: none;
  visibility: hidden;
}
.pv-button,
.pv-input,
.pv-select {
  color: #fff;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-panel.active {
  opacity: 1;
  max-height: none;
  transform: translateY(0);
  pointer-events: auto;
  position: static;
  visibility: visible;
  overflow: visible;
}
.pv-container {
  max-width: 852px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  padding: 36px 44px;
  margin: 20px auto;
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #fff;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.226);
  animation: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards appearScale;
}
.pv-container:hover {
  transition: 0.3s;
}
.pv-container p {
  width: 100%;
  margin: 0 0 28px;
  color: #d7d7d7;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  letter-spacing: -0.01em;
}
.pv-input,
.pv-select {
  margin: 8px;
  padding: 16px 20px;
  border-radius: 19px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.129);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.604);
}
.pv-input {
  background: rgba(255, 255, 255, 0.329);
}
.pv-select {
  background: rgba(255, 255, 255, 0.449);
}
.pv-input:focus,
.pv-select:focus {
  outline: 0;
  border-color: #ffc194;
  box-shadow:
    0 6px 20px rgba(255, 213, 169, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}
.pv-input::placeholder {
  color: rgba(255, 255, 255, 0.752);
  font-weight: 500;
}
.pv-button {
  background: linear-gradient(135deg, #f8af81, #c76033);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 219, 169, 0.4);
  padding: 15px 22px;
  font-size: 16px;
  border: none;
  border-radius: 18px;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  margin-left: 6px;
}
.pv-button:hover {
  background: linear-gradient(135deg, #f0a46e, #e97d4f);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 25px rgba(255, 221, 169, 0.5);
}
.pv-button:active {
  transform: translateY(0) scale(1);
}
.pv-select option {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
}
.pv-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 36px;
  backdrop-filter: blur(50px) saturate(160%);
  -webkit-backdrop-filter: blur(50px) saturate(160%);
  box-shadow:
    0 0 50px 12px rgba(169, 169, 255, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
}
#pv-modal-content {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#pv-modal-content::-webkit-scrollbar {
  width: 6px;
}
#pv-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}
.pv-close-btn {
  flex: 0 0 auto;
}
.pv-close-btn,
.pv-modal-link-button {
  color: #fff;
  font-weight: 600;
  width: 100%;
}
.pv-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.pv-modal h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  letter-spacing: -0.02em;
}
.pv-modal-link-button {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(135deg, #ff9e58, #fa8e41);
  padding: 16px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 15px;
  text-align: left;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(169, 169, 255, 0.4);
  letter-spacing: -0.01em;
}
.pv-modal-link-button:hover {
  background: linear-gradient(135deg, #f39f62, #f49b5b);
  box-shadow: 0 12px 25px rgba(169, 169, 255, 0.5);
}
.pv-close-btn {
  background: rgba(255, 209, 169, 0.9);
  padding: 12px 24px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.25s;
  margin-top: 12px;
  backdrop-filter: blur(20px);
}
.pv-close-btn:hover {
  background: #ffc4a9;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(255, 215, 169, 0.4);
}
@keyframes appearScale {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.pv-modal p {
  color: #f3f3f3;
  line-height: 1.6;
  font-size: 15px;
  text-align: left;
  margin-bottom: 8px;
}
.pv-input:not(:placeholder-shown) {
  background: rgba(255, 255, 255, 0.45);
}
@media (max-width: 768px) {
  .burger,
  .navigation-buttons {
    flex-direction: column;
    position: fixed;
  }
  .menu-container,
  .modal,
  .navigation-buttons {
    box-sizing: border-box;
  }
  .org-section ul,
  .org-tab-content ul {
    list-style-type: disc !important;
  }
  .logo-img {
    margin-top: 0;
    height: 50px;
    margin-left: 0;
  }
  .navigation-buttons {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    top: 0;
    right: 0;
    width: 280px;
    height: 101vh;
    background: rgba(0, 0, 0, 0.863);
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    padding: 100px 20px 40px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    overflow-y: auto;
    z-index: 1099 !important;
  }
  .fortune-paper,
  .gallery {
    background-color: transparent !important;
  }
  .tab-container,
  .tab-panel.active {
    overflow: visible !important;
  }
  .navigation-buttons.show {
    display: flex;
    transform: translateX(0);
  }
  .burger {
    display: flex;
    justify-content: space-between;
    width: 32px;
    height: 20px;
    cursor: pointer;
    top: 20px;
    right: 15px;
    z-index: 1100 !important;
  }
  .burger span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    background: #fff;
    transition: 0.3s;
  }
  .burger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .fortune-backdrop,
  .navigation-buttons,
  .pc-only {
    display: none;
  }
  .mobile-socials {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .mobile-socials a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
  }
  .mobile-socials a:hover {
    color: #ff7b1d;
  }
  .menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0 10px;
  }
  .menu-item {
    padding: 16px 12px !important;
    max-width: 260px !important;
    gap: 4px !important;
    font-size: 1.1rem !important;
    border-radius: 25px !important;
  }
  .header {
    font-size: 2em;
    margin-top: 20px;
  }
  .header small {
    font-size: 0.35em;
  }
  .modal {
    width: 90vw !important;
    padding: 20px 25px;
    max-height: 90vh;
  }
  .modal h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-bottom: 6px;
  }
  .modal h3,
  .modal p {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  .modal h3 {
    margin-top: 18px;
  }
  .modal hr {
    margin: 24px 0;
  }
  .modal ul {
    padding-left: 1.1rem;
    margin-bottom: 16px;
    font-size: 0.9rem;
  }
  .modal ul li {
    margin-bottom: 8px;
    margin-left: 5px !important;
  }
  .modal img {
    cursor: default !important;
  }
  h2[data-rule-number]::before,
  h2[data-rule-number][data-section]::before {
    position: relative;
    top: -20px !important;
  }
  #modalShareLink button,
  .modal .close {
    position: absolute;
    z-index: 10;
  }
  #modalShareLink button {
    top: 11px;
    left: 20px;
  }
  .modal .close {
    top: 16px;
    right: 35px;
  }
  .logo {
    margin: 0;
    margin-left: 5px;
  }
  #search-container {
    margin: 15px auto;
    padding: 0 10px;
    gap: 15px;
  }
  .step img {
    width: 100% !important;
    max-width: 100% !important;
  }
  .step h4 {
    font-size: 13px !important;
  }
  #search-input {
    max-width: 60% !important;
    font-size: 1em;
    padding: 10px 12px 10px 38px;
    background-size: 18px 18px;
    background-position: 8px center;
  }
  #search-results {
    font-size: 0.95em;
  }
  #viewCounter {
      padding: 4px 6px 4px 24px !important;
      font-size: 11px !important;
      bottom: 5px !important;
      right: 60px !important;
      background-size: 12px 12px !important;
      background-position: 6px center !important;
    }
  #search-container h1 {
    font-size: 1.7rem !important;
    white-space: normal !important;
    word-break: break-word;
    margin-bottom: 8px;
  }
  .example-bad,
  .example-good {
    padding: 12px 14px;
    font-size: 0.9em;
    border-left-width: 4px;
  }
  .example-bad .content-row::before,
  .example-good .content-row::before {
    width: 22px;
    height: 22px;
    font-size: 1.1em;
  }
  .example-label {
    font-size: 0.75em;
    margin-top: 10px;
    text-align: left;
  }
  .example-bad .content-row,
  .example-good .content-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .gallery {
    flex-direction: column;
    align-items: center !important;
  }
  .photo {
    margin-top: 0 !important;
    width: 300px;
  }
  .photo img {
    width: 100%;
  }
  .top-bar {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    border-radius: 0 0 20px 20px;
  }
  .photo img {
    max-height: none;
    height: auto;
  }
  .photo-of-the-week h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
  }
  .photo-of-the-week {
    margin-top: 30px !important;
  }
  #fixed-update-label {
    bottom: 10px;
    left: 5px;
    font-size: 10px;
    opacity: 1;
    z-index: 1498;
  }
  .footer {
    font-size: 11px;
    padding: 8px 10px;
    margin-top: 15px;
  }
  body,
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  body::after {
    content: "";
    display: block;
    height: 0;
    background: 0 0;
  }
  .review-section {
    padding: 0 10px !important;
    max-width: 100% !important;
  }
  .review-card,
  .review-container {
    padding: 20px 25px !important;
  }
  .review-container {
    min-height: 200px !important;
  }
  .review-content {
    padding: 20px 16px 12px 60px !important;
    border-radius: 24px !important;
  }
  .review-avatar-wrapper {
    width: 50px !important;
    height: 50px !important;
    top: 10px !important;
    left: 10px !important;
  }
  .review-content h4,
  .stars {
    font-size: 1rem !important;
  }
  .review-content h4 .review-date {
    font-size: 0.75rem !important;
  }
  .review-content p {
    font-size: 0.88rem !important;
  }
  .arrow-button {
    top: 100% !important;
    position: fixed !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
  .arrow-prev {
    left: 110px !important;
  }
  .arrow-next {
    right: 110px !important;
  }
  .feedback-button {
    margin-top: -10px !important;
  }
  .faq-section {
    padding: 30px 15px;
  }
  .faq-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px;
    padding-bottom: 8px;
  }
  .faq-title::after {
    width: 40px;
    height: 3px;
  }
  .faq-question {
    padding: 14px 18px;
    font-size: 1rem;
  }
  .faq-icon {
    font-size: 1.4rem;
    width: 1.4rem;
  }
  .faq-answer {
    padding: 0 18px;
    font-size: 0.9rem;
  }
  .faq-section a {
    font-size: 0.95rem;
    padding: 1px 3px;
  }
  .faq-item {
    border-radius: 10px;
  }
  .fortune-cookie {
    position: fixed !important;
    right: 50% !important;
    bottom: auto !important;
    top: 12px !important;
    transform: translateX(50%) !important;
    width: 37px !important;
    height: 37px !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 30px !important;
    box-sizing: border-box !important;
    z-index: 1098 !important;
    touch-action: manipulation;
    cursor: pointer;
  }
  .fortune-cookie:active {
    transform: scale(0.9) rotate(-10deg);
  }
  .fortune-paper {
    padding: 70px 60px !important;
    width: 120vw !important;
    max-height: 80vh !important;
    border-radius: 12px !important;
    transform: rotateX(0) scale(1) !important;
    opacity: 1 !important;
  }
  #fortuneText {
    max-width: 80% !important;
    padding: 0 10px !important;
    font-size: 0.95rem !important;
  }
  .welcome-section {
    margin-top: 70px !important;
    flex-direction: column !important;
    padding: 20px !important;
    text-align: left !important;
  }
  .welcome-text {
    padding-right: 0 !important;
  }
  .welcome-text h1 {
    font-size: 1.5rem !important;
  }
  .welcome-text p {
    font-size: 0.8rem !important;
    margin-top: 5px !important;
  }
  .tab-container {
    flex-direction: column !important;
    width: 95% !important;
    max-width: 400px !important;
    border-radius: 16px !important;
    margin: 30px auto !important;
  }
  .modal .search-input,
  .roles,
  .search {
    max-width: 100% !important;
  }
  .tab-btn,
  .tab-buttons {
    display: flex !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .tab-buttons {
    flex-direction: row !important;
    width: 100% !important;
    padding: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 16px 16px 0 0 !important;
    gap: 8px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }
  .tab-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 1.1rem !important;
    border-radius: 14px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .tab-content,
  .tab-panel,
  .tab-panel.active {
    width: 100% !important;
  }
  .layout-wrapper,
  .pv-container {
    flex-direction: column !important;
  }
  .tab-content {
    padding: 20px 15px !important;
    border-radius: 0 0 16px 16px !important;
    min-height: 150px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow: hidden !important;
  }
  .org-section h2,
  .org-section h3,
  .org-section p,
  .role-inner {
    text-align: center !important;
  }
  .tab-panel {
    box-sizing: border-box !important;
  }
  h1.main {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
  }
  .photo-close {
    top: 120px;
    right: 20px;
  }
  .feedback-button {
    right: 10px !important;
    top: 80px !important;
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
  }
  .telegram-btn {
    margin-top: 0 !important;
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 20px !important;
  }
  .pv-input,
  .pv-select {
    font-size: 14px !important;
  }
  .telegram-logo {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
  }
  .pv-container {
    width: 88% !important;
    padding: 12px 10px !important;
    margin: 12px !important;
    gap: 6px !important;
    border-radius: 22px !important;
  }
  .modal .search-input,
  .pv-button,
  .pv-input,
  .pv-select {
    padding: 10px 12px !important;
  }
  .pv-button,
  .pv-input,
  .pv-modal,
  .pv-modal-link-button,
  .pv-select,
  .search input {
    border-radius: 16px !important;
  }
  .pv-container p {
    font-size: 0.9rem !important;
    margin-bottom: 16px !important;
  }
  .org-section h2,
  .org-tab-content h2,
  .pv-modal h2 {
    margin-bottom: 12px !important;
  }
  .pv-select {
    width: 100% !important;
    margin: 4px 0 !important;
  }
  .pv-input {
    width: 50% !important;
    margin: 4px 0 4px 35px !important;
  }
  .pv-button {
    margin: 4px 0 4px 6px !important;
    font-size: 15px !important;
  }
  .pv-modal {
    width: 75% !important;
    padding: 16px !important;
  }
  .pv-modal h2 {
    font-size: 18px !important;
  }
  .pv-modal-link-button {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }
  .pv-close-btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }
  .code-block,
  .search input {
    padding: 14px 16px !important;
  }
  .code-block {
    margin: 10px 0 !important;
    border-radius: 10px !important;
    font-size: 0.9em !important;
  }
  .modal .search-container {
    margin: 30px 0 !important;
  }
  .modal .search-input {
    width: 60% !important;
    font-size: 0.9em !important;
  }
  .no-results {
    font-size: 1.1em !important;
    margin: 20px 0 40px !important;
  }
  .container {
    padding: 26px 18px !important;
    border-radius: 28px !important;
    margin: 32px auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .org-dropdown,
  .search input {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .layout-wrapper {
    gap: 20px !important;
    width: 100% !important;
  }
  .mobile-category-selector {
    display: block !important;
    z-index: 5 !important;
  }
  .desktop-categories {
    display: none !important;
  }
  .mobile-categories-dropdown {
    position: relative !important;
    width: 100% !important;
    margin-top: 10px !important;
    border-radius: 14px !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    padding: 10px 0 !important;
  }
  .roles {
    width: 100% !important;
    padding-top: 10px !important;
  }
  .search {
    width: 100% !important;
    margin-bottom: 18px !important;
  }
  .search input {
    margin-top: 20px !important;
    box-sizing: border-box !important;
  }
  .role {
    padding: 18px !important;
    border-radius: 26px !important;
    margin-bottom: 16px !important;
  }
  .org-dropbtn,
  .org-section {
    border-radius: 20px !important;
  }
  .role-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .role .avatar {
    width: 72px !important;
    height: 72px !important;
  }
  .role-info {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }
  .org-section {
    margin-top: 24px !important;
    padding: 24px 16px !important;
    margin-inline: 16px !important;
    max-width: calc(100% - 32px) !important;
    backdrop-filter: blur(30px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
  }
  .org-dropbtn,
  .org-dropdown-item {
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
  }
  .org-section:hover {
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  }
  .org-section h2 {
    font-size: 1.5rem !important;
    letter-spacing: -0.2px !important;
  }
  .org-section h3 {
    font-size: 1rem !important;
  }
  .org-section p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .org-section .pnaz {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .org-dropdown {
    margin-top: 16px !important;
    display: block !important;
  }
  .org-dropbtn {
    width: 60% !important;
  }
  .org-dropdown-content {
    min-width: calc(100% - 32px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 12px !important;
  }
  .org-tab-content {
    margin-top: 20px !important;
    padding: 20px !important;
    border-radius: 16px !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
  }
  .org-tab-content h2 {
    font-size: 1.3rem !important;
    padding-bottom: 8px !important;
  }
  .org-tab-content h1 {
    font-size: 1.4rem !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
  }
  .org-tab-content h1::after,
  .org-tab-content h2::after {
    left: 15% !important;
    width: 70% !important;
  }
  .org-section table,
  .org-tab-content .rank-table-blue,
  .org-tab-content.nabs .rank-table-yellow,
  .org-tab-content.nabs table {
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  .org-tab-content .rank-title,
  .org-tab-content.nabs .rank-title {
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
  }
  .org-tab-content .rank-table-blue thead th,
  .org-tab-content.nabs .rank-table-yellow thead th {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
  }
  .org-section table td,
  .org-section table th,
  .org-tab-content .rank-table-blue td,
  .org-tab-content .rank-table-blue th,
  .org-tab-content.nabs td,
  .org-tab-content.nabs th {
    padding: 8px 10px !important;
    min-width: 80px !important;
  }
  .note {
    padding: 14px 16px !important;
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
  }
  .org-tab-content .rank-title {
    border-radius: 10px !important;
    margin-top: 12px !important;
  }
  .org-tab-content .rank-content {
    padding: 16px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 0 0 10px 10px !important;
  }
  .org-section a {
    padding: 1px 3px !important;
    font-size: 0.95rem !important;
  }
  .org-content .penalty {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
    border-radius: 14px !important;
    margin-top: 6px !important;
  }
  .org-tab-content.nabs .rank-content {
    padding: 16px 18px !important;
  }
  .org-section li,
  .org-section ul,
  .org-tab-content li,
  .org-tab-content ul {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .org-section ul,
  .org-tab-content ul {
    padding-left: 20px !important;
    margin-bottom: 16px !important;
    list-style-position: outside !important;
  }
  .org-section li,
  .org-tab-content li {
    margin-bottom: 8px !important;
    padding-left: 8px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .org-tab-content li,
  .org-tab-content ul {
    color: #fff !important;
  }
  .org-section li:last-child,
  .org-tab-content li:last-child {
    margin-bottom: 0 !important;
  }
  .org-section ul ul,
  .org-tab-content ul ul {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding-left: 20px !important;
  }
  .org-section ul ul,
  .org-tab-content ul ul {
    list-style-type: circle !important;
  }
  .org-section ul ul ul,
  .org-tab-content ul ul ul {
    list-style-type: square !important;
  }
  .note ul,
  .rank-content ul {
    color: #1d1d1f !important;
    margin-bottom: 12px !important;
  }
  .note li,
  .rank-content li {
    color: #1d1d1f !important;
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }
  .org-section td ul,
  .org-tab-content td ul {
    margin-bottom: 8px !important;
  }
  .org-section td li,
  .org-tab-content td li {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
    text-align: left !important;
  }
} /* RP Map Styles */
.map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  line-height: 0;
  background: #111;
  transform-origin: center center;
  will-change: transform;
}

.eh-map-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.map-marker {
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(30, 30, 30, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.map-marker:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  z-index: 100;
}

.marker-tooltip {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  z-index: 1000;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  pointer-events: none;
}
.marker-tooltip::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
}

.map-marker:hover .marker-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.map-mobile-wrapper {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.map-mobile-wrapper.dragging {
  cursor: grabbing;
}
.map-mobile-wrapper.fullscreen-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  z-index: 9999;
  background: #000;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.map-mobile-wrapper::-webkit-scrollbar {
  height: 6px;
}
.map-mobile-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

@media (max-width: 768px) {
  .map-container {
    width: 100%;
    min-width: 100%;
    overflow: visible;
    border-radius: 10px;
    margin: 0;
  }

  .eh-map-img {
    width: 100%;
    max-width: none;
  }

  .map-marker {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .marker-tooltip {
    font-size: 11px;
    padding: 6px 10px;
    top: 34px;
  }

  .pv-container {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 16px 180px 16px;
    width: 90%;
    overflow: visible !important;
  }

  .tab-panel,
  .tab-panel.active,
  #playerverification {
    overflow: visible !important;
  }

  .pv-select-wrapper,
  #pv-select-wrapper {
    overflow: visible !important;
    position: relative;
    z-index: 100;
  }

  .custom-pv-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 8px 0;
    position: relative;
    overflow: visible !important;
    z-index: 100;
  }

  .custom-pv-select-trigger {
    font-size: 13px;
    padding: 12px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .custom-pv-select-trigger span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .custom-pv-select-options {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow-y: visible !important;
    position: static !important;
    margin-top: 6px !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .custom-pv-select-option {
    font-size: 13px;
    padding: 11px 14px;
    white-space: normal;
    word-wrap: break-word;
  }
}

.map-marker .tooltip-left {
  left: auto;
  right: 50%;
  transform: translateX(15%) translateY(10px);
}
.map-marker:hover .tooltip-left {
  transform: translateX(15%) translateY(0);
}
.map-marker .tooltip-left::after {
  left: auto;
  right: 15%;
  transform: none;
}
.map-marker .tooltip-bottom {
  top: auto;
  bottom: -40px;
  transform: translateX(-50%) translateY(-10px);
}
.map-marker:hover .tooltip-bottom {
  transform: translateX(-50%) translateY(0);
}
.map-marker .tooltip-bottom::after {
  bottom: auto;
  top: -5px;
  border-width: 0 5px 5px;
  border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
}

.custom-pv-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 260px;
  margin: 8px auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif;
  font-weight: 500;
  box-sizing: border-box;
}

.custom-pv-select-trigger {
  background: rgba(255, 255, 255, 0.449);
  padding: 16px 20px;
  border-radius: 19px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.604);
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.129);
}

.custom-pv-select-trigger:hover {
  border-color: #ffc194;
  box-shadow:
    0 6px 20px rgba(255, 213, 169, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.custom-pv-select-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.custom-pv-select-arrow.open {
  transform: rotate(180deg);
}

.custom-pv-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.449);
  border-radius: 19px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.604);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  animation: pvDropdownIn 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes pvDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 520px;
  }
}

.custom-pv-select-options.show {
  display: flex;
}

.custom-pv-select-option {
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    padding-left 0.2s;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.129);
  font-weight: 500;
}

.custom-pv-select-option:last-child {
  border-bottom: none;
}

.custom-pv-select-option:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding-left: 24px;
}

#ruleModal {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#ruleModal::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

#rule-scrollbar {
  position: fixed;
  width: 8px;
  z-index: 1600;
  display: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  touch-action: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#rule-scrollbar.visible {
  display: block;
  opacity: 1;
}
#rule-scrollbar-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff9e58, #e87c39);
  box-shadow: 0 2px 10px rgba(232, 124, 57, 0.55);
  cursor: grab;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  touch-action: none;
}
#rule-scrollbar:hover #rule-scrollbar-thumb,
#rule-scrollbar-thumb:active {
  background: linear-gradient(180deg, #ffb27a, #f08a45);
  box-shadow: 0 3px 14px rgba(232, 124, 57, 0.7);
}
#rule-scrollbar-thumb:active {
  cursor: grabbing;
}

.role-profile-button {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.role-profile-button:focus-visible,
.player-profile-dialog a:focus-visible,
.player-profile-close:focus-visible { outline: 3px solid #ffc28b; outline-offset: 4px; }
.role-card { cursor: pointer; }
.role-card .role-info { display: grid; min-width: 0; }
.role-card .role-profile-button {
  display: grid;
  gap: 0;
  min-height: 0;
  font: inherit;
  line-height: inherit;
}
.role-username, .role-telegram { font-size: inherit; overflow-wrap: anywhere; }
.honor-list {
  display: grid;
  /* Фіксуємо базовий розмір колонки на 210px для ідеального відображення */
  grid-template-columns: repeat(auto-fit, 210px);
  justify-content: center;
  gap: 24px;
  padding: 28px 0 42px;
}

.honor-card {
  width: 100%; /* Тепер ширина повністю залежить від сітки */
  min-height: 230px; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px 20px;
  border: 1px solid rgba(255, 255, 255, .268);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 12px 24px rgba(0, 0, 0, .12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.honor-avatar {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .08);
  object-fit: cover;
}

.honor-card h2 {
  margin: 10px 0 2px;
  font: 700 16px/1.2 Montserrat, sans-serif;
}

.honor-card p {
  margin: 0;
  color: #aaa8a8;
  font: 700 13px/1.45 Montserrat, sans-serif;
  white-space: pre-line;
}

@media (max-width: 600px) {
  .honor-list { 
    grid-template-columns: minmax(200px, 210px); 
    padding: 22px 0 32px; 
  }
}
.player-profile-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 36px));
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 211, 175, .32);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(91, 73, 62, .72), rgba(31, 27, 26, .81) 58%, rgba(43, 32, 28, .82));
  color: #fff;
  font-family: Montserrat, sans-serif;
  box-shadow: 0 30px 100px #0009, inset 0 1px #ffffff55, inset 0 0 42px #ffe0c012;
  overflow-y: auto;
  overscroll-behavior: contain;
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
}
.player-profile-dialog::backdrop { background: #090706af; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.player-profile-close { position: absolute; top: 12px; right: 16px; background: transparent; border: 0; color: #fff; font-size: 32px; cursor: pointer; }
.player-profile-header { display: flex; align-items: center; gap: 18px; padding-right: 20px; }
.player-profile-header img { width: 92px; height: 92px; border-radius: 20px; object-fit: cover; background: #45352c; border: 1px solid #ffffff26; }
.player-profile-header h2 { margin: 0; font-size: clamp(1.2rem, 5vw, 1.8rem); text-align: left; overflow-wrap: anywhere; }
.player-profile-header p { margin: 6px 0 0; color: #d6beb0; line-height: 1.4; }
.player-profile-dialog h3 { margin: 28px 0 12px; }
.player-profile-links, .player-license-list { display: grid; gap: 9px; margin-top: 22px; }
.player-profile-links a, .player-license-list a { display: block; padding: 13px 15px; border: 1px solid #ffffff38; border-radius: 12px; background: linear-gradient(120deg, #ffffff25, #ffffff0c); color: #fff; text-decoration: none; font-weight: 600; box-shadow: inset 0 1px #ffffff24; }
.player-profile-links a:first-child { background: #e87c39; color: #1b100a; border-color: #e87c39; }
.player-license-list p, .player-homes-empty { color: #cdbdb4; line-height: 1.5; }
.player-home-row { margin: 12px 0; overflow: hidden; border-radius: 14px; border: 1px solid #ffffff38; background: #ffffff16; box-shadow: inset 0 1px #ffffff1c; }
.player-home-row img { display: block; width: 100%; max-height: 210px; object-fit: cover; }
.player-home-row p { margin: 0; padding: 12px 14px; color: #fff; font-weight: 600; }
.player-avatar-switch { display: inline-flex; gap: 3px; margin-top: 25px; padding: 4px; border: 1px solid #ffffff32; border-radius: 100px; background: #ffffff13; }
.player-avatar-switch button { min-width: 64px; min-height: 38px; border: 0; border-radius: 100px; background: transparent; color: #e7d8d1; font: 700 .85rem Montserrat, sans-serif; cursor: pointer; touch-action: manipulation; }
.player-avatar-switch button.active { background: #e87c39; color: #21150d; box-shadow: 0 2px 10px #0004; }
.player-avatar-stage { display: grid; place-items: center; min-height: 250px; margin-top: 12px; padding: 12px; border: 1px solid #ffffff20; border-radius: 18px; background: radial-gradient(circle at 50% 35%, #4b403d 0, #241f1f 65%); text-align: center; }
.player-avatar-stage img, .player-avatar-stage model-viewer { display: block; width: 100%; height: 250px; object-fit: contain; }
.player-avatar-stage[data-mode="3d"] { background: radial-gradient(circle at 50% 38%, #655950 0, #3d332e 48%, #251f1e 100%); }
.player-avatar-stage canvas { display: block; width: 100% !important; height: 280px !important; border-radius: 12px; touch-action: pan-y; }
.player-avatar-stage p { max-width: 26ch; margin: 0 auto; color: #dcc8bc; line-height: 1.5; }
.player-avatar-stage a { color: #ffb47e; font-weight: 700; }
.player-avatar-switch button:focus-visible { outline: 3px solid #ffc28b; outline-offset: 2px; }
@media (max-width: 768px), (pointer: coarse) {
  html { scroll-behavior: auto; -webkit-tap-highlight-color: transparent; }
  #ruleModal { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }
  #rule-scrollbar { display: none !important; }
  .role:hover { transform: none; box-shadow: none; }
  .role:hover .avatar { transform: none; }
  .role-profile-button:active { opacity: .75; }
  .role-profile-button { min-height: 72px; gap: 14px; }
  .player-profile-dialog { padding: 24px 18px; }
  .player-profile-header img { width: 72px; height: 72px; }
  .player-profile-links a, .player-license-list a { min-height: 44px; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) {
  .roles, .role { animation: none !important; transition: none !important; }
}
#rule-context-menu {
  position: fixed;
  z-index: 1700;
  min-width: 234px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(22, 16, 12, 0.82);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.94) translateY(-6px);
  transform-origin: top left;
  transition:
    opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.18s;
}
#rule-context-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.rule-ctx-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 9px 9px;
  border-radius: 12px;
  color: #efe7df;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  box-sizing: border-box;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.rule-ctx-item .rule-ctx-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 13px;
  color: #ffb27a;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.rule-ctx-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.rule-ctx-item:hover .rule-ctx-ico {
  background: linear-gradient(135deg, #ff9e58, #e87c39);
  color: #fff;
  transform: scale(1.06);
}
.rule-ctx-item:active {
  transform: scale(0.985);
}
.rule-ctx-sep {
  height: 1px;
  margin: 5px 10px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
}

.hover-letter {
  transition: transform 0.2s ease, margin 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  display: inline-block;
}
.hover-letter:hover {
  margin: 0 5px;
  transform: translateY(-4px) scale(1.3);
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 136, 85, 1);
}
.hover-letter:has(+ .hover-letter:hover) {
  margin: 0 2px;
  transform: translateY(-2px) scale(1.15);
  color: #eee;
  text-shadow: 0 0 8px rgba(255, 136, 85, 0.6);
}
.hover-letter:hover + .hover-letter {
  margin: 0 2px;
  transform: translateY(-2px) scale(1.15);
  color: #eee;
  text-shadow: 0 0 8px rgba(255, 136, 85, 0.6);
}

#updateInfoBtn {
  position: fixed;
  bottom: 10px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  z-index: 1503;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}
#updateInfoBtn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  #updateInfoBtn {
    bottom: 5px;
    right: 15px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}



#updatesModal .close {
  right: 20px;
  top: 15px;
}


.map-zoom-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}
.map-zoom-controls button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-zoom-controls button:hover {
  background: rgba(255, 102, 0, 0.8);
  transform: scale(1.05);
}
.map-zoom-controls button:active {
  transform: scale(0.95);
}
.map-fullscreen-btn {
  margin-top: 4px;
}
