.footer { background: var(--blue); color: #fff; padding: 28px 0 36px; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer__links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__links a, .footer a { color: #fff; text-decoration: none; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.footer__phone { text-align: right; }
.footer__phone span { display: block; font-size: 12px; opacity: .85; }
.footer__bottom { margin-top: 22px; font-size: 12px; line-height: 1.45; opacity: .9; }
.footer__policy { display: grid; gap: 6px; }

@media (max-width: 1023px) {
  :root { --header: 72px; }
  html, body { overflow-x: hidden; }
  body { background: #ee7202; }
  h2 { font-size: 32px; line-height: 1.08; }
  .container { width: min(100% - 32px, 430px); }
  .section { padding: 28px 0; background: transparent; overflow: visible; }
  .sheet { min-height: 0; }

  .header {
    height: 72px;
    overflow: visible;
    background: #ee7202;
    z-index: 50;
  }
  .header__row {
    width: calc(100% - 24px);
    max-width: none;
    height: 72px;
    margin: 0 auto;
    padding: 0;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 8px;
    gap: 12px;
    overflow: visible;
  }
  .nav, .header__code { display: none !important; }
  .logo { flex: 0 0 104px; width: 104px; height: 32px; display: block; margin-top: 5px; }
  .logo img { width: 104px; height: 32px; max-width: none; object-fit: contain; object-position: left center; }
  .header__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    height: auto;
    flex: 0 0 auto;
  }
  .lang {
    display: flex;
    align-items: center;
    height: 42px;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .lang a { opacity: .8; }
  .lang a.is-active { opacity: 1; text-decoration-color: #005ca9; }
  .icon-btn {
    width: 42px;
    height: 42px;
    flex: none;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
  }
  .burger {
    display: grid;
    background: #005ca9;
    border-color: #005ca9;
    color: #fff;
  }
  .burger svg { stroke: #fff; }

  .mobile-menu {
    top: 72px;
    background: rgba(238, 114, 2, .28);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 14px 16px 24px;
  }
  .mobile-menu__panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 6px 22px 22px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(80, 30, 0, .16);
  }
  .mobile-menu__panel > a {
    background: transparent;
    border-radius: 0;
    color: #ee7202;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 14px 8px;
    border-bottom: 1px solid #ee7202;
    transition: background-color .18s ease;
  }
  .mobile-menu__panel > a:not(.btn):hover { background: rgba(238,114,2,.08); }
  .mobile-menu__panel > a.btn {
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    min-height: 56px;
    padding: 0 22px;
    background: #005ca9;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
  }
  .mobile-menu__panel > a.btn:hover { background: #ee7202; color: #fff; }
  .mobile-menu__panel > a.btn:active { background: #005ca9; color: #fff; transform: none; }

  .hero {
    position: relative;
    overflow: hidden;
    background: #ee7202;
    height: 712px;
    padding: 0;
  }
  .hero-bg {
    display: block !important;
    position: absolute !important;
    width: 700px !important;
    height: 389px !important;
    max-width: none !important;
    left: -268px !important;
    top: 168px !important;
    margin: 0 !important;
    object-fit: fill;
    z-index: 0;
    pointer-events: none;
  }
  .hero-building { display: none !important; }
  .hero-main {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 712px;
    margin: 0;
  }
  .hero-date {
    position: absolute;
    right: 16px;
    top: 8px;
    left: auto;
    width: auto;
    height: auto;
    margin: 0;
    text-align: right;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    z-index: 6;
    white-space: nowrap;
  }
  .hero-title {
    display: block !important;
    position: absolute !important;
    left: 12px !important;
    top: 6px !important;
    width: 214px !important;
    height: auto !important;
    margin: 0 !important;
    z-index: 7 !important;
  }
  .hero-tag {
    display: block;
    position: absolute;
    left: 50px;
    top: 90px;
    width: 152px;
    height: auto;
    max-width: none;
    z-index: 6;
    pointer-events: none;
  }
  .hero-main .hero-abs {
    position: absolute !important;
    max-width: none !important;
    height: auto !important;
    display: block;
  }
  .hero-main img[src*="orn-left"] { display: none !important; }
  .hero-main img[src*="orn-right"] {
  left: auto !important;
  right: 4px !important;
  top: 40px !important;
  width: 107px !important;
  z-index: 2 !important;
  }
  .hero-main img[src*="layer-1"] {
        display: block !important;
        left: 130px !important;
        right: auto !important;
        top: 136px !important;
        width: 222px !important;
        max-width: calc(100% - 23px) !important;
        height: auto !important;
        z-index: 5 !important;
  }
  .hero-main img[src*="stork"] {
left: -4px !important;
        top: 174px !important;
        width: 260px !important;
        z-index: 4 !important;
  }
  .hero-main img[src*="car-clear"] {
    left: -6px !important;
    top: 400px !important;
    width: 214px !important;
    z-index: 7 !important;
  }
  .hero-main img[src*="group-a"] {
        left: auto !important;
        right: 111px !important;
        top: 404px !important;
        width: 150px !important;
        z-index: 6 !important;
  }
  .hero-main img[src*="group-b"] {
        left: auto !important;
        right: -10px !important;
        top: 397px !important;
        width: 146px !important;
        z-index: 6 !important;
  }
  .hero-main img[src*="logos"] {
        left: 65px !important;
        top: 521px !important;
        width: 263px !important;
        z-index: 5 !important;
  }
  .hero-cta {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 618px;
    width: auto;
    height: auto;
    min-height: 62px;
    margin: 0;
    transform: none;
    border-radius: 999px;
    color: #005ca9;
    background: #ffd500;
    font-size: 18px;
    font-weight: 700;
    z-index: 6;
  }

  #rules {
    position: relative;
    z-index: 1;
    margin-top: -8px;
    padding: 28px 0 32px;
    border-radius: 36px;
    background: #f8e3b8 url("../img/bg_rules.jpg") top center / cover no-repeat;
  }
  #rules h2 {
    font-size: 32px;
    line-height: 34px;
    font-weight: 700;
    color: #ee7202;
    max-width: 340px;
    margin: 0 auto 8px;
  }
  .text-link {
    color: #005ca9;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0 0 16px;
  }
  .rules__viewport { min-height: 0; }
  .rules-card, .rules-card.is-active { display: none; }
  .rules-card.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 0;
    background: #ee7202;
    color: #fff;
    border-radius: 32px;
    padding: 16px 14px 20px;
    overflow: hidden;
  }
  .rules-card__copy {
    display: contents;
    padding: 0;
    align-items: center;
    text-align: center;
  }
  .steps {
    order: 0;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 0 -26px;
  }
  .steps button {
    width: clamp(48px, 16vw, 63px);
    height: clamp(48px, 16vw, 63px);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 214, 186, .55);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
  }
  .steps button.is-active { background: #ffd500; color: #005ca9; }
  .rules-card__img {
    order: 1;
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    margin-top: 22px;
  }
  .rules-card__img img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }
  .rules-card h3 {
    order: 2;
    margin: 8px 0 8px;
    font-size: 30px;
    line-height: 1.12;
    color: #ffd500;
    text-align: center;
  }
  .rules-card p {
    order: 3;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
  }
  .rules-card .btn-yellow {
    order: 4;
    width: 100%;
    min-height: 60px;
    height: auto;
    margin: 0;
    color: #005ca9;
    font-size: 16px;
    font-weight: 700;
  }

  #prizes {
    background: transparent;
    padding: 32px 0 20px;
  }
  #prizes { overflow: visible; }
  #prizes h2 {
    color: #fff;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
  }
  .prize-dates { display: flex; flex-direction: column; align-items: center; gap: 13px; margin-bottom: 16px; }
  .date-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 41px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.18px;
    line-height: 21px;
    box-shadow: none;
  }
  .date-reg { margin: 0; color: #ffed00; font-size: 16px; line-height: 21px; font-weight: 400; text-align: center; }
  .prize-frame { display: grid; gap: 14px; }
  .prize-main {
    position: relative;
    height: 114px;
    min-height: 114px;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fce7c4 url("../img/bg_prize1_mob.jpg") center / cover no-repeat;
  }
  .prize-main__bg { display: none; }
  .prize-main__copy {
    position: relative;
    z-index: 1;
    width: 168px;
    padding: 8px 0 6px 15px;
  }
  .prize-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 16px;
    padding: 0 8px 0 7px;
    border-radius: 999px;
    background: #ee7202;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08px;
    line-height: 1;
    text-transform: uppercase;
  }
  .prize-badge img { width: 9px; height: 8px; }
  .prize-main h3 {
    margin: 3px 0 0;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0.25px;
    color: #005ca9;
    text-transform: uppercase;
  }
  .prize-main p {
    margin: -6px 0 0;
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: 0.16px;
    font-weight: 700;
    color: #005ca9;
    text-transform: uppercase;
  }
  .prize-main .qty {
    width: 61px;
    min-width: 61px;
    height: 30px;
    margin-top: 4px;
    padding: 0;
    border-radius: 15px;
    background: #fff;
    color: #ee7202;
    font-size: 25px;
    line-height: 1;
    gap: 2px;
    box-shadow: 0 0 2px rgba(238, 114, 2, .05);
  }
  .prize-main .qty span { font-size: 22px; line-height: 1; }
  .prize-special {
    position: relative;
    height: 114px;
    min-height: 114px;
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
    background: #fde7c2 url("../img/bg_prize2_mob.jpg") center / cover no-repeat;
  }
  .prize-special__logo {
    position: absolute;
    left: 15px;
    top: 62px;
    width: 47px;
    height: 35px;
    object-fit: contain;
    z-index: 1;
  }
  .prize-special__copy {
    position: relative;
    z-index: 1;
    width: auto;
    margin: 0;
    padding: 12px 168px 8px 15px;
  }
  .prize-kicker {
    display: block;
    margin: 0;
    color: #ee7202;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08px;
    line-height: 1.1;
    text-transform: uppercase;
    background: none;
  }
  .prize-special h3 {
    margin: 4px 0 6px;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0.25px;
    color: #005ca9;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .prize-special__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    margin-left: 58px;
    padding-left: 10px;
  }
  .prize-special__meta:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 46px;
    background: rgba(0, 92, 169, .35);
  }
  .prize-special__meta p {
    order: -1;
    margin: 0;
    width: 86px;
    font-size: 7px;
    line-height: 1.1;
    letter-spacing: 0.07px;
    color: #005ca9;
    font-weight: 400;
  }
  .prize-special__car {
    position: absolute;
    right: 0;
    top: 20px;
    left: auto;
    width: 185px;
    height: auto;
    object-fit: contain;
    z-index: 1;
  }
  .qty--white {
    min-width: 61px;
    width: 61px;
    height: 30px;
    padding: 0;
    border-radius: 15px;
    background: #fff;
    color: #ee7202;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 0 2px rgba(238, 114, 2, .05);
  }
  .other-prizes { margin-top: 16px; }
  .other-head { display: flex; align-items: flex-end; gap: 9px; margin-bottom: 0; }
  .other-head h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.26px;
    text-transform: uppercase;
  }
  .other-line { flex: 1; height: 1px; margin-bottom: 4px; background: rgba(255,255,255,.85); }
  .prize-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-top: 8px; }
  .prize-grid article {
    position: relative;
    display: block;
    min-height: 107px;
    height: 107px;
    margin: 16px 0 0;
    padding: 0;
    border-radius: 30px;
    overflow: visible;
    background: #fce2b3 url("../img/bg_prize3.png") right center / cover no-repeat;
    box-shadow: none;
  }
  .prize-grid article:before { content: none; }
  .prize-grid img {
        position: absolute;
        left: 28px;
        bottom: 10px;
        top: auto;
        width: 126px;
        height: 128px;
        max-width: none;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
        border-radius: 0;
        z-index: 1;
  }
  .prize-grid article:nth-child(2) img { left: 42px; width: 112px; height: 114px; }
  .prize-grid article:nth-child(3) img { left: 18px; bottom: 8px; width: 147px; height: auto; }
  .prize-grid article > div { position: absolute; left: 188px; top: 9px; width: 140px; z-index: 1; }
  .prize-grid h4 {
    margin: 0 0 6px;
    color: #005ca9;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0.18px;
    font-weight: 700;
    text-transform: none;
    white-space: nowrap;
  }
  .prize-grid p {
    margin: 0 0 8px;
    color: #005ca9;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.2px;
    font-weight: 700;
    white-space: nowrap;
  }
  .prize-grid article:nth-child(2) p { text-transform: uppercase; }
  .prize-grid .qty { min-width: 61px; width: 61px; height: 30px; font-size: 22px; }
  .prize-grid .qty--wide { width: 85px; min-width: 85px; }

  #products {
    margin-top: 8px;
    padding: 28px 0 22px;
    border-radius: 36px;
    overflow: hidden;
    background: #f8e3b8 url("../img/bg_tovar.jpg") top center / cover no-repeat;
  }
  #products h2 { font-size: 32px; line-height: 35px; font-weight: 700; color: #ee7202; }
  #products .text-link { margin-bottom: 12px; }
  #products .arrow { display: none; }
  #products .slider { min-height: 0; }
  #products .slider__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #products .slider__viewport::-webkit-scrollbar { display: none; }
  #products .slider__track { transform: none !important; gap: 0; }
  #products .slider__track img {
    width: 100%;
    flex: 0 0 100%;
    flex-basis: 100%;
    height: auto;
    max-height: 472px;
    scroll-snap-align: center;
    object-fit: contain;
    border-radius: 18px;
    background: transparent;
  }
  .dots { margin-top: 14px; }
  .dots button { width: 8px; height: 8px; background: rgba(238,114,2,.35); }
  .dots button.is-active { width: 24px; background: #ee7202; }

  #partners { background: transparent; padding: 22px 0 8px; }
  .partner-board {
    width: auto;
    height: auto;
    margin-bottom: 18px;
    padding: 18px 16px 16px;
    border-radius: 36px;
    overflow: hidden;
    background: #fff8ee url("../img/bg_partner1.jpg") center / cover no-repeat;
  }
  .partner-board--other {
    height: auto;
    min-height: 0;
    padding-bottom: 16px;
    background-image: url("../img/bg_partner2.jpg");
  }
  .partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    height: 39px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ee7202;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.19px;
    line-height: 1;
    text-transform: uppercase;
  }
  .partner-badge img { width: 22px; height: 20px; }
  .partner-board--other .partner-badge {
    display: flex;
    width: fit-content;
    min-width: 0;
    height: 39px;
    margin: 0 auto;
    padding: 0 28px;
    font-size: 14px;
    letter-spacing: 0.14px;
  }
  .partner-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    margin-top: 12px;
  }
  .partner-main img {
    width: 30%;
    height: 68px;
    object-fit: contain;
    flex: 0 1 30%;
  }
  .partner-split {
    width: 1px;
    height: 48px;
    margin: 0 6px;
    background: rgba(238, 114, 2, .4);
    flex: 0 0 1px;
  }
  .partner-list { width: 100%; height: auto; margin-top: 10px; }
  .partner-list--mob { display: block; }

  #winners { padding: 28px 0 36px; background: #ee7202; overflow: visible; }
  #winners h2 { color: #fff; font-size: 34px; line-height: 38px; font-weight: 700; margin-bottom: 16px; }
  .winners__slider { min-height: 0; }
  .cards {
    display: flex;
    gap: 0;
    min-height: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar { display: none; }
  .winner-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-height: 420px;
    height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 36px;
    overflow: hidden;
    background: #fff6ea url("../img/bg_winner.jpg") center / cover no-repeat;
    color: #ee7202;
  }
  .winner-card img, .winner-card .ph {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background: #f3d7b0;
  }
  .winner-card div {
    padding: 16px 16px 22px;
    text-align: center;
    background: transparent;
  }
  .winner-card strong {
    display: block;
    width: auto;
    font-size: 32px;
    line-height: 34px;
    font-weight: 700;
  }
  .winner-card__city { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; line-height: 1.2; }
  .winner-card__prize { margin: 10px 0 0; font-size: 16px; line-height: 1.2; font-weight: 700; color: #ee7202; }
  .winner-card__code { display: block; margin-top: 4px; font-size: 16px; line-height: 1.2; font-weight: 700; }
  #winnerDots button { background: rgba(255,255,255,.45); }
  #winnerDots button.is-active { background: #fff; }
  .search {
    width: 100%;
    height: 50px;
    margin: 18px auto 14px;
    padding: 0 16px 0 18px;
    background: rgba(255,255,255,.22);
    border-radius: 28px;
  }
  .search input { font-size: 16px; }
  .search button {
    width: 22px;
    height: 22px;
    flex: none;
    background: url("../img/ui/search-line.svg") center / 22px 22px no-repeat;
  }
  .search .search-ico { display: none; }
  #winners .table-wrap {
    overflow-x: auto;
    background: transparent;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
  }
  #winners table { width: 764px; min-width: 764px; border-collapse: separate; border-spacing: 0; color: #fff; }
  #winners th, #winners td { text-align: center; font-size: 13px; padding: 6px 8px; }
  #winners th {
    height: 28px;
    font-weight: 700;
    color: #ee7202;
    background: #fff;
    border: 0;
    position: relative;
  }
  #winners th:first-child { border-radius: 14px 0 0 14px; }
  #winners th:last-child { border-radius: 0 14px 14px 0; }
  #winners th + th:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 1px;
    height: 14px;
    background: #ee7202;
  }
  #winners td {
    height: auto;
    color: #fff;
    font-weight: 400;
    background: transparent;
    border: 0;
    border-top: 4px solid transparent;
  }
  .pager { align-items: center; gap: 16px; flex-wrap: nowrap; }
  .pager__arrow,
  .codes-pager .pager__arrow {
    width: 39px;
    height: 39px;
    min-width: 39px;
    padding: 0;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  #winners .pager__arrow {
    border: 0;
    background: transparent url("../img/ui/pager-arrow.svg") center / 39px 39px no-repeat;
  }
  #winners .pager__arrow svg { display: none; }
  #winners .pager__arrow--next { transform: scaleX(-1); }
  #winners .pager { gap: 13px; justify-content: center; }
  #winners .pager__status { min-width: 65px; font-size: 18px; font-weight: 400; }
  .codes-pager .pager__arrow { border-color: #005ca9; color: #005ca9; }
  .pager__arrow:disabled,
  .codes-pager .pager__arrow:disabled { opacity: .35; cursor: default; }
  .pager__status {
    min-width: 72px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }
  .pager__status b { color: #ffd500; font-weight: 700; }
  #winners .empty { color: #fff; }

  #faq {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    margin-bottom: -36px;
    padding: 32px 0 72px;
    border-radius: 36px 36px 0 0;
    overflow: hidden;
    background: #f8e3b8 url("../img/bg_faq.jpg") top center / cover no-repeat;
  }
  #faq h2 {
    font-size: 31px;
    line-height: 34px;
    font-weight: 700;
    letter-spacing: 0.15px;
    color: #ee7202;
    max-width: 280px;
    margin: 0 auto 8px;
  }
  .faq { width: auto; max-width: none; margin: 8px 0 0; }
  .faq details { border-bottom: 1px solid #ee7202; padding: 28px 0; }
  .faq summary {
    color: #ee7202;
    font-size: 24px;
    font-weight: 700;
    line-height: 25px;
    align-items: center;
    gap: 16px;
  }
  .faq summary:after,
  .faq details[open] summary:after {
    content: "";
    width: 21px;
    height: 21px;
    flex: none;
    font-size: 0;
    background:
      linear-gradient(#ee7202, #ee7202) center / 21px 1.5px no-repeat,
      linear-gradient(#ee7202, #ee7202) center / 1.5px 21px no-repeat;
  }
  .faq details[open] summary:after {
    background: linear-gradient(#ee7202, #ee7202) center / 21px 1.5px no-repeat;
  }
  .faq details p { margin: 10px 0 0; color: #ee7202; font-size: 16px; line-height: 1.1; font-weight: 400; }
  #faqMore {
    display: flex;
    width: 100%;
    min-height: 67px;
    margin: 18px 0 0;
    border-radius: 60px;
    background: #ee7202;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .footer {
    position: relative;
    z-index: 2;
    background: #005ca9;
    border-radius: 36px 36px 0 0;
    padding: 28px 0 32px;
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "links phone"
      "social social";
    align-items: start;
    justify-items: stretch;
    gap: 18px 12px;
    text-align: left;
  }
  .footer__links {
    grid-area: links;
    display: grid;
    justify-items: start;
    gap: 14px;
    text-align: left;
  }
  .footer__links a { font-size: 16px; font-weight: 400; line-height: 1.2; }
  .footer__phone { grid-area: phone; text-align: right; align-self: start; }
  .footer__phone a { font-size: 15px; font-weight: 400; white-space: nowrap; }
  .footer__phone span { margin-top: 4px; font-size: 11px; line-height: 1.25; opacity: .9; }
  .footer__social { grid-area: social; justify-content: center; gap: 20px; }
  .footer__social a {
    width: 25px;
    height: 25px;
    background: transparent;
    color: #fff;
    border: 0;
    padding: 0;
  }
  .footer__social img { width: 25px; height: 25px; display: block; }
  .footer__rule { height: 1px; margin: 16px auto 0; width: min(100% - 32px, 430px); background: rgba(255,255,255,.45); }
  .footer__bottom {
    margin-top: 16px;
    display: grid;
    gap: 16px;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    opacity: 1;
  }
  .footer__text p { margin: 0 0 12px; }
  .footer__policy { justify-items: start; text-align: left; }
  .footer__policy a { text-decoration: underline; text-underline-offset: 2px; }

  .app-view { align-items: flex-start; padding: 18px 0 36px; }
  .app-view .auth { width: min(100% - 32px, 430px); }
  .auth-card, .cabinet, .code-card {
    width: 100%;
    border-radius: 28px;
    padding: 28px 16px 24px;
    box-shadow: none;
  }
  .auth h1, .cabinet h1, #pane-codes h1, #pane-code-reg h1 {
    font-size: 28px;
    line-height: 1.15;
    text-align: center;
    margin: 8px 0 16px;
  }
  .cabinet-tabs {
    display: flex;
    width: min(100%, 328px);
    height: 54px;
    margin: 4px auto 18px;
    position: relative;
    z-index: 2;
    padding: 7px;
    gap: 6px;
    box-sizing: border-box;
    background: #fff4e6;
    border-radius: 999px;
  }
  .cabinet-tabs button {
    flex: 1;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ee7202;
    font-size: 16px;
    font-weight: 400;
  }
  .cabinet-tabs button.is-active { background: #005ca9; color: #fff; }
  .profile-grid, .reg-grid { display: flex; flex-direction: column; gap: 16px; }
  .profile-side { order: -1; width: 100%; gap: 12px; }
  .count-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff4e8;
    border-radius: 18px;
    padding: 14px 16px;
  }
  .count-card span { color: #ee7202; font-size: 14px; font-weight: 400; line-height: 1.25; max-width: 180px; }
  .count-card b { color: #ee7202; font-size: 48px; font-weight: 700; line-height: 1; }
  .profile-side .btn-orange { width: 100%; height: 56px; margin: 4px 0 8px; }
  .app-view .stack { gap: 20px; }
  .app-view .field select {
    width: 100%;
    height: 36px;
    border-radius: 20px;
    border: 1px solid rgba(238,114,2,.55);
    padding: 0 40px 0 16px;
    text-align: left;
    font-size: 16px;
    color: #ee7202;
    box-sizing: border-box;
  }
  .app-view .field select.is-empty { color: rgba(238,114,2,.45); }
  .app-view .field input,
  #codeForm .field input {
    width: 100%;
    height: 36px;
    border-radius: 20px;
    border: 1px solid rgba(238,114,2,.55);
    padding: 0 16px;
    text-align: left;
    font-size: 16px;
    color: #ee7202;
    box-sizing: border-box;
  }
  .app-view .field input::placeholder,
  #codeForm .field input::placeholder { color: rgba(238,114,2,.45); }
  #codeForm .field input { text-align: center; }
  .app-view .check {
    gap: 16px;
    margin: 0 0 16px;
    color: #ee7202;
    font-size: 14px;
    line-height: 1.25;
    align-items: flex-start;
  }
  .app-view .check input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 2px 0 0;
    border: 1px solid #005ca9;
    border-radius: 6px;
    background: #fff center / 14px 14px no-repeat;
    accent-color: transparent;
  }
  .app-view .check input:checked {
    background-color: #005ca9;
    border-color: #005ca9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.2 5.2 10.4 12 3.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  .app-view .check a { color: #ee7202; }
  .auth-card .hint, .auth-card--wide .hint { color: #ee7202; font-size: 14px; }
  .app-view .form-error:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 8px 0;
    padding: 10px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #d12023;
    color: #fff;
    text-align: center;
  }
  .auth-card .btn-orange,
  .auth-card--wide .btn-orange,
  #saveBtn,
  #codeForm .btn-orange,
  .profile-actions .logout {
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin: 8px 0 0;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 400;
  }
  .auth-card .btn-orange,
  .auth-card--wide .btn-orange,
  #saveBtn:disabled {
    background: rgba(238,114,2,.12);
    color: rgba(238,114,2,.55);
  }
  #codeForm .btn-orange,
  .profile-side .btn-orange.is-solid,
  #saveBtn.is-solid:not(:disabled),
  .auth-card .btn-orange.is-ready,
  .auth-card--wide .btn-orange.is-ready { background: #ee7202; color: #fff; }
  #codeForm .btn-orange:hover,
  .profile-side .btn-orange.is-solid:hover,
  #saveBtn.is-solid:not(:disabled):hover,
  .auth-card .btn-orange.is-ready:hover,
  .auth-card--wide .btn-orange.is-ready:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
  }
  #codeForm .btn-orange:active,
  .profile-side .btn-orange.is-solid:active,
  #saveBtn.is-solid:not(:disabled):active,
  .auth-card .btn-orange.is-ready:active,
  .auth-card--wide .btn-orange.is-ready:active {
    background: #005ca9;
    color: #fff;
    filter: none;
    transform: none;
  }
  .profile-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
  .profile-actions .logout { margin-top: 0; }
  #pane-code-reg:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 36px 16px 32px;
    text-align: center;
  }
  .code-form { width: 100%; gap: 24px; }
  .code-back { color: #ee7202; font-size: 16px; text-decoration: underline; }
  .codes-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 16px; }
  .codes-head .btn-orange { width: 100%; height: 56px; }
  .codes-layout { flex-direction: column; gap: 14px; }
  .codes-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
  }
  .codes-filters button {
    width: 100%;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(238,114,2,.55);
    border-radius: 999px;
    background: #fff;
    color: #ee7202;
    font-size: 14px;
  }
  .codes-filters button.is-active { background: #005ca9; border-color: #005ca9; color: #fff; }
  #pane-codes .table-wrap { display: none; }
  #codesCards { display: grid; gap: 0; }
  #codesCards[hidden] { display: none !important; }
  .codes-card {
    display: grid;
    gap: 18px;
    padding: 10px 2px 20px;
    border-bottom: 1px solid rgba(238,114,2,.28);
  }
  .codes-card p { margin: 0; }
  .codes-card span { display: block; color: #005ca9; font-size: 14px; font-weight: 400; line-height: 1.2; }
  .codes-card b { display: block; margin-top: 4px; color: #ee7202; font-size: 18px; font-weight: 700; line-height: 1.25; }
  .codes-card .code-dl { display: inline-block; margin-top: 4px; color: #ee7202; font-size: 13px; text-decoration: underline; }
  .codes-pager {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 22px auto 0;
  }
  .codes-pager .pager__arrow {
    display: inline-grid;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border-color: #005ca9;
    color: #005ca9;
    background: #fff;
  }
  .codes-pager__cur { color: #ee7202; font-size: 18px; font-weight: 700; line-height: 1; }
  .codes-pager__total { color: #005ca9; font-size: 18px; font-weight: 400; line-height: 1; }
  .ornament { width: 90px; opacity: .55; }
}
