@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' */
}

.headrail {
    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;
}

.headrail__logo {
    display: flex;
    grid-area: logo;
}

.headrail__logo-link {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    min-width: max-content;
    padding: .5rem;
    margin: 0 .5rem;
}

.headrail__top {
    min-height: 3rem;
    align-items: center;
    display: flex;
    grid-area: top;
}

.headrail__events {
    display: flex;
    flex-grow: 1;
    max-width: -moz-fit-content;
    max-width: fit-content;
    min-width: 0;
}

.headrail__event {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    margin-right: .5rem;
}

.headrail__event img {
    object-fit: contain;
    max-height: 2rem;
    width: 2rem;
}

.headrail__event:first-child img {
    margin-left: .25rem;
}

.headrail__controls {
    align-items: center;
    display: flex;
    gap: .5rem;
    padding: .25rem;
    margin-left: auto;
    margin-right: -.5rem;
}

.prs {
    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;
}

.prs:hover {
    background-color: hsl(173, 85%, 18%);
}

.prs.prs--bonus {
    text-align: center;
    padding: .25rem;
}

.prs--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);
}

.prs--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;
}

.prs--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);
    }
}

.prs--accent {
    background-color: hsl(288 91% 45% / 1);
    padding: .25rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prs--accent:hover {
    background-color: hsl(288, 80%, 52%);
}

.prs--primary {
    padding: .25rem 1rem;
}

.headrail__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;
}

.headrail__menu {
    align-items: center;
    display: flex;
    min-width: 0;
    -moz-column-gap: .75rem;
    column-gap: .75rem;
}

.headrail__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;
}

.headrail__menu-item:hover {
    background-color: hsl(172 85% 13% / 1);
}

/* Mobile menu toggle (hamburger) — visible only on desktop in layout, styled on mobile */
.headrail__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;
}

.headrail__menu-toggle-bar {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s, opacity .2s;
}

.headrail--menu-open .headrail__menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.headrail--menu-open .headrail__menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.headrail--menu-open .headrail__menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Нижняя мобильная плашка (скрыта на десктопе) */
.thumbrail-x {
    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;
}

.thumbrail-x__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;
}

.thumbrail-x__item:active {
    opacity: 0.85;
}

.thumbrail-x__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thumbrail-x__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 */
.headrail__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;
}

.headrail__mobile-menu-inner {
    padding: 1rem;
    padding-top: 4rem;
}

.headrail__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.headrail__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;
}

.headrail__mobile-nav-item:hover {
    background: hsl(172 85% 13% / 1);
}

.corepane {
    padding: 1.5rem .75rem 0;
}

/* Banner carousel */
.spotlightstrip {
    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;
}


.spotlightstrip__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)));
}

.spotlightstrip__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;
}

.spotlightstrip__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;
}

.spotlightstrip__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;
}

.spotlightstrip__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;
}

.spotlightstrip__text {
    margin: 0 0 1rem;
    font-size: .9375rem;
    line-height: 1.4;
    color: hsl(0 0% 100% / 0.9);
}

.spotlightstrip__btn:hover {
    background: hsl(288 80% 52% / 1);
}

.spotlightstrip__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;
}

.spotlightstrip__arrow:hover {
    background: hsl(0 0% 100% / 0.25);
    color: hsl(0 0% 100% / 1);
}

.spotlightstrip__arrow--prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.spotlightstrip__arrow--next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.spotlightstrip__arrow svg {
    display: block;
    margin: 0 auto;
}

.spotlightstrip__dots {
    position: absolute;
    bottom: .75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 2;
}

.spotlightstrip__dot {
    width: .5rem;
    height: .5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: hsl(0 0% 100% / 0.35);
    cursor: pointer;
    transition: background .2s;
}

.spotlightstrip__dot:hover {
    background: hsl(0 0% 100% / 0.5);
}

.spotlightstrip__dot--active {
    background: hsl(0 0% 100% / 1);
}

