@font-face {
    font-family: Show;
    src: url('/newyear_games/assets/fonts/font-sans.woff') format('woff');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Show;
    src: url('/newyear_games/assets/fonts/font-sans-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap
}

:root {
    --purple: #4938d1;
    --purple-deep: #3626ae;
    --red: #d10c24;
    --red-hover: #b8071c;
    --navy: #041829;
    --white: #fff;
    --paper: #fafafa;
    --muted: #565860;
    --line: #d2d2d8;
    --gutter: clamp(22px, 5vw, 80px);
    --shadow: 7px 7px 0 #261c86;
    --content: 1320px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 26px
}

body {
    margin: 0;
    background: var(--purple);
    color: var(--navy);
    font: 16px/1.65 Show, Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: 1.06
}

a {
    color: inherit;
    text-decoration: none
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation
}

button {
    font: inherit;
    cursor: pointer
}

button,
a {
    transition: background .18s, color .18s, box-shadow .18s, transform .18s
}

button:disabled {
    cursor: wait;
    opacity: .55
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #ffdf56;
    outline-offset: 5px
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

button {
    border: 0
}

.wrap {
    max-width: var(--content);
    margin-inline: auto;
    padding-inline: var(--gutter)
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .1em;
    font-weight: 700;
    line-height: 1.5
}

.site-header {
    max-width: none;
    min-height: 88px;
    background: var(--purple);
    color: white;
    border-bottom: 1px solid #ffffff35;
    position: relative;
    z-index: 4
}

.brand img {
    width: 164px;
    height: auto;
    filter: brightness(0) invert(1)
}

.site-header nav {
    font-size: 13px
}

.site-header nav a:hover {
    text-decoration: underline;
    text-underline-offset: 6px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 3px 3px 0 var(--navy)
}

.button:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--navy)
}

.button:active {
    transform: translate(3px, 3px);
    box-shadow: none
}

.button span[aria-hidden] {
    font-size: 22px;
    line-height: 1
}

.button-small {
    min-height: 43px;
    padding: 9px 16px;
    font-size: 11px;
    gap: 12px
}

.button-outline,
.button-white {
    background: white;
    color: var(--navy)
}

.button-outline:hover,
.button-white:hover {
    background: #ece9ff
}

.button-red,
.button-lime {
    background: var(--red);
    color: white
}

.button-red:hover,
.button-lime:hover {
    background: var(--red-hover)
}

.button-dark {
    background: var(--purple);
    color: white
}

.hero {
    max-width: none;
    min-height: 790px;
    height: calc(100svh - 88px);
    max-height: 1000px;
    background: var(--purple) url('/newyear_games/assets/images/chotam-pattern.svg') center top/1000px auto;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 120px
}

.hero-top {
    position: absolute;
    top: 26px;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #fff
}

.hero-edition {
    font-size: 10px;
    letter-spacing: .08em
}

.retro-window {
    background: var(--paper);
    border: 2px solid var(--navy);
    border-radius: 6px;
    box-shadow: var(--shadow)
}

.hero-window {
    position: relative;
    z-index: 2;
    width: 920px;
    max-width: 90%;
    transform: rotate(-1.3deg)
}

.window-bar {
    min-height: 54px;
    padding: 11px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--red);
    color: white;
    border-bottom: 2px solid var(--navy)
}

.window-brand {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.055em;
    display: flex;
    align-items: center;
    gap: 8px
}

.window-mic {
    width: 24px;
    height: 29px;
    object-fit: contain
}

.window-controls {
    font-family: Arial, sans-serif;
    font-size: 23px;
    letter-spacing: 3px;
    line-height: 1;
    white-space: nowrap;
    font-weight: 400;
    opacity: .9
}

.hero-copy {
    padding: 32px 44px 40px
}

.window-kicker {
    font-size: 9px;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--purple)
}

.hero h1 {
    font-size: clamp(48px, 6vw, 88px);
    margin: 14px 0 22px;
    line-height: 1.02;
    letter-spacing: -.075em
}

