/* ============================================================
   Полный редизайн публичных страниц.
   Загружается последним и переопределяет старые стили.
   Текст и данные не меняются — только оформление.
   ============================================================ */

:root {
    --r-bg: #f4f3fb;
    --r-surface: #ffffff;
    --r-ink: #14121f;
    --r-text: #464255;
    --r-muted: #77738a;
    --r-line: rgba(20, 18, 31, 0.08);
    --r-brand: #6a0dad;
    --r-brand-2: #7c3aed;
    --r-brand-3: #a78bfa;
    --r-cyan: #22d3ee;
    --r-mint: #2dd4bf;
    --r-amber: #f59e0b;
    --r-red: #ef4444;
    --r-radius: 24px;
    --r-shadow: 0 26px 60px -30px rgba(30, 16, 80, 0.35);
}

/* ---------------------------- База ---------------------------- */

body {
    background:
        radial-gradient(900px 520px at 6% -8%, rgba(124, 58, 237, 0.12), transparent 62%),
        radial-gradient(760px 460px at 94% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
        var(--r-bg);
    color: var(--r-text);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

a {
    color: var(--r-brand);
}

img {
    max-width: 100%;
}

.hidden {
    display: none !important;
}

.center {
    text-align: center;
}

/* Тултип «Номер скопирован» (info.js). */
.copyNumber {
    position: relative;
}

.copyNumber .tooltip {
    display: none;
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: max-content;
    padding: 6px 10px;
    border-radius: 8px;
    background: #14121f;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.copyNumber .tooltip p {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.copyNumber .tooltip.active {
    display: block;
    opacity: 1;
}

/* Иконки «нравится / не нравится» в форме отзыва. */
.tier input[type="radio"] {
    display: none;
}

.tier label {
    background-image: url("../images/like.png");
}

.tier input[type="radio"]:checked + label {
    background-image: url("../images/likeActive.png");
}

.tier #dislikeImg {
    transform: rotate(180deg);
}

::selection {
    background: rgba(124, 58, 237, 0.2);
    color: var(--r-ink);
}

.site-main {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px var(--site-gutter) 0;
}

:where(.site-main) section {
    padding: 0;
    display: block;
}

.site-main .leftbox {
    width: auto;
    min-width: 0;
}

.site-main .rightbox {
    width: auto;
    padding: 0;
}

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
    color: var(--r-ink);
    letter-spacing: -0.02em;
}

.site-main h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    font-weight: 800;
}

.site-main h2 {
    margin: 0 0 16px;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.2;
    font-weight: 750;
}

.site-main h3 {
    margin: 0 0 14px;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.3;
    font-weight: 700;
}

.site-main p {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--r-text);
}

.site-main h2:not(:first-child) {
    margin-top: 30px;
}

.site-main h3:not(:first-child) {
    margin-top: 24px;
}

.site-main ul,
.site-main ol {
    margin: 0 0 16px;
}

.site-main .seoText ul:not([class]) {
    list-style: disc;
    padding-left: 22px;
}

.site-main .seoText ul:not([class]) li {
    list-style: disc;
    margin-bottom: 7px;
    color: var(--r-text);
    line-height: 1.7;
}

.site-main .seoText p,
.site-main .seoText ul:not([class]) {
    max-width: 880px;
}

.site-main > section > p,
.graphic > p {
    max-width: 900px;
}

.site-main strong {
    color: var(--r-ink);
    font-weight: 700;
}

.site-main a {
    transition: color 0.18s ease;
}

