/* 9.B
   Jedna modra jako nase mikiny, papirova bila a inkoust.
   Psano od mobilu, desktop jen dostane vic mista. */

:root {
    --blue: #1C3FD4;            /* barva mikin, kdyztak doladit tady */
    --blue-deep: #12278F;
    --paper: #F4F3EE;
    --paper-2: #EAE8E1;
    --card: #FBFAF7;
    --ink: #0D1330;
    --muted: #5E6279;
    --hair: rgba(13, 19, 48, .12);
    --hair-strong: rgba(13, 19, 48, .22);
    --soft: #DFE5FB;
    --on-soft: #1A33A8;
    --on-blue: #F6F5F0;
    --on-blue-muted: rgba(246, 245, 240, .72);
    --on-blue-hair: rgba(246, 245, 240, .24);

    /* bily okraj kolem emoji, at vypadaji jako nalepky */
    --sticker:
        drop-shadow(1.4px 0 0 #fff) drop-shadow(-1.4px 0 0 #fff)
        drop-shadow(0 1.4px 0 #fff) drop-shadow(0 -1.4px 0 #fff)
        drop-shadow(0 2px 3px rgba(13, 19, 48, .16));
    --sticker-lg:
        drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
        drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
        drop-shadow(0 10px 16px rgba(4, 10, 50, .32));

    --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --gutter: 20px;
    --max: 1080px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #0A0E21;
        --paper-2: #181D38;
        --card: #10152B;
        --ink: #ECEDF5;
        --muted: #9CA1BA;
        --hair: rgba(236, 237, 245, .12);
        --hair-strong: rgba(236, 237, 245, .24);
        --soft: #18204A;
        --on-soft: #B4C3FF;
        color-scheme: dark;
    }
}

/* zaklad */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
html:has(dialog[open]) { overflow: hidden; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: var(--on-blue); }

button, input, textarea { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap {
    width: min(var(--max), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.emoji {
    display: block;
    flex: none;
    width: 28px;
    height: 28px;
    overflow: visible;
    letter-spacing: 0;
    font-stretch: 100%;
    filter: var(--sticker);
}

.i {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* uvod */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 96px);
    padding: max(18px, env(safe-area-inset-top)) 0 52px;
    overflow: hidden;
    background: var(--blue);
    color: var(--on-blue);
}

/* jemna zrnitost, jako flis na mikine */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .55;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--on-blue-muted);
}

.hero__main {
    margin-top: auto;
    padding-top: 40px;
}

.hero__title {
    margin: 0 0 0 -.045em;
    /* nez se nacte Archivo, at to aspon trochu sedi do sirky */
    font-family: "Archivo", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", sans-serif-condensed, var(--sans);
    font-size: clamp(9rem, 74vw, 28rem);
    font-weight: 800;
    font-stretch: 62%;
    line-height: .8;
    letter-spacing: -.03em;
}

.hero__mark {
    position: relative;
    display: inline-block;
    animation: rise .9s var(--ease) .05s backwards;
}

.sticker--hoodie {
    position: absolute;
    top: -.3em;
    right: -.14em;
    width: .42em;
    height: .42em;
    filter: var(--sticker-lg);
    transform: rotate(10deg);
    animation: slap .55s cubic-bezier(.3, 1.5, .5, 1) .55s backwards;
}

.hero__motto {
    display: flex;
    align-items: center;
    gap: .3em;
    margin: .5em 0 0;
    font-family: var(--serif);
    font-size: clamp(1.75rem, 8vw, 3rem);
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -.01em;
    animation: rise .9s var(--ease) .18s backwards;
}

.sticker--mega {
    width: 1.1em;
    height: 1.1em;
    filter: var(--sticker);
    transform: rotate(-14deg) translateY(-.06em);
}

.hero__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--on-blue-hair);
    animation: rise .9s var(--ease) .3s backwards;
}

.countdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin: 0;
}

.countdown__label {
    font-size: .8125rem;
    color: var(--on-blue-muted);
}