.hero-info {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center
}

.red-note {
    border-radius: 14px;
    background: var(--red);
    color: white;
    padding: 17px 19px;
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: -.025em;
    box-shadow: 2px 2px 0 #07192822
}

.hero-side-note {
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -.065em
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px
}

.hero-cursor {
    position: absolute;
    width: 142px;
    height: auto;
    bottom: -108px;
    right: 4%;
    transform: rotate(-4deg);
    filter: drop-shadow(6px 7px 0 #170e4c25);
    pointer-events: none
}

.poster-tree {
    position: absolute;
    z-index: 1;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 25px 14px #22156230)
}

.poster-tree-right {
    width: 470px;
    right: -110px;
    top: 0;
    transform: rotate(12deg)
}

.poster-tree-left {
    width: 350px;
    left: -150px;
    bottom: 12px;
    transform: rotate(-14deg)
}

.hero-bottom {
    position: absolute;
    bottom: 30px;
    left: var(--gutter);
    right: var(--gutter);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    font-size: 10px;
    letter-spacing: .07em
}

.hero-bottom strong {
    font-size: 16px;
    letter-spacing: -.03em;
    margin-right: 12px
}

.hero-bottom>a {
    font-size: 9px;
    white-space: nowrap
}

.hero-bottom>a span {
    font-size: 20px;
    margin-left: 18px
}

.collection {
    padding-top: 90px;
    padding-bottom: 20px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 20px;
    margin-bottom: 25px
}

.collection>.section-head {
    color: white
}

.section-head h2 {
    font-size: clamp(35px, 4.1vw, 59px);
    margin-top: 16px;
    line-height: 1.1
}

.collection .section-head h2 span {
    background: white;
    color: var(--navy);
    padding: 0 8px 5px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone
}

.collection-count {
    font-size: 10px;
    letter-spacing: .1em;
    white-space: nowrap;
    padding-bottom: 8px;
    color: #e3defe
}

.filters {
    margin-bottom: 36px;
    gap: 12px
}

.filter {
    border: 2px solid #fff;
    background: transparent;
    color: white;
    padding: 11px 18px;
    min-height: 46px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 3px 3px 0 #241a80
}

.filter.active {
    background: white;
    color: var(--navy)
}

.filter:hover {
    background: #e9e5ff;
    color: var(--navy);
    transform: translateY(-2px)
}

.filter span {
    margin-left: 12px;
    opacity: .7
}

#game-list {
    display: grid;
    gap: 40px
}

.game {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    position: relative;
    background: var(--paper);
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 5px;
    box-shadow: var(--shadow);
    overflow: hidden;
    scroll-margin-top: 30px;
    min-height: 470px
}

.game[hidden] {
    display: none
}

.game-windowbar {
    grid-column: 1/-1;
    min-height: 49px;
    padding-inline: 26px
}

.game-windowbar .window-brand {
    font-size: 12px;
    letter-spacing: .01em
}

.game-windowbar .window-controls {
    font-size: 21px
}

.game-copy {
    padding: 35px 38px 38px;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.game-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 8px;
    letter-spacing: .07em;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--purple)
}

.game-number {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    color: var(--navy);
    background: #eeebff;
    font-size: 11px;
    box-shadow: 2px 2px 0 var(--navy)
}

.game h3 {
    font-size: clamp(34px, 3.45vw, 50px);
    line-height: 1.06;
    margin-bottom: 19px;
    max-width: 510px;
    letter-spacing: -.065em
}

.game-desc {
    font-size: 13px;
    line-height: 1.8;
    max-width: 460px;
    color: #39424a
}

.game-rule {
    font-size: 11px;
    line-height: 1.8;
    border-left: 3px solid var(--red);
    background: #f0eef8;
    padding: 13px 15px;
    margin-top: 22px;
    max-width: 470px;
    width: 100%
}

.game-rule strong {
    font-weight: 700
}

.select-game {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    min-height: 44px;
    background: white;
    color: var(--navy);
    box-shadow: 3px 3px 0 var(--navy);
    padding: 10px 15px;
    margin-top: 22px;
    border-radius: 2px
}