/* ---------------------------- Hero ---------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    display: block;
    padding: clamp(48px, 6vw, 82px) var(--site-gutter) clamp(64px, 7vw, 104px);
    background:
        radial-gradient(820px 420px at 18% -12%, rgba(167, 139, 250, 0.5), transparent 62%),
        radial-gradient(680px 380px at 88% 4%, rgba(34, 211, 238, 0.26), transparent 62%),
        linear-gradient(135deg, #130d2b 0%, #2a1053 48%, #4c1d95 100%);
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 75%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -220px;
    bottom: -380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 66%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.hero--compact {
    padding: 26px var(--site-gutter) 34px;
}

.hero--compact .hero__inner {
    max-width: 760px;
    gap: 14px;
}

.hero--compact .heroText h2 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero--compact .inputs {
    max-width: 660px;
    height: 58px;
}

.hero--compact .inputs button {
    height: 46px;
    padding: 0 24px;
    font-size: 15px;
}

.hero .heroText {
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.heroText h2 {
    margin: 0;
    max-width: 760px;
    color: #ffffff;
    text-align: center;
    font-size: clamp(27px, 3.6vw, 44px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.hero .inputs {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 720px;
    height: 68px;
    padding: 7px 7px 7px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
}

.hero .inputs__icon {
    flex: none;
    width: 22px;
    height: 22px;
    color: #8b5cf6;
    display: grid;
    place-items: center;
}

.hero .inputs__icon svg {
    width: 100%;
    height: 100%;
}

.hero .inputs input[type="tel"] {
    flex: 1;
    min-width: 0;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--r-ink);
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.hero .inputs input[type="tel"]::placeholder {
    color: #8d88a3;
    font-weight: 400;
}

.hero .inputs input[type="tel"]:focus {
    outline: none;
}

.hero .inputs button {
    flex: none;
    height: 54px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px -10px rgba(91, 33, 182, 0.85);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero .inputs button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 34px -10px rgba(91, 33, 182, 0.9);
}

.hero .inputs button:disabled {
    opacity: 1;
    cursor: not-allowed;
    background: #ece9f6;
    color: #6f6885;
    box-shadow: none;
}

.hero .warning {
    margin: 0;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca !important;
    font-size: 13px;
    font-weight: 600;
}

/* ---------------------------- Кнопки ---------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
        border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff !important;
    box-shadow: 0 14px 30px -14px rgba(91, 33, 182, 0.8);
}

.btn-primary:hover {
    color: #ffffff !important;
    box-shadow: 0 18px 36px -14px rgba(91, 33, 182, 0.9);
}

.btn-ghost {
    background: #ffffff;
    border-color: var(--r-line);
    color: var(--r-ink) !important;
    box-shadow: 0 10px 24px -18px rgba(30, 16, 80, 0.4);
}

.btn-ghost:hover {
    border-color: #c4b5fd;
    color: var(--r-brand) !important;
}

.site-main .button {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 12px 26px -14px rgba(91, 33, 182, 0.8);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.site-main .button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.btn:focus-visible,
.site-main a:focus-visible,
.site-main button:focus-visible,
.site-main .page:focus-visible,
.site-main input:focus-visible,
.site-main select:focus-visible,
.site-main textarea:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 3px;
}

/* ---------------------------- Главная ---------------------------- */

.mainwrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 38px;
    align-items: start;
    width: 100%;
}

.leftbox > .seoText:first-child {
    position: relative;
    overflow: hidden;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
    border-radius: 26px;
    padding: clamp(24px, 3vw, 42px);
    box-shadow: var(--r-shadow);
}

.leftbox > .seoText:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #7c3aed, #22d3ee 55%, #f59e0b);
}

.leftbox > .seoText:first-child h1 {
    max-width: 760px;
    text-align: left;
    text-wrap: balance;
}

.leftbox > .seoText:first-child .description p:first-child {
    font-size: 17px;
    line-height: 1.75;
}

.leftbox > .seoText + .seoText,
.leftbox > .seoText:last-child {
    padding: 10px 4px 0;
}

.leftbox > .seoText:last-child h2 {
    margin-top: 30px;
}

.leftbox > .seoText:last-child p {
    max-width: 760px;
}

.leftbox > .seoText:last-child h3 {
    margin-bottom: 10px;
}