.signpost {
    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;
}

.signpost::-webkit-scrollbar {
    display: none;
}

.signpost.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.signpost .signpost__item {
    -webkit-user-drag: none;
}


.signpost__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;
}

.signpost__item:hover {
    background: hsl(172 45% 28%);
}

.signpost__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;
}

.signpost__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 */
.articlezone {
    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. */
.articlezone 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 */
.articlezone .indexbox img {
    display: inline-block;
    width: 20px;
    height: 20px;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
}

/* Breadcrumb bar (every non-home page) */
.steptrail {
    max-width: 72rem;
    margin: 0 auto;
    padding: .75rem .5rem 0;
    font-size: .8125rem;
    color: hsl(0 0% 70% / 1);
}

.steptrail a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.steptrail a:hover {
    text-decoration: underline;
}

.steptrail__sep {
    margin: 0 .4rem;
    color: hsl(0 0% 45% / 1);
}

.steptrail__current {
    color: hsl(0 0% 85% / 1);
}

/* Wide tables scroll inside their own box, never the page */
.grid-rail {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.articlezone h1 {
    margin: 0 0 1rem;
    font-family: "Roboto Bold", sans-serif;
    font-size: 1.75rem;
    color: hsl(0 0% 100% / 1);
}

.articlezone 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;
}

.articlezone p {
    margin: 0 0 1rem;
    line-height: 1.6;
    font-size: .9375rem;
}

.articlezone code {
    padding: .15rem .4rem;
    background: hsl(172 85% 12% / 1);
    border-radius: 4px;
    font-size: .875em;
}

.articlezone a {
    color: hsl(172 70% 65% / 1);
    text-decoration: none;
}

.articlezone a:hover {
    color: hsl(172 75% 80% / 1);
    text-decoration: underline;
}

.articlezone a:focus-visible {
    outline: 2px solid hsl(172 75% 55% / 1);
    outline-offset: 2px;
}

.articlezone li {
  line-height: 1.3;
  margin-bottom: 5px;
}

.indexbox {
    margin-bottom: 1.5rem;
    padding: 0;
    background: hsl(172 85% 12% / 1);
    border-radius: 8px;
    border: 1px solid hsl(172 85% 18% / 1);
}

.indexbox__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

.indexbox__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;
}

.indexbox__toggle:hover {
    color: hsl(172 75% 85% / 1);
}

.indexbox__icon {
    flex-shrink: 0;
    transition: transform .2s ease;
}

.indexbox.indexbox--collapsed .indexbox__icon {
    transform: rotate(-90deg);
}

.indexbox__body {
    overflow: hidden;
    transition: max-height .25s ease;
}

.indexbox.indexbox--collapsed .indexbox__body {
    max-height: 0 !important;
}

.indexbox__list {
    margin: 0;
    padding: 0 1.25rem 1rem 1.5rem;
    list-style: none;
    counter-reset: none;
}

.indexbox__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .5rem;
}

.indexbox__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(192 85% 55%);
    font-weight: 700;
    font-size: 1rem;
}

.indexbox__list a {
    color: hsl(172 70% 75% / 1);
    text-decoration: none;
}

.indexbox__list a:hover {
    text-decoration: underline;
    color: hsl(172 75% 85% / 1);
}

.articlezone__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);
}

.signpost.top-sports {
    margin-top: 1rem;
    padding-top: 0;
}

.top-sports .signpost__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 .signpost__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 .signpost__item:hover svg {
    fill: rgb(204 212 211);
}

.top-sports .signpost__item:hover h3 {
    color: rgb(204 212 211);
}

.top-sports .signpost__item svg {
    fill: rgb(181 197 195);
    flex-shrink: 0;
    height: 32px;
    width: 32px;
    margin-bottom: .5rem;
}

.top-sports .signpost__item h3 {
    font-size: .75rem;
}