.select-game:hover {
    background: #eeeaff;
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--navy)
}

.select-game[aria-pressed=true] {
    background: var(--red);
    color: white
}

.select-icon {
    font-size: 20px;
    line-height: 1
}

.game-visual {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: #eeebff;
    background-image: linear-gradient(#4938d10b 1px, transparent 1px), linear-gradient(90deg, #4938d10b 1px, transparent 1px);
    background-size: 32px 32px;
    padding: 35px 25px;
    min-height: 390px;
    border-left: 1px solid #c9c3eb
}

.game-visual>img {
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 15px #332e4a10)
}

.game-visual>img.game-photo {
    object-fit: cover;
    max-height: 360px;
    aspect-ratio: 4/3;
    border: 2px solid var(--navy);
    box-shadow: 5px 5px 0 var(--purple);
    border-radius: 0
}

.visual-caption {
    position: absolute;
    left: 25px;
    bottom: 14px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #665b8a;
    z-index: 2
}

.game-visual>img.game-flake {
    position: absolute;
    width: 44px;
    height: 44px;
    right: 22px;
    bottom: 20px;
    object-fit: contain;
    opacity: .6;
    z-index: 2
}

.game:nth-child(even) .game-copy {
    order: 3
}

.game:nth-child(even) .game-visual {
    order: 2;
    border-left: 0;
    border-right: 1px solid #c9c3eb
}

.game:nth-child(even) .game-windowbar {
    order: 1
}

.rounds {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none
}

.rounds li {
    display: flex;
    gap: 10px
}

.rounds b {
    color: var(--red)
}

.how {
    padding: 0;
    margin-top: 90px;
    margin-bottom: 75px;
    max-width: calc(var(--content) - var(--gutter)*2);
    background: var(--paper);
    border: 2px solid var(--navy);
    border-radius: 5px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.how>.section-head {
    padding: 35px 38px 16px;
    margin-bottom: 0
}

.how .section-head h2 {
    font-size: 46px
}

.how .section-head .eyebrow {
    color: var(--purple)
}

.how .section-head>p {
    font-size: 12px;
    line-height: 1.7;
    max-width: 300px;
    color: var(--muted)
}

.steps {
    padding: 16px 38px 38px;
    gap: 24px
}

.steps article {
    padding: 21px 0 0;
    border-top: 2px solid var(--navy)
}

.steps article>span {
    font-size: 10px;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--red)
}

.steps h3 {
    font-size: 22px;
    line-height: 1.15;
    margin: 15px 0 13px;
    letter-spacing: -.05em
}

.steps p {
    font-size: 12px;
    line-height: 1.8;
    color: #4e555c;
    max-width: 300px
}

.booking {
    max-width: calc(var(--content) - var(--gutter)*2);
    padding: 0;
    margin-bottom: 65px;
    background: var(--paper);
    border: 2px solid var(--navy);
    border-radius: 5px;
    box-shadow: var(--shadow);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    overflow: hidden
}

.booking>.window-bar {
    grid-column: 1/-1
}

.booking-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 480px;
    background: var(--purple);
    isolation: isolate;
    overflow: hidden
}

.booking-art>img:not(.booking-tree) {
    display: none
}