.comments {
    margin-top: 36px;
}

.comments > h2 {
    margin-bottom: 18px;
}

.comments > .blockWhite {
    background: transparent !important;
    box-shadow: none;
    border: 0;
    padding: 0;
}

.commentReview {
    position: relative;
    display: block;
    margin: 0 0 14px;
    padding: 20px 22px;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 34px -30px rgba(30, 16, 80, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.commentReview:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 26px 50px -26px rgba(76, 29, 149, 0.45);
}

.headerReview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.commentReview .headerReview > h2 {
    flex: 1;
    margin: 0;
    color: var(--r-ink);
    font-size: 16px;
    line-height: 1.25;
    text-align: left;
}

.commentReview .userProfile h2 {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1;
}

.commentReview .userTier {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    text-align: right;
}

.commentReview .userTier p {
    margin: 0 !important;
    color: var(--r-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.commentReview .userTier p:only-of-type {
    padding: 5px 11px;
    border-radius: 999px;
    background: #f3f0ff;
    color: #5b21b6 !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.commentReview .userTier img {
    width: 18px;
    height: 18px;
    flex: none;
    object-fit: contain;
}

.commentReview .userTier p.type-chip--danger {
    background: #fef2f2 !important;
    color: #b42318 !important;
}

.commentReview .userTier p.type-chip--warning {
    background: #fffbeb !important;
    color: #b45309 !important;
}

.commentReview .userTier p.type-chip--info {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.commentReview .userTier p.type-chip--success {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

.numberComment {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--r-brand);
    letter-spacing: 0.01em;
}

.userProfile {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 100%);
    color: #4c1d95;
    font-size: 16px;
    font-weight: 800;
}

.headerReview > div:first-child > div {
    color: var(--r-ink);
    font-size: 15px;
    font-weight: 600;
}

.userTier {
    flex: none;
    max-width: 46%;
    text-align: right;
}

.userTier p:first-child {
    margin: 0 0 8px !important;
    color: var(--r-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.userTier p:last-child {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f3f0ff;
    color: #5b21b6;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.userTier p.type-chip--danger {
    background: #fef2f2;
    color: #b42318;
}

.userTier p.type-chip--warning {
    background: #fffbeb;
    color: #b45309;
}

.userTier p.type-chip--info {
    background: #eff6ff;
    color: #1d4ed8;
}

.userTier p.type-chip--success {
    background: #ecfdf5;
    color: #047857;
}
.bodyReview {
    margin-top: 14px;
}

.bodyReview p {
    margin: 0;
    color: var(--r-text);
    font-size: 16px;
    line-height: 1.68;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 0 4px;
}

.page {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--r-line);
    background: var(--r-surface);
    color: var(--r-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page:hover {
    border-color: #c4b5fd;
    color: var(--r-brand);
    transform: translateY(-1px);
}

.pageCurrent {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px -14px rgba(91, 33, 182, 0.8);
}

.sharecurrent__url {
    display: flex;
    gap: 12px;
    margin: 8px 0 26px;
}

.sharecurrent__url a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
    box-shadow: 0 12px 26px -22px rgba(30, 16, 80, 0.5);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.sharecurrent__url a:hover {
    transform: translateY(-2px);
    border-color: #c4b5fd;
}

.sharecurrent__url img {
    width: 28px !important;
    height: 28px !important;
}

/* ---------------------------- Сайдбар ---------------------------- */

.rightbox {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

#survey {
    width: 100%;
    padding: 26px 22px;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(145deg, #2a1053 0%, #4c1d95 55%, #6d28d9 100%);
    box-shadow: 0 28px 60px -30px rgba(76, 29, 149, 0.65);
}

#survey p:first-child {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-align: center;
}

#survey h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
}

#survey .button {
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
}

#survey .button:hover {
    background: #ffffff;
    color: #4c1d95;
    transform: translateY(-1px);
}

#thankYou p {
    color: var(--r-text);
}

.gift {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.similar,
.evaluation {
    margin: 0;
    padding: 24px;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
    border-radius: 24px;
    box-shadow: 0 20px 44px -34px rgba(30, 16, 80, 0.4);
}

.similar h2,
.evaluation h2 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.similar .blockWhitenew {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.similar .blockWhitenew a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f7f5ff;
    color: #3b3650;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.similar .blockWhitenew a::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--r-brand-3);
}

.similar .blockWhitenew a:hover {
    background: #ede9fe;
    border-color: #ddd6fe;
    color: #5b21b6;
}

.evaluation .blockWhitenew {
    display: grid;
    grid-template-columns: 1fr;
}

.evaluation .blockWhitenew a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--r-line);
    color: var(--r-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.evaluation .blockWhitenew a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.evaluation .blockWhitenew a:hover {
    color: var(--r-brand);
}

.evaluation .blockWhitenew a > span {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f4f2fb;
    color: var(--r-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.rightbox > div:last-child span[style] {
    color: var(--r-muted) !important;
    font-size: 11px !important;
}

.rightbox img[alt="Реклама"] {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 44px -28px rgba(30, 16, 80, 0.4);
}

/* ---------------------------- Случайные номера ---------------------------- */

.randomNumbers {
    margin-top: 48px !important;
}

.randomNumbers h2 {
    margin: 0 0 16px !important;
    font-size: 22px;
}

.randomNumbers .blockWhite {
    padding: 24px !important;
    border-radius: 24px;
    border: 1px solid var(--r-line);
    box-shadow: 0 20px 44px -34px rgba(30, 16, 80, 0.4);
}

.numberColumns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.numberItem a {
    display: block;
    padding: 3px 0;
    color: var(--r-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}

.numberItem a:hover {
    color: var(--r-brand);
}

/* ---------------------------- Карточка номера ---------------------------- */

.detail-actions {
    display: flex;
    justify-content: center;
    margin: 0 0 22px;
}

.info {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3.4vw, 44px);
    border-radius: 28px;
    color: #ffffff;
    background:
        radial-gradient(700px 360px at 88% -10%, rgba(34, 211, 238, 0.22), transparent 62%),
        radial-gradient(620px 340px at 4% 0%, rgba(167, 139, 250, 0.34), transparent 62%),
        linear-gradient(135deg, #150f2e 0%, #2a1053 52%, #4c1d95 100%);
    box-shadow: 0 40px 90px -44px rgba(43, 16, 85, 0.8);
}

.info::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(80% 90% at 50% 0%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000 0%, transparent 80%);
    pointer-events: none;
}

.info > * {
    position: relative;
    z-index: 1;
}

.info .number {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.info .number h1 {
    margin: 0 !important;
    color: #ffffff;
    font-size: clamp(27px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.info .number img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    opacity: 0.78;
    flex: none;
}

.info .copyNumber {
    position: relative;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}

.info .tooltip {
    background: #ffffff;
    color: var(--r-ink);
    border-radius: 10px;
    box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
}

.info .tooltip p {
    color: var(--r-ink);
    font-size: 12px;
    font-weight: 600;
}

/* У основного номера подсказка появляется рядом с иконкой копирования. */
.info .number .copyNumber .tooltip {
    top: 50%;
    right: -8px;
    left: auto;
    transform: translateY(-50%);
}

.info .number .copyNumber .tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    width: 9px;
    height: 9px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 1px;
}

@media (max-width: 700px) {
    .info .number .copyNumber .tooltip {
        top: -34px;
        right: -8px;
        transform: none;
    }

    .info .number .copyNumber .tooltip::after {
        top: auto;
        right: 4px;
        bottom: -4px;
        transform: rotate(45deg);
    }
}

.info > p {
    margin: 14px 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.6;
}

.info .blockWhite {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.info .infoElement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.info .infoElement:first-child {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info .infoElement p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
}

.info .faElement {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.info .faElement .fa {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info .faElement .fa > div:first-child p {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.info .faElement a {
    color: #ffffff;
    text-decoration: none;
}

.info .faElement img {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.info .tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

.info .tags > p {
    margin: 0 4px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    font-weight: 500;
}

.info .tags .tag {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    filter: none;
}

.info .tags .tag:hover {
    filter: none;
}

.info .tags .tag .copyNumber {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.info .tags .tag .copyNumber:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.info .tags .tag h3 {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.info + section,
.graphic,
.review,
.comments,
#comments-section {
    margin-top: 32px;
}

.graphic {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 26px;
    border: 1px solid var(--r-line);
    background: var(--r-surface);
    box-shadow: var(--r-shadow);
}

.graphic h2 {
    margin-bottom: 20px;
}

.graphicTable {
    position: relative;
    height: clamp(240px, 30vw, 320px);
    padding: 14px;
    border-radius: 18px;
    background: #faf9ff;
    border: 1px solid var(--r-line);
}

.graphicTable canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.graphic > p {
    margin: 16px 0 0;
}

.review .blockWhite {
    margin-top: 16px;
    padding: clamp(20px, 3vw, 30px) !important;
    border-radius: 22px;
    border: 1px solid var(--r-line);
    background: var(--r-surface) !important;
    box-shadow: var(--r-shadow);
}

.review h3 {
    margin-bottom: 10px;
}

.inputReview {
    margin-bottom: 16px;
}

.inputReview p {
    margin: 0 0 7px;
    color: var(--r-ink);
    font-size: 13px;
    font-weight: 600;
}

.inputReview input,
.inputReview textarea,
.inputReview select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e6e3f0;
    border-radius: 12px;
    background: #fbfaff;
    color: var(--r-ink);
    font-family: Inter, sans-serif;
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.inputReview input:focus,
.inputReview textarea:focus,
.inputReview select:focus {
    outline: none;
    border-color: #a78bfa;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.inputReview textarea {
    height: 130px;
    min-height: 120px;
    resize: vertical;
}

.inputsReview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tier {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.tier label {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px;
    border: 1px solid #e6e3f0;
    background-color: #fbfaff !important;
    background-size: 20px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tier input:checked + label {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.sumbmit__btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 34px -14px rgba(91, 33, 182, 0.7);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sumbmit__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

#comments-section > .blockWhite {
    background: transparent !important;
    padding: 0;
    border: 0;
    box-shadow: none;
}

#comments-section > .blockWhite > p {
    padding: 20px;
    border-radius: 16px;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
}

.blocFlex {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 20px;
    border-radius: 20px;
    background: var(--r-surface);
    border: 1px solid var(--r-line);
    box-shadow: 0 20px 44px -34px rgba(30, 16, 80, 0.4);
}

.blocFlex a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8f6ff;
    color: var(--r-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.blocFlex a:hover {
    background: #ede9fe;
    color: #5b21b6;
}

.blocFlex a span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--r-muted);
    font-size: 12px;
}

/* ---------------------------- Коды ---------------------------- */

.page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 8px;
}

.codes-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.site-main > section > div[style*="text-align: center"] {
    margin: 18px 0 !important;
}

.codes-filter {
    position: sticky;
    top: 86px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    margin: 10px auto 24px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--r-line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px -26px rgba(30, 16, 80, 0.45);
    backdrop-filter: blur(10px);
}

.codes-filter svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--r-muted);
}

.codes-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--r-ink);
    font-family: Inter, sans-serif;
    font-size: 15px;
}

.codes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 12px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.codes-cell {
    margin: 0;
}

.cell-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--r-line);
    background: var(--r-surface);
    color: var(--r-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
        border-color 0.18s ease, color 0.18s ease;
}

.cell-link:hover {
    transform: translateY(-2px);
    border-color: transparent;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px -18px rgba(91, 33, 182, 0.7);
}

.codes-cell.is-hidden {
    display: none;
}

.codes-op-list,
.codes-region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 26px;
    padding: 0;
    list-style: none;
}

.codes-op,
.codes-region {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--r-line);
    background: var(--r-surface);
    color: var(--r-text);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 22px -20px rgba(30, 16, 80, 0.4);
}

/* ---------------------------- Оценка сайта ---------------------------- */

#votesCounter {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 24px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid var(--r-line) !important;
    color: var(--r-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 14px 30px -24px rgba(30, 16, 80, 0.4) !important;
}

.site-main > section > div[style*="max-width: 800px"] {
    border-radius: 26px !important;
    background: #ffffff !important;
    border: 1px solid var(--r-line) !important;
    box-shadow: var(--r-shadow) !important;
    padding: clamp(22px, 3vw, 36px) !important;
}

#siteEvalForm > label {
    margin: 20px 0 9px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--r-ink) !important;
}

#siteEvalForm select {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #e6e3f0 !important;
    background: #fbfaff !important;
    color: var(--r-ink) !important;
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    outline: none !important;
}

#siteEvalForm div label {
    padding: 9px 14px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    background: #f4f2fb !important;
    color: var(--r-text) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

#siteEvalForm div label:hover {
    background: #ede9fe !important;
    color: #5b21b6 !important;
}