.bottomframe {
    margin-top: 2rem;
    padding: 1rem .5rem 1.5rem;
    background: hsl(172 85% 8% / 1);
    color: hsl(172 12% 74% / 1);
}

.credentialset {
    --columns: 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .5rem;
    margin: 0 auto;
}

.licence-row__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;
}

.licence-row__container--full-width {
    grid-column: span 8;
    flex-basis: auto;
    flex-grow: 0;
}

.footerlicensetext-span {
    padding: .25rem 0;
}

.footerlicensetext-span p {
    margin: 0;
}

.bottomframe__tile {
    padding: .75rem;
}

.bottomframe__legal {
    gap: .5rem;
}

.footer-copyright,
.bottomframe__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-links-social li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footersocialsiconslink-span__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footersocialsiconslink-span__icon .badge__svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.footersocialsiconslink-span:hover {
    background-color: hsl(172 60% 45% / 1);
    color: hsl(0 0% 100% / 1);
}

.licence-row__img {
    height: 3.75rem;
    -o-object-fit: contain;
    object-fit: contain;
}

.licence-row__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;
}

.base-lattice__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;
}

.bottomframe__actions {
    --columns: 2;
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    grid-column: auto / span var(--columns);
    min-height: 0;
}

.bottomframe__additional {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .5rem;
}

.foot-links-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;
}

.footersocialsiconslink-span {
    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);
}

.badge__svg {
    fill: rgb(0, 0, 0);
    height: 1em;
    max-width: 100%;
    width: auto;
}
.bottomframe__min-ages {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: .5rem;
}

.bottomframe__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;
}
.bottomframe__min-age {
    padding: .75rem;
}
.foot-agebadge__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    line-height: 1.5rem;
}
.bottomframe__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;
}
.pay-band {
    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;
}
.pay-band__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.pay-band__container.signpost {
    margin: 0;
}
.pay-band__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;
    }

    .pay-band__container {
        gap: .5rem;
    }

    .pay-band__img {
        width: 2.75rem;
        height: 1.5rem;
    }

    .headrail {
        grid-template-areas:
            "logo top";
        grid-template-rows: auto;
        padding-bottom: 0;
    }

    .headrail__top {
        justify-content: flex-end;
    }

    .headrail__events {
        display: none;
    }

    .headrail__controls .prs--bonus {
        display: none;
    }

    .headrail__controls {
        margin-left: 0;
    }

    /* Плашка замість смуги з бургером */
    .headrail__bottom {
        display: none;
    }

    .headrail__menu {
        display: none;
    }

    .headrail__menu-toggle {
        display: none;
    }

    /* Оверлей над контентом, над плашкою знизу */
    .headrail__mobile-menu {
        display: block;
        top: 0;
        bottom: var(--mobile-bar-height, 56px);
        z-index: 95;
    }

    .thumbrail-x {
        display: flex;
        min-height: var(--mobile-bar-height);
    }

    .corepane {
        padding-bottom: calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    .headrail--menu-open .headrail__mobile-menu {
        opacity: 1;
        visibility: visible;
    }

    body.headrail--menu-open {
        overflow: hidden;
    }
    .section-title {
        display: none;
    }
    .signpost.top-sports {
        display: none;
    }
  .credentialset {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .spotlightstrip {
        min-height: 10rem;
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .spotlightstrip__track {
        min-height: 10rem;
    }

    .spotlightstrip__slide {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 1.25rem 2.5rem 2.25rem 1rem;
    }

    .spotlightstrip__content {
        max-width: none;
    }

    .spotlightstrip__title {
        font-size: 1.2rem;
    }

    .spotlightstrip__media {
        display: none;
    }

    .spotlightstrip__arrow {
        width: 2rem;
        height: 2rem;
    }

    .spotlightstrip__arrow--prev {
        display: none;
    }

    .spotlightstrip__arrow--next {
        display: none;
    }

    .signpost__item {
        width: calc(50% - .25rem);
    }

    .spotlightstrip__content {
        flex: none;
        padding: 0;
        margin: 0;
    }

    .licence-row__container,
    .licence-row__container--full-width {
        grid-column: span 1;
    }

    .base-lattice__element {
        grid-column: span 1 !important;
    }
}

@media (max-width: 414px) {
    .headrail__logo-link {
        padding: 0;
        margin: 0;
    }

    .headrail__logo-img {
        width: 120px;
        height: 24px;
    }

    .prs {
        max-width: 7rem;
        font-size: .74rem;
    }

    .signpost__item {
        width: 100%;
    }

    .corepane {
        padding: 0.5rem 0.5rem calc(var(--mobile-bar-height, 56px) + 1rem);
    }

    /* .corepane 8px + .articlezone 14px = 22px side gutter, so prose never hugs the edge */
    .articlezone,
    .steptrail {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}

.qalist {
    margin: 20px auto;
    border-radius: 16px;
    color: #f5f5f5;
}
.qalist h2 {
    margin-bottom: 10px;
}
.question-row {
    margin-bottom: 15px;
}
.querytitle {
    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;
}

.qa-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-radius: 0 0 8px 8px;
    padding: 0 10px;
    color: #f5f5f5;
}
.question-row.active .qa-body {
    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 */
}

.body-cta {
  margin: 30px 0 40px;
  text-align: left;
}

.enter-button {
  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;
}

.enter-button.topclass {
  background: #d3e512;
  color: #292b27;
}

.enter-button.topclass: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 */
}

.body-cta.pivotcore {
  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) {
    .articlezone__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 */
    }
}