.booking-art .booking-tree {
    height: 470px;
    width: 340px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: rotate(-8deg);
    filter: drop-shadow(8px 16px 10px #22136960)
}

.booking-art>span {
    position: absolute;
    z-index: 0;
    font-size: 95px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.07em;
    left: 15px;
    top: 30px;
    color: #ffffff35;
    transform: rotate(-6deg)
}

.booking-copy {
    padding: 40px
}

.booking-copy .eyebrow {
    color: var(--purple);
    font-size: 9px
}

.booking h2 {
    font-size: 70px;
    line-height: 1.04;
    margin: 18px 0 22px
}

.booking-copy>p {
    font-size: 12px;
    line-height: 1.8;
    color: #3a424c
}

.selected-summary {
    font-size: 11px;
    line-height: 1.7;
    margin: 20px 0;
    color: #5140a2;
    max-width: 440px
}

.booking-copy .booking-small {
    font-size: 9px;
    margin-top: 16px;
    color: var(--muted)
}

.footer {
    max-width: none;
    color: #fff;
    border-top: 1px solid #ffffff45;
    padding-top: 28px;
    padding-bottom: 25px;
    background: var(--purple-deep);
    font-size: 11px
}

.footer-brand {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.07em
}

.footer-brand span {
    color: #fff;
    margin-inline: 1px
}

.footer-download {
    background: white;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 10px 14px;
    min-height: 44px;
    font-size: 10px;
    box-shadow: 3px 3px 0 var(--navy)
}

.footer-download span {
    font-size: 18px;
    margin-left: 12px
}

.footer small {
    width: 100%;
    border-top: 1px solid #ffffff30;
    margin-top: 10px;
    padding-top: 16px;
    font-size: 9px;
    color: #ded9ff
}

.toast {
    position: fixed;
    z-index: 100;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 15px 22px;
    background: white;
    color: var(--navy);
    border: 2px solid var(--navy);
    box-shadow: 5px 5px 0 #22166b;
    font-size: 12px
}

.skip {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    padding: 12px 20px;
    background: white;
    color: var(--navy);
    border: 2px solid var(--navy)
}

.skip:focus {
    transform: none
}

.noscript {
    background: #fff;
    color: var(--navy);
    padding: 25px
}

.pdf-copy {
    position: absolute;
    top: 0;
    left: -20000px;
    pointer-events: none;
    background: var(--purple)
}

.pdf-copy * {
    animation: none !important;
    transition: none !important
}

.pdf-copy .game[hidden] {
    display: grid
}

.pdf-copy .site-header {
    position: static
}

.pdf-copy .hero-cursor {
    transform: rotate(-4deg)
}

@media(min-width:1600px) {
    .hero-window {
        width: 1000px
    }

    .hero h1 {
        font-size: 96px
    }

    .hero-copy {
        padding: 40px 48px 44px
    }

    .poster-tree-right {
        right: calc((100vw - 1600px)/2 - 80px)
    }

    .poster-tree-left {
        left: calc((100vw - 1600px)/2 - 70px)
    }
}

@media(max-width:1150px) {
    .hero {
        min-height: 760px
    }

    .hero-window {
        width: 800px;
        max-width: 94%
    }

    .hero-copy {
        padding: 30px 34px
    }

    .hero h1 {
        font-size: 72px
    }

    .poster-tree-right {
        width: 390px;
        right: -110px
    }

    .poster-tree-left {
        width: 300px;
        left: -140px
    }

    .game-copy {
        padding: 28px
    }

    .game h3 {
        font-size: 41px
    }

    .game-visual {
        min-height: 370px
    }

    .collection-count {
        display: none
    }

    .how,
    .booking {
        margin-inline: var(--gutter)
    }

    .booking h2 {
        font-size: 62px
    }

    .booking-copy {
        padding: 32px
    }

    .hero-cursor {
        width: 115px;
        bottom: -90px
    }

    .hero-side-note {
        font-size: 21px
    }
}

@media(max-width:767px) {
    :root {
        --gutter: 20px;
        --shadow: 4px 5px 0 #281c8c
    }

    .site-header {
        min-height: 74px;
        padding-inline: 20px
    }

    .brand img {
        width: 135px
    }

    .site-header nav {
        display: none
    }

    .button-small {
        font-size: 10px;
        min-height: 40px;
        padding: 8px 12px;
        gap: 9px
    }

    .hero {
        height: auto;
        min-height: 830px;
        padding: 150px 22px 175px;
        background-size: 690px auto;
        background-position: 45% top;
        align-items: center
    }

    .hero-top {
        top: 22px;
        left: 22px;
        right: 22px
    }

    .hero-top .eyebrow {
        font-size: 8px;
        max-width: 230px
    }

    .hero-edition {
        display: none
    }

    .hero-window {
        max-width: none;
        width: 100%;
        transform: rotate(-1deg)
    }

    .window-bar {
        min-height: 42px;
        padding: 10px 15px
    }

    .window-brand {
        font-size: 14px
    }

    .window-controls {
        font-size: 19px;
        letter-spacing: 1px
    }

    .window-mic {
        width: 18px;
        height: 22px
    }

    .hero-copy {
        padding: 23px 20px 26px
    }

    .window-kicker {
        font-size: 7px;
        letter-spacing: .06em
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 66px);
        letter-spacing: -.075em;
        line-height: 1.04;
        margin: 16px 0 20px
    }

    .hero-info {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .red-note {
        font-size: 11px;
        line-height: 1.55;
        padding: 14px;
        border-radius: 10px
    }

    .red-note br {
        display: none
    }

    .hero-side-note {
        font-size: 18px;
        line-height: 1.15;
        max-width: 260px
    }

    .hero-side-note br {
        display: none
    }

    .hero-actions {
        gap: 10px;
        margin-top: 21px;
        flex-direction: column;
        align-items: flex-start
    }

    .hero-actions .button {
        min-height: 46px;
        font-size: 10px;
        gap: 16px;
        padding: 11px 14px
    }

    .hero-cursor {
        width: 102px;
        right: 1%;
        bottom: -73px
    }

    .poster-tree-right {
        width: 290px;
        right: -125px;
        top: 25px;
        transform: rotate(9deg)
    }

    .poster-tree-left {
        width: 210px;
        left: -110px;
        bottom: -2px;
        transform: rotate(-12deg)
    }

    .hero-bottom {
        left: 22px;
        right: 22px;
        bottom: 28px;
        font-size: 8px;
        line-height: 1.7
    }

    .hero-bottom>span {
        max-width: 230px
    }

    .hero-bottom strong {
        display: block;
        font-size: 14px
    }

    .hero-bottom>a {
        font-size: 0
    }

    .hero-bottom>a span {
        font-size: 24px
    }

    .eyebrow {
        font-size: 9px
    }

    .collection {
        padding: 55px 17px 10px
    }

    .section-head {
        display: block;
        margin-bottom: 18px;
        padding-bottom: 16px
    }

    .collection>.section-head {
        padding-inline: 3px
    }

    .section-head h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-top: 15px
    }

    .collection .section-head h2 span {
        padding: 0 3px 4px
    }

    .filters {
        gap: 9px;
        margin-bottom: 26px;
        padding-inline: 3px
    }

    .filter {
        font-size: 9px;
        min-height: 42px;
        padding: 9px 12px
    }

    .filter span {
        margin-left: 8px
    }

    #game-list {
        gap: 26px
    }

    .game {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .game-windowbar {
        grid-column: 1;
        min-height: 42px;
        padding: 10px 16px
    }

    .game-windowbar .window-brand {
        font-size: 10px
    }

    .game-windowbar .window-controls {
        font-size: 18px
    }

    .game-copy {
        padding: 25px 23px 27px
    }

    .game h3 {
        font-size: 36px;
        line-height: 1.08;
        margin-bottom: 18px
    }

    .game-meta {
        font-size: 7px;
        gap: 10px;
        margin-bottom: 20px
    }

    .game-number {
        width: 29px;
        min-width: 29px;
        height: 29px;
        font-size: 10px
    }

    .game-desc {
        font-size: 12px;
        line-height: 1.8
    }

    .game-rule {
        font-size: 10px;
        padding: 12px 13px;
        margin-top: 18px
    }

    .select-game {
        font-size: 10px;
        margin-top: 20px;
        min-height: 44px
    }

    .game-visual {
        border-left: 0;
        border-top: 1px solid #c9c3eb;
        min-height: 0;
        height: 280px;
        padding: 15px 28px 27px
    }

    .game-visual>img {
        max-height: 235px
    }

    .game-visual>img.game-flake {
        width: 35px;
        height: 35px;
        right: 18px;
        bottom: 20px
    }

    .visual-caption {
        font-size: 6px;
        left: 22px;
        bottom: 12px
    }

    .game:nth-child(even) .game-copy,
    .game:nth-child(even) .game-visual,
    .game:nth-child(even) .game-windowbar {
        order: initial
    }

    .game:nth-child(even) .game-visual {
        border-right: 0
    }

    .how {
        margin: 55px 17px 45px
    }

    .how>.window-bar .window-brand {
        font-size: 12px
    }

    .how>.section-head {
        padding: 27px 23px 10px
    }

    .how .section-head h2 {
        font-size: 36px;
        line-height: 1.1
    }

    .how .section-head>p {
        font-size: 11px;
        margin-top: 20px
    }

    .steps {
        padding: 8px 23px 30px;
        gap: 22px
    }

    .steps article {
        padding-top: 17px
    }

    .steps h3 {
        font-size: 22px;
        margin: 13px 0 10px
    }

    .steps p {
        font-size: 12px;
        max-width: none
    }

    .booking {
        margin: 0 17px 45px;
        display: grid;
        grid-template-columns: 1fr
    }

    .booking>.window-bar {
        grid-column: 1
    }

    .booking .window-brand {
        font-size: 10px
    }

    .booking-art {
        order: 3;
        min-height: 270px;
        max-height: 300px;
        border-top: 2px solid var(--navy)
    }

    .booking-art .booking-tree {
        width: 240px;
        height: 300px
    }

    .booking-art>span {
        font-size: 80px;
        top: 22px;
        left: 22px
    }

    .booking-copy {
        padding: 28px 23px 32px;
        order: 2
    }

    .booking h2 {
        font-size: 60px;
        margin: 20px 0
    }

    .booking-copy .eyebrow {
        font-size: 7px
    }

    .booking-copy>p {
        font-size: 12px
    }

    .booking-copy>.button {
        font-size: 10px;
        min-height: 49px;
        padding-inline: 15px;
        gap: 20px
    }

    .selected-summary {
        font-size: 10px
    }

    .footer {
        padding: 25px 22px 22px;
        gap: 15px
    }

    .footer-brand {
        font-size: 21px
    }

    .footer>span {
        font-size: 9px
    }

    .footer small {
        font-size: 8px
    }

    .toast {
        font-size: 10px;
        padding: 13px 16px
    }

    .window-controls {
        pointer-events: none
    }
}