#siteEvalForm div label:has(input:checked),
#siteEvalForm div label.is-checked {
    background: #ede9fe !important;
    border-color: #c4b5fd !important;
    color: #5b21b6 !important;
    box-shadow: 0 8px 18px -14px rgba(91, 33, 182, 0.6) !important;
}

#siteEvalForm input[type="radio"] {
    accent-color: var(--r-brand);
}

#rateBtn {
    padding: 14px 24px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 16px 34px -14px rgba(91, 33, 182, 0.7) !important;
    transition: transform 0.18s ease, filter 0.18s ease !important;
}

#rateBtn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

#resetBtn {
    padding: 12px 20px !important;
    border-radius: 999px !important;
    border: 1px solid var(--r-line) !important;
    background: #ffffff !important;
    color: var(--r-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#resultArea {
    margin-top: 24px !important;
    border-radius: 18px !important;
    border: 1px solid var(--r-line) !important;
    border-left: 4px solid var(--r-brand) !important;
    background: #faf9ff !important;
}

#gradesTableContainer {
    border-radius: 18px !important;
    border: 1px solid var(--r-line) !important;
    box-shadow: 0 20px 44px -34px rgba(30, 16, 80, 0.4) !important;
    background: #ffffff !important;
}

#paginationContainer > div {
    background: #f8f6ff !important;
    border: 1px solid var(--r-line) !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
}

