#view-public {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--topbar-h);
    padding: 10px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-nav .brand {
    line-height: 0;
}

.site-nav .brand img {
    width: 42px;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 0 2px;
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: none;
    border: none;
    border-bottom: 1px solid var(--orange);
    color: var(--orange);
    cursor: pointer;
}

.nav-login:hover,
.nav-login:focus-visible {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.nav-login span {
    display: none;
}

.hero {
    position: relative;
    min-height: 76svh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    align-items: start;
    gap: 26px;
    padding: 24px 18px 40px;
    background: var(--ink) url("/static/assets/hero-1920.jpg") center / cover no-repeat;
    background-image: image-set(url("/static/assets/hero-1280.webp") 1x type("image/webp"),
            url("/static/assets/hero-1920.webp") 2x type("image/webp"));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 19, 4, 0.12) 35%, rgba(36, 19, 4, 0.72));
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero-title {
    grid-row: 1;
    width: min(80%, 340px);
    margin: 0;
    line-height: 0;
}

.hero-logo {
    width: 100%;
    height: auto;
}

.tour {
    background: var(--paper);
    padding: 32px 16px 40px;
    border-top: 1px solid var(--line);
}

.tour h2 {
    font-size: 20px;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.dates {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.gig {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.gig-date {
    flex: none;
    width: 54px;
    text-align: center;
    font-family: var(--display);
    text-transform: uppercase;
    line-height: 1;
    color: var(--orange);
}

.gig-date .dow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.gig-date .dnum {
    display: block;
    font-size: 22px;
    margin: 2px 0;
    color: var(--ink);
}

.gig-date .mon {
    display: block;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.gig-date .range {
    display: block;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--faded);
}

.gig h3 {
    font-size: 24px;
    line-height: 1.05;
}

.gig-thumb {
    flex: none;
    width: 54px;
    height: 54px;
    object-fit: cover;
}

.gig-desc {
    margin: 8px 0 0;
    font-size: 14.5px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.gig-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
}

.gig-actions a,
.gig-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0 2px;
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: none;
    border: none;
    border-bottom: 2px solid var(--orange);
    color: var(--orange);
    text-decoration: none;
    cursor: pointer;
}

.gig-actions a:hover,
.gig-actions button:hover {
    background: var(--orange);
    color: var(--paper);
}

.site-foot {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
    padding: 34px 18px 38px;
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.site-foot .foot-logo {
    width: 64px;
    height: 64px;
}

.site-foot a {
    font-family: var(--display);
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    text-decoration: none;
}

.site-foot a:hover,
.site-foot a:focus-visible {
    color: var(--ink);
}

.site-foot .btn {
    padding: 0 0 2px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--orange);
    color: var(--orange);
}

.site-foot .btn:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.player {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: var(--player-h);
    padding: 8px 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.player-track {
    flex: 1;
    min-width: 0;
}

.player-track strong {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player.is-muted .player-mute {
    opacity: 0.4;
}

#yt-host {
    position: absolute;
    left: -9999px;
    bottom: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (min-width: 860px) {
    .site-nav {
        padding: 12px 40px;
    }

    .nav-login span {
        display: inline;
    }

    .hero {
        min-height: 88svh;
        padding: 40px 40px 60px;
    }

    .hero-title {
        width: min(52%, 460px);
    }

    .tour {
        padding: 60px 40px 70px;
    }

    .tour-inner {
        max-width: 760px;
        margin: 0 auto;
    }

    .gig-thumb {
        width: 64px;
        height: 64px;
    }

    .player {
        padding: 10px 40px;
    }
}