@media(max-width:360px) {
    .brand img {
        width: 117px
    }

    .site-header {
        padding-inline: 15px
    }

    .button-small {
        font-size: 9px;
        padding-inline: 9px
    }

    .hero {
        padding-inline: 17px
    }

    .hero-copy {
        padding-inline: 17px
    }

    .hero h1 {
        font-size: 36px
    }

    .game h3 {
        font-size: 33px
    }

    .filter {
        font-size: 8px;
        padding-inline: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}

@media print {
    body {
        background: var(--purple);
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact
    }

    .filters,
    .select-game,
    [data-download],
    .toast,
    .skip {
        display: none !important
    }

    .game[hidden] {
        display: grid
    }

    .game,
    .how,
    .booking {
        break-inside: avoid;
        box-shadow: none
    }

    .hero {
        height: auto;
        min-height: 760px
    }

    .site-header {
        min-height: 65px
    }

    @page {
        size: A3 portrait;
        margin: 10mm
    }
}

/* Общая левая направляющая шапки и подписи. У логотипа есть прозрачные поля. */
.site-header {
    padding-inline: var(--gutter)
}

.hero-top {
    left: var(--gutter);
    right: var(--gutter)
}

.brand {
    --logo-width: 164px;
    display: block;
    position: relative;
    width: calc(var(--logo-width)*1105/1440);
    height: calc(var(--logo-width)*168/1440);
    overflow: hidden;
    flex-shrink: 0
}

.brand img {
    position: absolute;
    max-width: none;
    width: var(--logo-width);
    height: auto;
    left: calc(var(--logo-width)*-167/1440);
    top: calc(var(--logo-width)*-323/1440)
}

@media(max-width:767px) {
    .brand {
        --logo-width: 135px
    }
}

@media(max-width:360px) {
    .brand {
        --logo-width: 117px
    }
}

.red-note br.note-break {
    display: block
}

.hero-bottom {
    justify-content: center
}

.hero-bottom>span {
    text-align: center;
    max-width: none
}

.hero-bottom>a {
    position: absolute;
    right: 0
}

@media(max-width:767px) {
    .hero-bottom>span {
        max-width: calc(100% - 65px)
    }

    .hero-bottom strong {
        margin-right: 0
    }
}

.filters {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

@media(max-width:767px) {
    .filter-categories {
        gap: 9px
    }
}

/* Фото добавляются по мере готовности, без тематических иллюстраций и декора. */
.game-visual {
    background: #f1eff7;
    background-image: none;
    padding: 0
}

.game-visual>img.game-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none
}

/* Окна macOS: системные индикаторы слева, название и логотип справа. */
:root {
    --shadow: 0 18px 48px #24176c38
}

.retro-window,
.game,
.how,
.booking {
    border: 1px solid #101b3026;
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.hero-window {
    transform: none;
    overflow: visible
}

.window-bar {
    min-height: 58px;
    padding: 15px 23px;
    background: #f0eff4;
    color: var(--navy);
    border-bottom: 1px solid #121b301c;
    border-radius: 23px 23px 0 0;
    gap: 18px
}

.window-controls {
    order: -1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 0;
    letter-spacing: 0;
    opacity: 1;
    pointer-events: none
}

.mac-dot {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px #00000012
}

.mac-close {
    background: #ff5f57
}

.mac-minimize {
    background: #febc2e
}

.mac-expand {
    background: #28c840
}

.window-brand {
    margin-left: auto;
    justify-content: flex-end;
    text-align: right;
    line-height: 1.3
}

.window-mic {
    filter: brightness(0);
    opacity: .9
}

.game-windowbar {
    min-height: 52px;
    padding: 14px 25px
}

.game .game-visual,
.game:nth-child(even) .game-visual {
    padding: 28px;
    background: transparent;
    border: 0;
    min-height: 360px
}

.game-visual>img.game-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 400px;
    min-height: 240px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 22px #04182912;
    border: 0
}

.game-visual:not(.has-photo):before {
    content: "";
    display: block;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: #f1eff7;
    border-radius: 20px
}

.button,
.select-game,
.filter,
.footer-download {
    border-radius: 12px;
    box-shadow: 0 3px 8px #04182918
}

.button:hover,
.select-game:hover,
.filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px #04182925
}