#paginationContainer .page-link {
    color: var(--r-brand) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

#paginationContainer .page-link:hover {
    color: #4c1d95 !important;
}

.grades-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.grades-table th {
    padding: 12px 14px !important;
    background: #f4f2fb !important;
    color: var(--r-ink) !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.grades-table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--r-line) !important;
    color: var(--r-text) !important;
}

.grades-table tr:last-child td {
    border-bottom: 0 !important;
}

/* ---------------------------- Итог сайта ---------------------------- */

.site-total {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 900px;
    margin: 28px auto 0;
    padding: 28px 34px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #241046 0%, #4c1d95 58%, #6d28d9 100%);
    box-shadow: 0 30px 64px -34px rgba(76, 29, 149, 0.7);
    color: #ffffff;
}

.site-total::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -12%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4), transparent 68%);
    pointer-events: none;
}

.site-total > * {
    position: relative;
    z-index: 1;
}

.site-total__label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-total__score {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.site-total__score strong {
    color: #ffffff;
    font-size: clamp(40px, 5vw, 54px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.site-total__score span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-weight: 600;
}

.site-total__right {
    text-align: right;
}

.site-total__stars {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.18);
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
}

.site-total__stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--score-percent, 0%);
    overflow: hidden;
    color: #fbbf24;
    white-space: nowrap;
}