.band_heading {
    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 ---- */
@media (min-width: 921px){
  .headrail__menu{ overflow-x:auto; scrollbar-width:none; flex-wrap:nowrap; }
  .headrail__menu::-webkit-scrollbar{ display:none; }
}
.topshot2{ margin:0 0 1.25rem; }
.topshot2 img{ margin:0 auto; max-width:100%; height:auto; }
@media (min-width: 921px){
  .signpost:not(.top-sports){ overflow-x:visible; cursor:default; gap:.625rem; padding-top:1.5rem; margin-top:2rem; }
  .signpost:not(.top-sports) .signpost__item{ flex:1 1 0; min-width:0; width:auto; height:4.75rem; margin-right:0; padding:.75rem .875rem; }
  .signpost:not(.top-sports) .signpost__item img{ width:5.25rem; height:5.25rem; }
  .signpost:not(.top-sports) .band_heading{ font-size:.8125rem; max-width:55%; line-height:1.15; }
}
.footerlicensetext-span{ text-align:center; }
.foot-links{ 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); }
.foot-links a{ color:hsl(0 0% 100% / .82); text-decoration:none; font-size:.8125rem; font-weight:700; }
.foot-links a:hover{ color:hsl(288 80% 75% / 1); }
.claimfoot-x{ margin:0 0 .25rem; font-size:.8125rem; font-weight:700; color:hsl(0 0% 100% / .9); }
.foot-ordinance{ margin:0 auto; max-width:46rem; font-size:.75rem; line-height:1.45; color:hsl(172 14% 66% / 1); }
.wrap{ max-width:75rem; margin:0 auto; padding:0 22px; }
.steptrail{ padding:.75rem 0 0; font-size:.8125rem; color:hsl(172 14% 70% / 1); }
.steptrail a{ color:hsl(288 70% 78% / 1); text-decoration:none; }
.steptrail__sep{ margin:0 .4rem; }
.riseline{ 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; }
.riseline.show{ display:block; }
@media (min-width:921px){ .riseline{ bottom:24px; } }
/* ---- promo code 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); margin:0; }
.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.is-copied{ background:hsl(150 60% 35% / 1); }
@media (max-width:420px){ .promo-widget__row{ flex-direction:column; } .copy-code{ width:100%; } }
/* ---- leaf widget shell ---- */
.kompas,.latarka,.klepsydra,.drogowskaz,.suwmiarka,.pryzmat,.zwrotnica,.przelacznik{
  background:hsl(172 85% 11% / 1); border:1px solid hsl(172 85% 19% / 1);
  border-radius:12px; padding:1rem 1.15rem; margin:1.5rem 0; }