.countdown__value {
    font-size: 1.0625rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.countdown__value b {
    font-weight: 700;
    font-stretch: 85%;
    font-size: 1.1em;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-left: auto;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: var(--on-blue);
    color: #0D1330;
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s var(--ease), background-color .16s ease;
}

.pill .emoji { width: 26px; height: 26px; }
.pill:active { transform: scale(.97); }

@media (hover: hover) {
    .pill:hover { background: #fff; transform: translateY(-1px); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
}

@keyframes slap {
    from { opacity: 0; transform: rotate(-12deg) scale(1.5); }
}

/* soupiska */

.roster {
    position: relative;
    margin-top: -24px;
    padding: 32px 0 56px;
    border-radius: 24px 24px 0 0;
    background: var(--paper);
}

.roster__head h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    font-stretch: 70%;
    line-height: .95;
    letter-spacing: -.02em;
}

.roster__head p {
    margin: 8px 0 0;
    font-size: .9375rem;
    color: var(--muted);
}

.group { margin-top: 36px; }

.group__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 26px;
    padding-bottom: 12px;
}

.group__head h3 {
    margin: 0;
    font-size: .9375rem;
    font-weight: 600;
}

.group__head .emoji { width: 26px; height: 26px; }

.group__count {
    margin-left: auto;
    font-size: .8125rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.group__note {
    margin: -6px 0 12px;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--muted);
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hair);
}

.list > li {
    padding: 3px 0;
    border-bottom: 1px solid var(--hair);
    break-inside: avoid;
}

.row {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    column-gap: 4px;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 10px 12px 10px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color .16s ease, color .16s ease;
}

.row--staff { grid-template-columns: 1fr auto; }

.row__name {
    font-size: 1.375rem;
    font-weight: 600;
    font-stretch: 85%;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.row__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.row__role {
    font-size: .8125rem;
    color: var(--muted);
    transition: color .16s ease;
}

.row__go {
    color: var(--muted);
    transition: transform .25s var(--ease), color .16s ease;
}

.row:active { background: var(--blue); color: var(--on-blue); }
.row:active :is(.row__role, .row__go) { color: var(--on-blue-muted); }

/* lavice: dve jmena vedle sebe */

.desks {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hair);
}

.desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px 0;
    border-bottom: 1px solid var(--hair);
    break-inside: avoid;
}

.seat {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-size: 1.375rem;
    font-weight: 600;
    font-stretch: 85%;
    line-height: 1.15;
    letter-spacing: -.01em;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color .16s ease, color .16s ease;
}

/* svisla linka mezi sousedy v lavici */
.seat + .seat::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: -1px;
    width: 1px;
    background: var(--hair);
}

.seat--empty { cursor: default; }

.seat:not(.seat--empty):active { background: var(--blue); color: var(--on-blue); }

@media (hover: hover) {
    .row:hover { background: var(--blue); color: var(--on-blue); }
    .row:hover :is(.row__role, .row__go) { color: var(--on-blue-muted); }
    .row:hover .row__go { transform: translateX(3px); }
    .seat:not(.seat--empty):hover { background: var(--blue); color: var(--on-blue); }
}

/* trida foto a nemcierien */

.band {
    padding: 8px 0 48px;
    background: var(--paper);
}

.class-photo {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--soft);
    cursor: zoom-in;
}

.class-photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .6s var(--ease);
}

@media (hover: hover) {
    .class-photo:hover img { transform: scale(1.015); }
}

.band__caption {
    margin: 10px 0 0;
    font-size: .8125rem;
    color: var(--muted);
}

.band__lede {
    max-width: 38em;
    margin: 0 0 16px;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.3;
    color: var(--muted);
}

.field { display: block; }

.field__label {
    display: block;
    margin-bottom: 6px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--muted);
}

.field textarea {
    display: block;
    width: 100%;
    min-height: 3.5em;
    padding: 12px 14px;
    border: 1px solid var(--hair-strong);
    border-radius: 14px;
    background: var(--card);
    font-size: 1.0625rem;
    line-height: 1.4;
    resize: vertical;
    transition: border-color .16s ease;
}

.field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea::placeholder { color: var(--muted); opacity: .7; }

.nemc-out {
    min-height: 1.2em;
    margin: 14px 0 0;
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 700;
    font-stretch: 80%;
    line-height: 1.15;
    color: var(--blue);
    overflow-wrap: anywhere;
}

@media (prefers-color-scheme: dark) {
    .nemc-out { color: var(--on-soft); }
}

/* paticka */

.foot {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    background: var(--paper);
}

.foot__in {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--hair);
    font-size: .8125rem;
    color: var(--muted);
}

.foot p { margin: 0; }

.foot a {
    color: var(--ink);
    text-decoration-color: var(--hair-strong);
    text-underline-offset: .2em;
}

/* profil: na mobilu panel zespodu, na pocitaci okno uprostred */