.button:active {
    transform: none;
    box-shadow: 0 1px 4px #04182915
}

.red-note {
    border-radius: 20px;
    border-width: 1px;
    box-shadow: none
}

.game-rule {
    border-radius: 12px
}

.game-number {
    border-radius: 8px;
    box-shadow: none
}

.toast {
    border-radius: 16px;
    box-shadow: 0 8px 30px #24176c35
}

.booking-art {
    border-radius: 0 0 0 23px
}

.booking-art .booking-tree {
    border-radius: 0
}

@media(max-width:767px) {

    .retro-window,
    .game,
    .how,
    .booking {
        border-radius: 20px
    }

    .window-bar {
        min-height: 48px;
        padding: 13px 17px;
        border-radius: 19px 19px 0 0;
        gap: 12px
    }

    .window-brand {
        font-size: 12px
    }

    .game-windowbar .window-brand {
        font-size: 9px
    }

    .booking .window-brand {
        font-size: 9px
    }

    .window-controls {
        gap: 6px
    }

    .mac-dot {
        width: 11px;
        height: 11px
    }

    .game .game-visual,
    .game:nth-child(even) .game-visual {
        padding: 0 22px 24px;
        min-height: 0;
        height: 280px;
        border: 0
    }

    .game-visual>img.game-photo {
        border-radius: 16px;
        max-height: none;
        min-height: 0;
        height: 100%;
        aspect-ratio: auto
    }

    .game-visual:not(.has-photo):before {
        border-radius: 16px;
        min-height: 0
    }

    .booking-art {
        margin: 0 20px 20px;
        border-radius: 16px;
        border: 0;
        overflow: hidden
    }

    .red-note {
        border-radius: 16px
    }
}