.kompas__out,.latarka__out,.klepsydra__out,.drogowskaz__out,.suwmiarka__out,
.pryzmat__out,.zwrotnica__out,.przelacznik__out{
  margin:.85rem 0 0; font-size:.95rem; color:hsl(172 25% 84% / 1); }
.kompas__arm,.latarka__beam,.klepsydra__grain,.drogowskaz__sign,.suwmiarka__jaw,
.pryzmat__face,.zwrotnica__switch,.przelacznik__side,.przelacznik__trait{
  background:hsl(172 85% 15% / 1); color:#fff; border:1px solid hsl(172 60% 26% / 1);
  border-radius:8px; padding:.5rem .85rem; cursor:pointer; font:inherit; text-align:left; }
.kompas__arm:hover,.latarka__beam:hover,.klepsydra__grain:hover,.drogowskaz__sign:hover,
.suwmiarka__jaw:hover,.pryzmat__face:hover,.zwrotnica__switch:hover,
.przelacznik__side:hover,.przelacznik__trait:hover{ border-color:hsl(288 70% 55% / 1); }
.is-on{ background:hsl(288 70% 34% / 1) !important; border-color:hsl(288 91% 60% / 1) !important; }
.kompas__dial{ display:grid; grid-template-columns:repeat(4,1fr); gap:.5rem; }
@media (max-width:640px){ .kompas__dial{ grid-template-columns:repeat(2,1fr); } }
.latarka__beams,.drogowskaz__signs,.pryzmat__faces,.przelacznik__sides,.przelacznik__traits{
  display:flex; flex-wrap:wrap; gap:.5rem; }
.przelacznik__traits{ margin-top:.5rem; }
.klepsydra__grains,.suwmiarka__jaws{ display:grid; grid-template-columns:repeat(2,1fr); gap:.5rem; }
@media (max-width:640px){ .klepsydra__grains,.suwmiarka__jaws{ grid-template-columns:1fr; } }
.zwrotnica__track{ display:grid; grid-template-columns:repeat(4,1fr); gap:.45rem; }
@media (max-width:640px){ .zwrotnica__track{ grid-template-columns:repeat(2,1fr); } }
.klepsydra__grain[data-lock="trwale"]{ border-left:4px solid hsl(354 70% 52% / 1); }
.klepsydra__grain[data-lock="prawie"]{ border-left:4px solid hsl(38 85% 52% / 1); }
.klepsydra__grain[data-lock="odwracalne"]{ border-left:4px solid hsl(150 60% 42% / 1); }
.drogowskaz__sign[data-verdict="tak"]{ border-left:4px solid hsl(150 60% 42% / 1); }
.drogowskaz__sign[data-verdict="warunkowo"]{ border-left:4px solid hsl(38 85% 52% / 1); }
.drogowskaz__sign[data-verdict="nie"]{ border-left:4px solid hsl(354 70% 52% / 1); }
.note{ font-size:.9rem; color:hsl(172 20% 76% / 1); }

/* in-page table of contents */
.indexbox{ 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); }
.indexbox .indexbox__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. */
.indexbox__list{ margin:0; padding:0; list-style:none; }
.indexbox__list li{ margin:0 0 .45rem; padding-left:1.5rem; position:relative; }
.indexbox__list li:last-child{ margin-bottom:0; }
.indexbox__list a{ color:hsl(0 0% 100% / .88); text-decoration:none;
  border-bottom:1px solid transparent; }
.indexbox__list a:hover, .indexbox__list a:focus-visible{ color:hsl(288 80% 80% / 1);
  border-bottom-color:currentColor; }
html{ scroll-behavior:smooth; }
main.articlezone h2{ scroll-margin-top:1rem; }