.sheet {
    --drag: 0px;
    width: 100%;
    max-width: 100%;
    max-height: 92svh;
    margin: auto 0 0;
    padding: 0;
    border: 0;
    border-radius: 24px 24px 0 0;
    background: var(--card);
    color: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -12px 48px rgba(6, 12, 40, .28);
    transition: transform .3s var(--ease);
}

.sheet::backdrop { background: rgba(6, 12, 40, .5); }

.sheet[open] { animation: sheetIn .5s var(--ease) backwards; }
.sheet[open]::backdrop { animation: fadeIn .3s ease backwards; }
.sheet.is-closing { animation: sheetOut .28s cubic-bezier(.5, 0, .75, 0) forwards; pointer-events: none; }
.sheet.is-closing::backdrop { animation: fadeOut .28s ease forwards; }
.sheet.is-dragging { transition: none; }

@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { from { transform: translateY(var(--drag)); } to { transform: translateY(100%); } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes popOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

.sheet__top {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 8px 16px 8px 20px;
    background: var(--card);
    cursor: grab;
    touch-action: none;
}

.sheet__grip {
    display: block;
    width: 40px;
    height: 5px;
    margin: 0 auto 6px;
    border-radius: 5px;
    background: var(--hair-strong);
}

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

.sheet__actions { display: flex; gap: 8px; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px 12px 4px 5px;
    border-radius: 999px;
    background: var(--paper-2);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.tag .emoji { width: 22px; height: 22px; }

.round {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .16s ease, color .16s ease;
}

.round .i { width: 18px; height: 18px; }
.round:active { background: var(--ink); color: var(--card); }

@media (hover: hover) {
    .round:hover { background: var(--ink); color: var(--card); }
}

.sheet__body {
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
}

.sheet__body.is-swap { animation: swap .34s var(--ease); }

@keyframes swap {
    from { opacity: 0; transform: translateX(var(--dir, 16px)); }
}

.sheet__name {
    margin: 0 0 20px;
    font-size: clamp(2.75rem, 13vw, 3.5rem);
    font-weight: 800;
    font-stretch: 68%;
    line-height: .9;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.sheet__name:focus { outline: none; }

/* fotky tehdy a ted */

.photos {
    --pos: 50%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: var(--soft);
}

.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
}

.photo.is-ready img { opacity: 1; }

.photo__empty {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--on-soft);
    text-align: center;
}

.photo__empty .emoji { width: 56px; height: 56px; }

.photo.is-empty .photo__empty { display: flex; }

.photo__sticker {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 42px;
    height: 42px;
    transform: rotate(10deg);
}

.photo:nth-child(2) .photo__sticker { transform: rotate(-8deg); }

.photo.is-empty .photo__sticker { display: none; }

.photo figcaption {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--card);
    font-size: .75rem;
    font-weight: 600;
}

.compare { display: none; }

/* kdyz jsou obe fotky, prekryji se a dela se mezi nimi posuvnik */
.photos.is-compare {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px;
    cursor: ew-resize;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.photos.is-compare .photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: 0;
}

