@font-face {
    font-family: "Roboto Regular";
    src: url(/assets/Roboto-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Bold";
    src: url(/assets/Roboto-Bold.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: hsl(172 85% 8% / 1);
    font-family: "Roboto Regular", sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0; /* Changed 'auto' to '0' */
}

.crestbar {
    display: grid;
    grid-template-columns: auto 1fr;
    background-color: hsl(172 85% 8% / 1);
    box-shadow: 0 0 .625rem hsl(172deg 85% 8% / 50%);
    grid-template-areas:
        "logo top"
        "bottom bottom";
    padding-bottom: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
}

.crestbar__logo {
    display: flex;
    grid-area: logo;
}

.crestbar__logo-link {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    min-width: max-content;
    padding: .5rem;
    margin: 0 .5rem;
}

.crestbar__top {
    min-height: 3rem;
    align-items: center;
    display: flex;
    grid-area: top;
}

.crestbar__events {
    display: flex;
    flex-grow: 1;
    max-width: -moz-fit-content;
    max-width: fit-content;
    min-width: 0;
}

.crestbar__event {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    margin-right: .5rem;
}

.crestbar__event img {
    object-fit: contain;
    max-height: 2rem;
    width: 2rem;
}

.crestbar__event:first-child img {
    margin-left: .25rem;
}

.crestbar__controls {
    align-items: center;
    display: flex;
    gap: .5rem;
    padding: .25rem;
    margin-left: auto;
    margin-right: -.5rem;
}

.pressbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: auto;
    border-radius: 8px;
    position: relative;
    background-color: hsl(172 85% 13% / 1);
    transition: background-color .1s, color .1s;
    max-width: 10rem;
    color: hsl(0 0% 100% / 1);
    text-transform: uppercase;
    gap: .25rem;
    min-height: 2rem;
    min-width: 2rem;
    white-space: nowrap;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1rem;
}

.pressbtn:hover {
    background-color: hsl(173, 85%, 18%);
}

.pressbtn.pressbtn--bonus {
    text-align: center;
    padding: .25rem;
}

.pressbtn--bonus span {
    align-items: center;
    display: flex;
    font-weight: 700;
    justify-content: center;
    font-size: .5rem;
    height: .75rem;
    line-height: .5625rem;
    min-width: .75rem;
    border-radius: .5rem;
    background-color: hsl(288 91% 45% / 1);
    padding-left: 3px;
    padding-right: 3px;
    right: 3px;
    position: absolute;
    top: 3px;
    z-index: 50;
    color: hsl(0 0% 100% / 1);
}

.pressbtn--bonus svg {
    fill: rgb(255 255 255);
    font-size: 1rem;
    height: 1em;
    max-width: 100%;
    width: auto;
    transform-origin: center center;
    transition: transform .2s ease;
}

.pressbtn--bonus:hover svg {
    animation: btn-bonus-svg-tilt .5s ease forwards;
}

@keyframes btn-bonus-svg-tilt {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(12deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.pressbtn--accent {
    background-color: hsl(288 91% 45% / 1);
    padding: .25rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pressbtn--accent:hover {
    background-color: hsl(288, 80%, 52%);
}

.pressbtn--primary {
    padding: .25rem 1rem;
}

.crestbar__bottom {
    color: hsl(0 0% 100% / 1);
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    display: flex;
    grid-area: bottom;
    padding: .25rem;
    background-color: hsl(172 85% 10% / 1);
    border-radius: 8px;
}

.crestbar__menu {
    align-items: center;
    display: flex;
    min-width: 0;
    -moz-column-gap: .75rem;
    column-gap: .75rem;
}

.crestbar__menu-item {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: 2rem;
    border-radius: 8px;
    padding: .25rem .5rem;
    transition: opacity .2s;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .1px;
    transition: color .2s;
}

.crestbar__menu-item:hover {
    background-color: hsl(172 85% 13% / 1);
}

/* Mobile menu toggle (hamburger) — visible only on desktop in layout, styled on mobile */
.crestbar__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: hsl(172 85% 13% / 1);
    border-radius: 8px;
    color: hsl(0 0% 100% / 1);
    cursor: pointer;
}

.crestbar__menu-toggle-bar {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s, opacity .2s;
}

.crestbar--menu-open .crestbar__menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.crestbar--menu-open .crestbar__menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.crestbar--menu-open .crestbar__menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Нижняя мобильная плашка (скрыта на десктопе) */
.tapbar-screen {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: hsl(0 0% 100% / 1);
    box-shadow: 0 -2px 12px hsl(0 0% 0% / 0.08);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
    justify-content: space-around;
    align-items: stretch;
    gap: 0.125rem;
}

.tapbar-screen__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.25rem 0.125rem;
    text-decoration: none;
    color: hsl(0 0% 35% / 1);
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.tapbar-screen__item:active {
    opacity: 0.85;
}

.tapbar-screen__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tapbar-screen__label {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Mobile menu overlay */
.crestbar__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 105px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: hsl(172 85% 6% / 0.97);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.crestbar__mobile-menu-inner {
    padding: 1rem;
    padding-top: 4rem;
}

.crestbar__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.crestbar__mobile-nav-item {
    padding: 0.75rem 1rem;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .875rem;
    font-weight: 700;
    border-radius: 8px;
}

.crestbar__mobile-nav-item:hover {
    background: hsl(172 85% 13% / 1);
}

.main-nest {
    padding: 1.5rem .75rem 0;
}

/* Banner carousel */
.featurestrip2 {
    position: relative;
    overflow: hidden;
    min-height: 12rem;
    background: linear-gradient(135deg, hsl(172 85% 10% / 1) 0%, hsl(260 50% 12% / 1) 100%);
    border-radius: 8px;
    margin: 0 .5rem .5rem;
    height: 248px;
    --banner-current: 0;
    z-index: 0;
}


.featurestrip2__track {
    display: flex;
    width: 400%;
    min-height: 12rem;
    height: 100%;
    transition: transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(calc(-25% * var(--banner-current)));
}

.featurestrip2__slide {
    flex: 0 0 25%;
    width: 25%;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem 2.5rem 1.5rem;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.featurestrip2__slide::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 600px;
    width: 100%;
    background: linear-gradient(to right, hsl(0 0% 0% / 1) 0%, hsl(0 0% 0% / 1) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.featurestrip2__content {
    flex: auto;
    max-width: 37.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .5rem 2rem .5rem 3.5rem;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.featurestrip2__title {
    margin: 0 0 .5rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.5rem;
    line-height: 1.25;
    color: hsl(0 0% 100% / 1);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.featurestrip2__text {
    margin: 0 0 1rem;
    font-size: .9375rem;
    line-height: 1.4;
    color: hsl(0 0% 100% / 0.9);
}

.featurestrip2__btn:hover {
    background: hsl(288 80% 52% / 1);
}

.featurestrip2__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 4.5rem;
    padding: 0;
    border: 0;
    background-color: rgba(0, 0, 0, .2);
    color: hsl(0 0% 100% / 0.9);
    cursor: pointer;
    transition: background .2s, color .2s;
    z-index: 2;
}

.featurestrip2__arrow:hover {
    background: hsl(0 0% 100% / 0.25);
    color: hsl(0 0% 100% / 1);
}

.featurestrip2__arrow--prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.featurestrip2__arrow--next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.featurestrip2__arrow svg {
    display: block;
    margin: 0 auto;
}

.featurestrip2__dots {
    position: absolute;
    bottom: .75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 2;
}

.featurestrip2__dot {
    width: .5rem;
    height: .5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: hsl(0 0% 100% / 0.35);
    cursor: pointer;
    transition: background .2s;
}

.featurestrip2__dot:hover {
    background: hsl(0 0% 100% / 0.5);
}

.featurestrip2__dot--active {
    background: hsl(0 0% 100% / 1);
}

.linkset {
    display: flex;
    gap: .5rem;
    padding: 2rem .5rem .5rem;
    margin-top: 3rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    scrollbar-color: hsl(172 85% 10% / 1) hsl(172 85% 13% / 1);
    /* horizontal scroller: JS eases the wheel and adds drag momentum */
    cursor: grab;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.linkset::-webkit-scrollbar {
    display: none;
}

.linkset.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.linkset .linkset__item {
    -webkit-user-drag: none;
}


.linkset__item {
    align-items: flex-end;
    display: flex;
    min-width: 18.75rem;
    height: 6.25rem;
    width: calc(-0.8rem + 20vw);
    padding: 1rem;
    margin-right: 0.5rem;
    background-image: linear-gradient(90deg, hsl(171 63% 20% / 1) 50%, hsl(170 70% 12% / 1));
    border-radius: 8px;
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
    transition: background .2s, transform .15s;
    position: relative;
}

.linkset__item:hover {
    background: hsl(172 45% 28%);
}

.linkset__item img {
    order: 0;
    align-self: flex-end;
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: scale-down;
}

.linkset__item h3 {
    order: 1;
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.section-title {
    margin-bottom: 0;
    color: hsl(0 0% 100% / 1);
}

/* Content section: TOC, paragraphs, table, lists */
.textblock-alt {
    max-width: 72rem;           /* wide editorial column, small page edges */
    margin: 0 auto;
    padding: 1.5rem .5rem 2rem;
    color: hsl(0 0% 95% / 1);
}

/* Editorial images. Sources are mostly PORTRAIT phone screenshots (576x1072):
   max-height keeps them inside the fold and centred instead of running the full
   column height. Landscape images are unaffected - they hit max-width first. */
.textblock-alt img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    margin: 1.25rem auto;
    border-radius: 10px;
    border: 1px solid hsl(172 85% 20% / 1);
}

/* ...but the TOC bullet is chrome, not an editorial image */
.textblock-alt .indexlist img {
    display: inline-block;
    width: 20px;
    height: 20px;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
}

/* Breadcrumb bar (every non-home page) */
.tracepath {
    max-width: 72rem;
    margin: 0 auto;
    padding: .75rem .5rem 0;
    font-size: .8125rem;
    color: hsl(0 0% 70% / 1);
}

.tracepath a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.tracepath a:hover {
    text-decoration: underline;
}

.tracepath__sep {
    margin: 0 .4rem;
    color: hsl(0 0% 45% / 1);
}

.tracepath__current {
    color: hsl(0 0% 85% / 1);
}

/* Wide tables scroll inside their own box, never the page */
.grid-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.textblock-alt h1 {
    margin: 0 0 1rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.75rem;
    color: hsl(0 0% 100% / 1);
}

.textblock-alt h2 {
    margin: 1.5rem 0 .75rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.25rem;
    color: hsl(172 60% 75% / 1);
    scroll-margin-top: 1rem;
}

.textblock-alt p {
    margin: 0 0 1rem;
    line-height: 1.6;
    font-size: .9375rem;
}

.textblock-alt code {
    padding: .15rem .4rem;
    background: hsl(172 85% 12% / 1);
    border-radius: 4px;
    font-size: .875em;
}

.textblock-alt a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.textblock-alt a:hover {
    color: hsl(172 75% 80% / 1);
    text-decoration: underline;
}

.textblock-alt a:focus-visible {
    outline: 2px solid hsl(172 75% 55% / 1);
    outline-offset: 2px;
}

.textblock-alt li {
  line-height: 1.3;
  margin-bottom: 5px;
}

.indexlist {
    margin-bottom: 1.5rem;
    padding: 0;
    background: hsl(172 85% 12% / 1);
    border-radius: 8px;
    border: 1px solid hsl(172 85% 18% / 1);
}

.indexlist__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

.indexlist__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;
    border: 0;
    background: transparent;
    color: hsl(0 0% 100% / 1);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.indexlist__toggle:hover {
    color: hsl(172 75% 85% / 1);
}

.indexlist__icon {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.indexlist.indexlist--collapsed .indexlist__icon {
    transform: rotate(-90deg);
}

.indexlist__body {
    overflow: hidden;
    transition: max-height .25s ease;
}

.indexlist.indexlist--collapsed .indexlist__body {
    max-height: 0 !important;
}

.indexlist__list {
    margin: 0;
    padding: 0 1.25rem 1rem 1.5rem;
    list-style: none;
    counter-reset: none;
}

.indexlist__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .5rem;
}

.indexlist__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(192 85% 55%);
    font-weight: 700;
    font-size: 1rem;
}

.indexlist__list a {
    color: hsl(172 70% 75% / 1);
    text-decoration: none;
}

.indexlist__list a:hover {
    text-decoration: underline;
    color: hsl(172 75% 85% / 1);
}

.textblock-alt__table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid hsl(172 85% 18% / 1);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.content-table th,
.content-table td {
    padding: .6rem .75rem;
    text-align: left;
    border-bottom: 1px solid hsl(172 85% 18% / 1);
}

.content-table thead th {
    background: hsl(172 85% 14% / 1);
    color: hsl(0 0% 100% / 1);
    font-weight: 700;
}

.content-table tbody tr:hover {
    background: hsl(172 85% 14% / 0.5);
}

.content-table tbody td {
    color: hsl(0 0% 90% / 1);
}

.linkset.top-sports {
    margin-top: 1rem;
    padding-top: 0;
}

.top-sports .linkset__item {
    min-width: 179px;
    width: 179px;
    background: linear-gradient(180deg, hsl(172 85% 10% / 1) 0, hsl(172 85% 13% / 1)) padding-box, linear-gradient(to right, hsl(173deg 22% 66% / 20%) 0, hsl(172deg 85% 13% / 20%)) border-box;
    padding: .5rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background .2s, box-shadow .2s, transform .15s;
}

.top-sports .linkset__item:hover {
    background: linear-gradient(180deg, hsl(172 45% 24% / 1) 0, hsl(172 50% 20% / 1)) padding-box, linear-gradient(to right, hsl(173deg 22% 66% / 25%) 0, hsl(172deg 85% 13% / 25%)) border-box;
    box-shadow: 0 4px 12px hsl(0 0% 0% / 0.2), 0 2px 0 0 hsl(172 60% 45% / 0.2), inset 0 -10px 20px hsl(172 55% 50% / 0.25), inset 0 -2px 0 0 hsl(172 70% 58% / 0.5);
}

.top-sports .linkset__item:hover svg {
    fill: rgb(204 212 211);
}

.top-sports .linkset__item:hover h3 {
    color: rgb(204 212 211);
}

.top-sports .linkset__item svg {
    fill: rgb(181 197 195);
    flex-shrink: 0;
    height: 32px;
    width: 32px;
    margin-bottom: .5rem;
}

.top-sports .linkset__item h3 {
    font-size: .75rem;
}

.plinth {
    margin-top: 2rem;
    padding: 1rem .5rem 1.5rem;
    background: hsl(172 85% 8% / 1);
    color: hsl(172 12% 74% / 1);
}

.certgroup {
    --columns: 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .5rem;
    margin: 0 auto;
}

.foot-licence__container {
    grid-column: span 2;
    align-items: center;
    display: flex;
    gap: .5rem;
    border-radius: 8px;
    justify-content: center;
    background-color: hsl(172 85% 10% / 1);
    padding: .75rem;
}

.foot-licence__container--full-width {
    grid-column: span 8;
    flex-basis: auto;
    flex-grow: 0;
}

.permit-text {
    padding: .25rem 0;
}

.permit-text p {
    margin: 0;
}

.plinth__tile {
    padding: .75rem;
}

.plinth__legal {
    gap: .5rem;
}

.footer-copyright,
.plinth__copyright {
    margin: 0;
}

.footer-cookie {
    margin: 0;
}

.footer-cookie__text {
    display: block;
    margin: 0;
}

.footer-cookie__link {
    color: hsl(0 0% 100% / 1);
    text-decoration: none;
}

.footer-cookie__link:hover {
    text-decoration: underline;
}

.foot-social li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reach-hop-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.reach-hop-link__icon .fig__svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.reach-hop-link:hover {
    background-color: hsl(172 60% 45% / 1);
    color: hsl(0 0% 100% / 1);
}

.foot-licence__img {
    height: 3.75rem;
    -o-object-fit: contain;
    object-fit: contain;
}

.foot-licence__container--full-width p {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    color: hsl(172 12% 74% / 1);
    font-size: .75rem;
    line-height: .875rem;
    word-break: break-word;
}

.gridfoot__element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    --columns: 10;
    border-radius: 8px;
    grid-column: auto / span var(--columns);
    min-height: 0;
    color: hsl(172 12% 74% / 1);
    font-size: .75rem;
    line-height: .875rem;
}

.plinth__actions {
    --columns: 2;
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    grid-column: auto / span var(--columns);
    min-height: 0;
}

.plinth__additional {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .5rem;
}

.foot-social {
    flex-grow: 5;
    align-items: center;
    -moz-column-gap: .5rem;
    column-gap: .5rem;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    background-color: hsl(172 85% 10% / 1);
    list-style: none;
    padding: .75rem;
    margin: 0;
}

.reach-hop-link {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: hsl(208 32% 92% / 1);
    transition: background-color .1s, color .1s;
    min-height: 2rem;
    min-width: 2rem;
    color: hsl(0 0% 0% / 1);
}

.fig__svg {
    fill: rgb(0, 0, 0);
    height: 1em;
    max-width: 100%;
    width: auto;
}
.plinth__min-ages {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: .5rem;
}

.plinth__tile {
    display: flex;
    justify-content: center;
    background-color: hsl(172 85% 10% / 1);
    color: hsl(0 0% 100% / 1);
    padding: .5rem;
    border-radius: 8px;
    flex-grow: 1;
}
.plinth__min-age {
    padding: .75rem;
}
.foot-agemark__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    line-height: 1.5rem;
}
.plinth__action {
    background-color: hsl(172 85% 13% / 1);
    border-radius: 8px;
    transition: background-color .1s, color .1s;
    color: hsl(0 0% 100% / 1);
    width: 100%;
    text-transform: uppercase;
    text-decoration: none;
}

.button__container {
    align-items: center;
    align-self: stretch;
    display: flex;
    flex: auto;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    gap: .25rem;
    min-height: 2rem;
    min-width: 2rem;
    text-align: center;
    padding: .25rem 1rem;
}
.caption {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .875rem;
    line-height: 1rem;
}
.foot-payments {
    background-color: hsl(172 85% 10% / 1);
    color: hsl(0 0% 100% / 1);
    border-radius: 8px;
    padding: .75rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    scrollbar-color: hsl(172 85% 10% / 1) hsl(172 85% 13% / 1);
    margin-top: 0.75em;
}
.foot-payments__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.foot-payments__container.linkset {
    margin: 0;
}
.foot-payments__img {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 1.875rem;
    -o-object-fit: contain;
    object-fit: contain;
}
/* Mobile breakpoint */
@media (max-width: 920px) {
    body {
        --mobile-bar-height: 56px;
    }

    .foot-payments__container {
        gap: .5rem;
    }

    .foot-payments__img {
        width: 2.75rem;
        height: 1.5rem;
    }

    .crestbar {
        grid-template-areas:
            "logo top";
        grid-template-rows: auto;
        padding-bottom: 0;
    }

    .crestbar__top {
        justify-content: flex-end;
    }

    .crestbar__events {
        display: none;
    }

    .crestbar__controls .pressbtn--bonus {
        display: none;
    }

    .crestbar__controls {
        margin-left: 0;
    }

    /* Плашка замість смуги з бургером */
    .crestbar__bottom {
        display: none;
    }

    .crestbar__menu {
        display: none;
    }

    .crestbar__menu-toggle {
        display: none;
    }

    /* Оверлей над контентом, над плашкою знизу */
    .crestbar__mobile-menu {
        display: block;
        top: 0;
        bottom: var(--mobile-bar-height, 56px);
        z-index: 95;
    }

    .tapbar-screen {
        display: flex;
        min-height: var(--mobile-bar-height);
    }

    .main-nest {
        padding-bottom: calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    .crestbar--menu-open .crestbar__mobile-menu {
        opacity: 1;
        visibility: visible;
    }

    body.crestbar--menu-open {
        overflow: hidden;
    }
    .section-title {
        display: none;
    }
    .linkset.top-sports {
        display: none;
    }
  .certgroup {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featurestrip2 {
        min-height: 10rem;
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .featurestrip2__track {
        min-height: 10rem;
    }

    .featurestrip2__slide {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 1.25rem 2.5rem 2.25rem 1rem;
    }

    .featurestrip2__content {
        max-width: none;
    }

    .featurestrip2__title {
        font-size: 1.2rem;
    }

    .featurestrip2__media {
        display: none;
    }

    .featurestrip2__arrow {
        width: 2rem;
        height: 2rem;
    }

    .featurestrip2__arrow--prev {
        display: none;
    }

    .featurestrip2__arrow--next {
        display: none;
    }

    .linkset__item {
        width: calc(50% - .25rem);
    }

    .featurestrip2__content {
        flex: none;
        padding: 0;
        margin: 0;
    }

    .foot-licence__container,
    .foot-licence__container--full-width {
        grid-column: span 1;
    }

    .gridfoot__element {
        grid-column: span 1 !important;
    }
}

@media (max-width: 414px) {
    .crestbar__logo-link {
        padding: 0;
        margin: 0;
    }

    .crestbar__logo-img {
        width: 120px;
        height: 24px;
    }

    .pressbtn {
        max-width: 7rem;
        font-size: .74rem;
    }

    .linkset__item {
        width: 100%;
    }

    .main-nest {
        padding: 0.5rem 0.5rem calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    /* .main-nest 8px + .textblock-alt 14px = 22px side gutter, so prose never hugs the edge */
    .textblock-alt,
    .tracepath {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}

.askvault {
    margin: 20px auto;
    border-radius: 16px;
    color: #f5f5f5;
}
.askvault h2 {
    margin-bottom: 10px;
}
.ask-line {
    margin-bottom: 15px;
}
.qhead {
    position: relative;
    font-weight: 400;
    font-size: 18px;
    color: #f5f5f5;
    padding: 20px 60px 20px 10px;
    border: 1px solid #af00d8;
    border-radius: 16px;
    background: radial-gradient(500px at left, #292B27, #9747ff);
    overflow: hidden;
    cursor: pointer;
    font-size: 20px;
    padding: 30px 100px 30px 15px;
    position: relative;
    width: 100%;
    text-align: left;
}

.question-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-radius: 0 0 8px 8px;
    padding: 0 10px;
    color: #f5f5f5;
}
.ask-line.active .question-text {
    max-height: 1000px;
    padding: 10px 20px;
    margin-bottom: 5px;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Adds the horizontal scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 20px;
}

td, th {
    border: 1px solid;
    padding: .5em;
    white-space: nowrap; /* Prevents text from stacking vertically in tiny columns */
}

.text-cta {
  margin: 30px 0 40px;
  text-align: left;
}

.act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: all .3s ease;
}

.act-btn.maintone {
  background: #d3e512;
  color: #292b27;
}

.act-btn.maintone:hover {
  /* Moves the shadow down and makes it dark/transparent */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); /* Optional: lifts the button slightly */
}

.text-cta.axiscore {
  text-align: center;
}

.content-list {
    margin: 1.5rem 0;
    padding-left: 0; /* Remove default padding to use custom alignment */
    list-style: none; /* Hide default bullets/numbers */
}

.content-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: hsl(0 0% 90% / 1);
}

/* Custom Bulleted List */
.content-list--bulleted li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em; /* Aligns with the first line of text */
    width: 6px;
    height: 6px;
    background-color: hsl(172 70% 65% / 1);
    border-radius: 50%;
    box-shadow: 0 0 8px hsl(172 70% 65% / 0.4);
}

/* Custom Numbered List */
.content-list--numbered {
    counter-reset: custom-counter;
}

.content-list--numbered li {
    counter-increment: custom-counter;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list--numbered li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    color: hsl(172 70% 65% / 1);
    font-weight: 700;
    font-family: "Roboto Bold", sans-serif;
    font-size: 0.9em;
}

/* Desktop specific adjustments for tables */
@media (min-width: 921px) {
    .textblock-alt__table-wrap, 
    .table-container {
        overflow-x: visible; /* No scroll needed on desktop */
    }

    table, 
    .content-table {
        display: table; /* Reset from 'block' to default table behavior */
        width: 100%;    /* Force it to stretch the full width of the container */
        table-layout: auto; /* Allows columns to adjust to content size */
    }

    td, th {
        white-space: normal; /* Allows text to wrap on desktop so columns don't get too wide */
    }
}

.row_section {
    order: 1;
    margin: 0;
    font-size: .9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    color: #ffffff;
}
/* ---- leaf overrides: poland-spinbetter.org ---- */
@media (min-width: 921px){
  .crestbar__menu{ overflow-x:auto; scrollbar-width:none; flex-wrap:nowrap; }
  .crestbar__menu::-webkit-scrollbar{ display:none; }
}
.primeshot{ margin:0 0 1.25rem; }
.primeshot img{ margin:0 auto; max-width:100%; height:auto; border-radius:12px; }
.primeshot img.zoomable{ cursor:zoom-in; }
@media (min-width: 921px){
  .linkset:not(.top-sports){ overflow-x:visible; cursor:default; gap:.625rem; padding-top:1.5rem; margin-top:2rem; }
  .linkset:not(.top-sports) .linkset__item{ flex:1 1 0; min-width:0; width:auto; height:4.75rem; margin-right:0; padding:.75rem .875rem; }
  .linkset:not(.top-sports) .linkset__item img{ width:5.25rem; height:5.25rem; }
  .linkset:not(.top-sports) .row_section{ font-size:.8125rem; max-width:55%; line-height:1.15; }
}
.permit-text{ text-align:center; }
.bottom-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:.25rem 1.25rem;
  margin-bottom:.625rem; padding-bottom:.625rem; border-bottom:1px solid hsl(172 60% 18% / 1); }
.bottom-nav a{ color:hsl(0 0% 100% / .82); text-decoration:none; font-size:.8125rem; font-weight:700; }
.bottom-nav a:hover{ color:hsl(288 80% 75% / 1); }
.signfoot{ margin:0 0 .25rem; font-size:.8125rem; font-weight:700; color:hsl(0 0% 100% / .9); }
.foot-provisions{ margin:0 auto; max-width:46rem; font-size:.75rem; line-height:1.45; color:hsl(172 14% 66% / 1); }

/* Mobile menu: the shared skin flips it to display:block inside the mobile media
   query and only fades it with opacity/visibility, so the nav links stay in the
   layout tree on first load. CLAUDE.md requires display:none by default on mobile,
   flipped by the open-state class — enforce that here. */
@media (max-width: 920px){
  .crestbar__mobile-menu{ display:none; }
  .crestbar--menu-open .crestbar__mobile-menu{ display:block; opacity:1; visibility:visible; }
}

/* promo-code copy widget */
.promo-widget{ display:flex; flex-direction:column; gap:.65rem; max-width:34rem;
  background:linear-gradient(150deg,hsl(172 85% 13% / 1),hsl(172 85% 9% / 1));
  border:1px dashed hsl(288 91% 55% / 1); border-radius:12px; padding:1rem 1.15rem; margin:1.5rem 0; }
.promo-widget__label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.09em; color:hsl(288 60% 82% / 1); }
.promo-widget__row{ display:flex; align-items:stretch; gap:.6rem; flex-wrap:wrap; }
.promo-widget__code{ font-family:"Roboto Bold",monospace; font-size:1.05rem; letter-spacing:.16em;
  color:hsl(0 0% 100% / 1); background:hsl(172 85% 7% / 1); border:1px solid hsl(172 85% 24% / 1);
  border-radius:8px; padding:.55rem .9rem; user-select:all; }
.promo-widget__hint{ font-size:.85rem; color:hsl(172 20% 72% / 1); }
.copy-code{ background:hsl(288 91% 45% / 1); color:#fff; border:0; border-radius:8px;
  padding:.55rem 1.05rem; cursor:pointer; font:inherit; font-weight:700; white-space:nowrap; }
.copy-code:hover{ background:hsl(288 80% 52% / 1); }
.copy-code:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.copy-code.is-copied{ background:hsl(150 60% 35% / 1); }
@media (max-width:420px){ .promo-widget__row{ flex-direction:column; } .copy-code{ width:100%; } }

/* sortable comparison table */
.sortable table{ width:100%; }
.sortable th[data-sort]{ cursor:pointer; user-select:none; white-space:nowrap; }
.sortable th[data-sort]::after{ content:"\2195"; opacity:.45; margin-left:.35rem; font-size:.8em; }
.sortable th[data-sort].is-asc::after{ content:"\2191"; opacity:1; }
.sortable th[data-sort].is-desc::after{ content:"\2193"; opacity:1; }
.sortable th[data-sort]:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:-2px; }
.sortable__hint{ font-size:.82rem; color:hsl(172 20% 72% / 1); margin:.35rem 0 0; }

/* scroll-triggered counters */
.counters{ display:flex; flex-wrap:wrap; gap:.75rem; margin:1.5rem 0; }
.counter{ flex:1 1 8.5rem; background:hsl(172 85% 11% / 1); border:1px solid hsl(172 85% 20% / 1);
  border-radius:10px; padding:.9rem 1rem; text-align:center; }
.counter__value{ display:block; font-family:"Roboto Bold",sans-serif; font-size:1.55rem;
  line-height:1.1; color:hsl(288 80% 78% / 1); }
.counter__label{ display:block; margin-top:.3rem; font-size:.82rem; color:hsl(172 20% 74% / 1); }

/* table view switcher */
.tswitch{ margin:1.5rem 0; }
.tswitch__row{ display:inline-flex; gap:.35rem; background:hsl(172 85% 9% / 1);
  border:1px solid hsl(172 85% 22% / 1); border-radius:999px; padding:.25rem; margin-bottom:.75rem; }
.tswitch__btn{ background:none; border:0; border-radius:999px; padding:.35rem 1rem; cursor:pointer;
  font:inherit; font-size:.875rem; color:hsl(172 20% 74% / 1); }
.tswitch__btn.is-on{ background:hsl(288 91% 45% / 1); color:#fff; font-weight:700; }
.tswitch__btn:focus-visible{ outline:2px solid hsl(288 91% 75% / 1); outline-offset:2px; }
.tswitch [data-col="b"]{ display:none; }
.tswitch.show-b [data-col="a"]{ display:none; }
.tswitch.show-b [data-col="b"]{ display:table-cell; }
.tswitch .note{ margin:.35rem 0 0; font-size:.82rem; color:hsl(172 20% 72% / 1); }

/* hero lightbox */
.zoom-layer{ position:fixed; inset:0; z-index:140; background:hsl(0 0% 0% / .86);
  display:flex; align-items:center; justify-content:center; padding:1.5rem; cursor:zoom-out; }
.zoom-layer[hidden]{ display:none; }
.zoom-layer img{ max-width:100%; max-height:100%; border-radius:10px; }

/* back to top */
.peakcue{ position:fixed; right:16px; bottom:72px; z-index:80; display:none;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background:hsl(288 91% 45% / 1); color:#fff; font-size:1.2rem; }
.peakcue.show{ display:block; }
@media (min-width:921px){ .peakcue{ bottom:24px; } }

/* in-page table of contents */
.indexlist{ margin:.35rem 0 1.5rem; padding:1rem 1.25rem; border:1px solid hsl(172 85% 20% / 1);
  border-left:3px solid hsl(288 91% 55% / 1); border-radius:10px;
  background:hsl(172 85% 11% / 1); }
.indexlist .indexlist__title{ margin:0 0 .6rem; font-size:.95rem; text-transform:uppercase;
  letter-spacing:.07em; color:hsl(288 60% 82% / 1); }
/* Single column at every width (user directive) — a wrapped entry then simply
   takes two lines instead of leaving a blank slot beside it. */
.indexlist__list{ margin:0; padding:0; list-style:none; }
.indexlist__list li{ margin:0 0 .45rem; padding-left:1.5rem; position:relative; }
.indexlist__list li:last-child{ margin-bottom:0; }
.indexlist__list a{ color:hsl(0 0% 100% / .88); text-decoration:none;
  border-bottom:1px solid transparent; }
.indexlist__list a:hover, .indexlist__list a:focus-visible{ color:hsl(288 80% 80% / 1);
  border-bottom-color:currentColor; }
html{ scroll-behavior:smooth; }
main.textblock-alt h2{ scroll-margin-top:1rem; }