/* Keep the invitation together on narrow screens. */
#games-title>span {
    display: inline-block;
    white-space: nowrap
}

@media(max-width:600px) {
    #games-title {
        font-size: clamp(24px, 7.35vw, 29px)
    }
}

/* Improve reading comfort across the programme. */
.eyebrow {
    font-size: 12px
}

.button {
    font-size: 14px
}

.button-small {
    font-size: 12px
}

.site-header nav {
    font-size: 14px
}

.window-kicker {
    font-size: 11px
}

.red-note {
    font-size: 16px
}

.hero-side-note {
    font-size: 25px
}

.hero-bottom {
    font-size: 12px
}

.hero-bottom strong {
    font-size: 18px
}

.filter {
    font-size: 13px
}

.game-meta {
    font-size: 10px
}

.game-number {
    font-size: 13px
}

.game-desc {
    font-size: 15px;
    line-height: 1.75
}

.game-rule {
    font-size: 13px;
    line-height: 1.75
}

.select-game {
    font-size: 13px
}

.how .section-head>p,
.steps p,
.booking-copy>p {
    font-size: 14px
}

.steps article>span {
    font-size: 12px
}

.selected-summary {
    font-size: 13px
}

.booking-copy .booking-small {
    font-size: 11px
}

.footer {
    font-size: 13px
}