.photos.is-compare .photo:first-child {
    z-index: 1;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.photos.is-compare .photo img { pointer-events: none; }
.photos.is-compare .photo__sticker { display: none; }
.photos.is-compare .photo:nth-child(2) figcaption { left: auto; right: 10px; }

.photos.is-compare .compare {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: var(--pos);
    display: block;
    width: 2px;
    margin-left: -1px;
    background: #fff;
    pointer-events: none;
}

.compare__grip {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #0D1330;
    box-shadow: 0 4px 14px rgba(6, 12, 40, .3);
    transform: translate(-50%, -50%);
}

.compare__grip .i { width: 15px; height: 15px; stroke-width: 2.2; }

.photos__hint {
    margin: 8px 0 0;
    font-size: .8125rem;
    color: var(--muted);
}

/* otazky */

.qa { margin: 24px 0 0; }

.qa > div {
    padding: 14px 0;
    border-top: 1px solid var(--hair);
}

.qa dt {
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.2;
    color: var(--muted);
}

.qa dd {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.qa dd strong { font-weight: 650; }

.qa dd a {
    color: var(--blue);
    text-decoration-color: currentColor;
    text-underline-offset: .2em;
}

@media (prefers-color-scheme: dark) {
    .qa dd a { color: var(--on-soft); }
}

/* listovani mezi lidmi */

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--hair-strong);
    border-radius: 14px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.step--next { align-items: flex-end; text-align: right; }

.step small {
    font-size: .75rem;
    color: var(--muted);
    transition: color .16s ease;
}

.step span {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    font-size: 1.0625rem;
    font-weight: 600;
    font-stretch: 88%;
}

.step b {
    overflow: hidden;
    font-weight: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.step .i { width: 18px; height: 18px; }

.step:active { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.step:active small { color: var(--on-blue-muted); }

@media (hover: hover) {
    .step:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
    .step:hover small { color: var(--on-blue-muted); }
}

/* trida foto na celou obrazovku */

.lightbox {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .25s ease backwards;
}

.lightbox::backdrop { background: rgba(4, 7, 22, .92); }

.lightbox img {
    max-width: calc(100% - 24px);
    max-height: calc(100% - 120px);
    border-radius: 12px;
    object-fit: contain;
}

.lightbox__close {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

/* hlaska dole */

.toast {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    max-width: calc(100% - 40px);
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--card);
    font-size: .9375rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .3s var(--ease);
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* stranka s hrami */

.hero--page {
    min-height: auto;
    padding-bottom: 64px;
}

.back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--on-blue);
    text-decoration: none;
}

.back .i { width: 18px; height: 18px; }

.hero--page .hero__main { padding-top: 72px; }

.hero__title--page {
    font-size: clamp(5rem, 30vw, 13rem);
    line-height: .85;
}

.sticker--pad {
    position: absolute;
    top: -.5em;
    right: -.22em;
    width: .52em;
    height: .52em;
    filter: var(--sticker-lg);
    transform: rotate(-9deg);
    animation: slap .55s cubic-bezier(.3, 1.5, .5, 1) .55s backwards;
}

.hero__lede {
    max-width: 22em;
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 5.4vw, 1.75rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--on-blue-muted);
    animation: rise .9s var(--ease) .18s backwards;
}

.games {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hair);
}

.games li {
    padding: 4px 0;
    border-bottom: 1px solid var(--hair);
}

.game {
    display: grid;
    grid-template-columns: 3.25rem 1fr auto;
    align-items: center;
    gap: 6px;
    padding: 18px 12px 18px 10px;
    border-radius: 14px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .16s ease, color .16s ease;
}

.game__no {
    align-self: start;
    padding-top: 4px;
    font-size: 1.5rem;
    font-weight: 800;
    font-stretch: 70%;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    transition: color .16s ease;
}

.game__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.game__chapter {
    font-size: .8125rem;
    color: var(--muted);
    transition: color .16s ease;
}

.game__name {
    font-size: 1.875rem;
    font-weight: 750;
    font-stretch: 75%;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.game__sub {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--muted);
    transition: color .16s ease;
}

.game__go { color: var(--muted); transition: transform .25s var(--ease), color .16s ease; }

.game:active { background: var(--blue); color: var(--on-blue); }
.game:active :is(.game__no, .game__chapter, .game__sub, .game__go) { color: var(--on-blue-muted); }

@media (hover: hover) {
    .game:hover { background: var(--blue); color: var(--on-blue); }
    .game:hover :is(.game__no, .game__chapter, .game__sub, .game__go) { color: var(--on-blue-muted); }
    .game:hover .game__go { transform: translateX(3px); }
}

@media (prefers-color-scheme: dark) {
    .game__no { color: var(--on-soft); }
}

/* vetsi obrazovky */

@media (min-width: 720px) {
    .sheet {
        width: min(560px, 100% - 48px);
        max-height: min(88svh, 900px);
        margin: auto;
        border-radius: 24px;
        box-shadow: 0 24px 80px rgba(6, 12, 40, .35);
    }
    .sheet[open] { animation-name: popIn; animation-duration: .38s; }
    .sheet.is-closing { animation-name: popOut; animation-duration: .2s; }
    .sheet__grip { display: none; }
    .sheet__top { padding-top: 16px; cursor: auto; touch-action: auto; }
    .sheet__body { padding-inline: 24px; }
}

@media (min-width: 900px) {
    /* na sirokem displeji motto vpravo, at uvod neni jen nalevo */
    .hero__main {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 48px;
    }
    .hero__motto {
        display: block;
        max-width: 8em;
        margin: 0 0 .1em;
        text-align: right;
    }
    .sticker--mega {
        display: inline-block;
        margin-left: .2em;
        vertical-align: -.2em;
    }
    .hero--page .hero__main { display: block; }
}

@media (min-width: 760px) {
    :root { --gutter: 40px; }
    .hero__bar { font-size: .875rem; }
    .roster { padding-top: 48px; }
    .roster__head h2 { font-size: 3.25rem; }
    .list--cols, .desks { columns: 2; column-gap: 48px; }
    .band { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
}