.site-total__count {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.site-total__count b {
    color: #ffffff;
}

.site-total__hint {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

@media (max-width: 620px) {
    .site-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .site-total__right {
        text-align: left;
    }
}

.views-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 18px;
}

.views-summary > div {
    min-width: 150px;
    padding: 12px 16px;
    border: 1px solid var(--r-line);
    border-radius: 14px;
    background: #faf9ff;
}

.views-summary span {
    display: block;
    color: var(--r-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.views-summary b {
    display: block;
    margin-top: 4px;
    color: var(--r-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.views-empty {
    margin: -4px 0 16px;
    color: var(--r-muted);
    font-size: 13px;
}

@media (max-width: 620px) {
    .site-main p {
        font-size: 17px;
    }
}

/* ---------------------------- Модальное окно оценки ---------------------------- */

#ratingOverlay {
    z-index: 100000 !important;
    background: rgba(15, 12, 30, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#ratingBox {
    max-width: 430px;
    padding: 36px 34px 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 80px -20px rgba(15, 12, 30, 0.6);
}

.rating-icon {
    font-size: 46px;
    line-height: 1;
}

.rating-title {
    margin: 12px 0 8px;
    color: var(--r-ink);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rating-text {
    margin-bottom: 24px;
    color: var(--r-muted);
    font-size: 15px;
    line-height: 1.6;
}

.rating-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 16px 32px -14px rgba(91, 33, 182, 0.75);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.rating-link:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.skip-link {
    display: block;
    width: 100%;
    margin-top: 16px;
    color: var(--r-muted);
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

.skip-link:hover {
    color: var(--r-brand);
}

#closeBtn {
    top: 12px;
    right: 16px;
    color: #9b96ad;
    font-size: 26px;
    line-height: 1;
}

#closeBtn:hover {
    color: var(--r-ink);
}

/* ---------------------------- 404 ---------------------------- */

.callout {
    margin: 22px 0 !important;
    padding: 20px 22px !important;
    border: 1px solid var(--r-line) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 40px -32px rgba(30, 16, 80, 0.35);
}

.callout--violet {
    background: #faf9ff !important;
    border-left: 4px solid var(--r-brand) !important;
}

.callout--blue {
    background: #f4fdff !important;
    border-left: 4px solid var(--r-cyan) !important;
}

.callout p {
    color: var(--r-text) !important;
}

.callout > p:first-child {
    color: var(--r-brand) !important;
}

.callout--blue > p:first-child {
    color: #0369a1 !important;
}

.callout ul:not([class]) {
    margin: 10px 0 0 20px !important;
}

.callout ul:not([class]) li {
    list-style: disc;
    margin-bottom: 7px;
    color: var(--r-text);
    line-height: 1.65;
}

.tictac-card {
    margin: 40px auto 20px !important;
    max-width: 440px !important;
    padding: 24px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid var(--r-line) !important;
    box-shadow: var(--r-shadow) !important;
}

.seoText .tictac-card {
    float: right;
    width: min(420px, 100%);
    max-width: 420px !important;
    margin: 4px 0 24px 32px !important;
}

.seoText::after {
    content: "";
    display: table;
    clear: both;
}

.seoText > .page-actions:last-of-type {
    clear: both;
}

@media (max-width: 760px) {
    .seoText .tictac-card {
        float: none;
        width: 100%;
        max-width: 440px !important;
        margin: 20px auto 24px !important;
    }
}

#tictacBoard {
    gap: 10px !important;
    max-width: 330px !important;
}

#tictacStatus {
    color: var(--r-brand) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 8px 0 14px !important;
}

#tictacLevel {
    border: 1px solid var(--r-line) !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    background: #f8f6ff !important;
    color: var(--r-text) !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    outline: none !important;
}

.tictac-cell {
    background: #f8f6ff !important;
    border: 2px solid #e6e3f0 !important;
    border-radius: 14px !important;
    color: var(--r-ink) !important;
    font-size: 2.6rem !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

.tictac-cell:hover {
    background: #ede9fe !important;
    border-color: #c4b5fd !important;
    transform: translateY(-1px);
}

#tictacReset {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
    box-shadow: 0 14px 28px -14px rgba(91, 33, 182, 0.7) !important;
}

/* ---------------------------- Скролл-прогресс и кнопка «наверх» ---------------------------- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 300;
    pointer-events: none;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #22d3ee 60%, #f59e0b);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: var(--r-brand);
    box-shadow: 0 18px 36px -18px rgba(30, 16, 80, 0.5);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease,
        background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ---------------------------- Анимации ---------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .commentReview,
    .similar,
    .evaluation,
    .cell-link {
        animation: r-fade-up 0.45s ease both;
    }

    @keyframes r-fade-up {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ---------------------------- Адаптив ---------------------------- */

@media (max-width: 1100px) {
    .mainwrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .rightbox {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }

    .rightbox > div:first-child {
        grid-column: 1 / -1;
    }

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

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

@media (max-width: 820px) {
    .hero {
        padding: 44px var(--site-gutter) 68px;
    }

    .hero .inputs {
        height: 62px;
        padding-left: 16px;
    }

    .hero .inputs button {
        height: 48px;
        padding: 0 22px;
        font-size: 15px;
    }

    .hero .inputs input[type="tel"] {
        font-size: 16px;
    }

    .site-main {
        padding-top: 32px;
    }

    .mainwrapper {
        gap: 28px;
    }

    .rightbox {
        grid-template-columns: 1fr;
    }

    .rightbox > div:first-child {
        grid-column: auto;
    }

    .similar .blockWhitenew {
        grid-template-columns: 1fr 1fr 1fr;
    }

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

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

    .codes-container {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
        gap: 10px;
    }

    .codes-filter {
        top: 118px;
        position: static;
    }
}

@media (max-width: 620px) {
    .hero .inputs {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        border-radius: 22px;
        gap: 8px;
    }

    .hero .inputs__icon {
        display: none;
    }

    .hero .inputs input[type="tel"] {
        flex: 1 1 100%;
        padding: 10px 8px;
    }

    .hero .inputs button {
        flex: 1 1 100%;
        width: 100%;
        height: 48px;
    }

    .hero--compact .inputs {
        flex-wrap: nowrap;
        height: 56px;
        padding: 6px 6px 6px 14px;
        border-radius: 999px;
    }

    .hero--compact .inputs input[type="tel"] {
        flex: 1 1 auto;
        padding: 0;
    }

    .hero--compact .inputs button {
        flex: 0 0 auto;
        width: auto;
        height: 44px;
        padding: 0 18px;
    }

    .leftbox > .seoText:first-child {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .commentReview {
        padding: 16px;
        border-radius: 16px;
    }

    .headerReview {
        flex-wrap: wrap;
    }

    .commentReview .headerReview > h2 {
        flex: 1 1 140px;
    }

    .userTier {
        max-width: 100%;
        text-align: left;
    }

    .userTier p:first-child {
        margin-bottom: 6px !important;
    }

    .inputsReview {
        grid-template-columns: 1fr;
    }

    .info .number {
        gap: 10px;
    }

    .info .faElement {
        gap: 12px;
    }

    .info .tags > p {
        flex-basis: 100%;
    }

    .blocFlex {
        grid-template-columns: 1fr;
    }

    .similar .blockWhitenew {
        grid-template-columns: 1fr 1fr;
    }

    .codes-container {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }

    .cell-link {
        min-height: 54px;
        font-size: 14px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}