.footer-download {
    font-size: 12px
}

.footer small {
    font-size: 11px
}

@media(max-width:767px) {
    .eyebrow {
        font-size: 10px
    }

    .hero-top .eyebrow {
        font-size: 10px
    }

    .button-small {
        font-size: 11px
    }

    .window-kicker {
        font-size: 9px
    }

    .red-note {
        font-size: 13px
    }

    .hero-side-note {
        font-size: 20px
    }

    .hero-actions .button,
    .booking-copy>.button {
        font-size: 12px
    }

    .hero-bottom {
        font-size: 10px
    }

    .hero-bottom strong {
        font-size: 16px
    }

    .filter {
        font-size: 11px
    }

    .game-meta {
        font-size: 9px
    }

    .game-number {
        font-size: 12px
    }

    .game-desc {
        font-size: 14px
    }

    .game-rule {
        font-size: 12px
    }

    .select-game {
        font-size: 12px
    }

    .how .section-head>p {
        font-size: 13px
    }

    .steps p,
    .booking-copy>p {
        font-size: 14px
    }

    .booking-copy .eyebrow {
        font-size: 9px
    }

    .selected-summary {
        font-size: 12px
    }

    .footer>span,
    .footer small {
        font-size: 10px
    }

    .toast {
        font-size: 12px
    }
}
/* Align the microphone with the wordmark in the hero title bar. */
.hero-window .window-brand{line-height:1;align-items:center}
.hero-window .window-mic{flex:none;transform:translateY(-1px) rotate(-38deg);transform-origin:center;width:20px;height:24px}
@media(max-width:767px){.hero-window .window-mic{width:16px;height:19px}}

.programme-note{color:#fff;font-size:16px;line-height:1.75;max-width:850px;margin:0 0 36px}
.booking-copy>.programme-details{color:#5140a2;margin:20px 0;font-size:14px;line-height:1.75}
@media(max-width:767px){.programme-note{font-size:14px;margin-bottom:28px}.booking-copy>.programme-details{font-size:14px}}

.hero-side-note br{display:block}

/* Inset the booking artwork like the game photos. */
.booking-art{margin:28px 0 28px 28px;border-radius:20px;overflow:hidden;border:0}
@media(max-width:767px){.booking-art{margin:0 22px 22px;border-radius:16px}}
