@charset "UTF-8";

:root {
    --burgundy-950: #31050a;
    --burgundy-900: #4d0911;
    --burgundy-800: #6d111b;
    --burgundy-700: #851d28;
    --gold-600: #b48722;
    --gold-500: #d1a83d;
    --gold-200: #ead8a7;
    --ink-950: #211a1b;
    --ink-700: #5c5354;
    --ink-500: #817778;
    --paper: #ffffff;
    --canvas: #f6f2eb;
    --canvas-deep: #ece4da;
    --line: #ded5ca;
    --success: #276447;
    --danger: #a3212f;
    --shadow-sm: 0 1px 2px rgba(49, 5, 10, 0.07), 0 8px 24px rgba(49, 5, 10, 0.05);
    --shadow-lg: 0 24px 70px rgba(49, 5, 10, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;
    --page-width: 1200px;
    --lyrics-scale: 1;
    color-scheme: light;
}

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

html {
    background: var(--canvas);
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 8% 10%, rgba(209, 168, 61, 0.08), transparent 24rem),
        var(--canvas);
    color: var(--ink-950);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
}

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

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--paper);
    color: var(--burgundy-800);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(109, 17, 27, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 5px 24px rgba(49, 5, 10, 0.06);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    width: min(calc(100% - 40px), var(--page-width));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-950);
    text-decoration: none;
}

.brand__mark {
    width: 46px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 4px 7px rgba(49, 5, 10, 0.13));
}

.brand__copy {
    display: grid;
    line-height: 1.1;
}

.brand__copy strong {
    font-size: 17px;
    letter-spacing: -0.01em;
}

.brand__copy small {
    margin-top: 5px;
    color: var(--burgundy-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.brand__short {
    display: none;
}

.site-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-header__actions form {
    margin: 0;
}

.header-link {
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.header-link:hover {
    color: var(--burgundy-800);
}

.button {
    min-height: 46px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--burgundy-800);
    color: #fff;
    box-shadow: 0 8px 18px rgba(109, 17, 27, 0.2);
}

.button--primary:hover {
    background: var(--burgundy-900);
    box-shadow: 0 10px 24px rgba(109, 17, 27, 0.25);
}

.button--secondary {
    border-color: var(--line);
    background: var(--paper);
    color: var(--burgundy-800);
}

.button--quiet {
    border-color: rgba(109, 17, 27, 0.16);
    background: rgba(109, 17, 27, 0.045);
    color: var(--burgundy-800);
    box-shadow: none;
}

.button--quiet:hover {
    background: rgba(109, 17, 27, 0.09);
}

.button--small {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
}

.button--wide {
    width: 100%;
}

.page-shell {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}

.catalog {
    padding-block: 42px 72px;
}

.catalog-hero {
    position: relative;
    min-height: 165px;
    padding: clamp(30px, 4vw, 46px);
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(234, 216, 167, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 85% 12%, rgba(234, 216, 167, 0.2), transparent 14rem),
        linear-gradient(135deg, var(--burgundy-950), var(--burgundy-800) 65%, #7b1c22);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.catalog-hero::before,
.catalog-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(234, 216, 167, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.catalog-hero::before {
    width: 270px;
    height: 270px;
    top: -130px;
    right: 10%;
}

.catalog-hero::after {
    width: 150px;
    height: 150px;
    right: -55px;
    bottom: -60px;
}

.catalog-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
}

.catalog-tools {
    position: relative;
    z-index: 2;
    width: calc(100% - clamp(24px, 7vw, 96px));
    margin: -28px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 18px;
    border: 1px solid rgba(109, 17, 27, 0.09);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 36px rgba(49, 5, 10, 0.1);
}

.search-field label,
.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 800;
}

.search-field__control {
    display: flex;
    align-items: center;
}

.search-field__control {
    position: relative;
}

.search-field__icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-52%);
    color: var(--burgundy-700);
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

.search-field input,
.field input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink-950);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-field input:hover,
.field input:hover {
    border-color: #c2b5a8;
}

.search-field input:focus,
.field input:focus {
    border-color: var(--burgundy-700);
    outline: none;
    box-shadow: 0 0 0 4px rgba(109, 17, 27, 0.1);
}

.search-field input {
    padding: 12px 48px 12px 48px;
}

.search-field input::-webkit-search-cancel-button {
    display: none;
}

.search-field__clear {
    position: absolute;
    right: 7px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-500);
    cursor: pointer;
    font-size: 24px;
}

.search-field__clear:hover {
    background: var(--canvas);
    color: var(--burgundy-800);
}

.song-grid {
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.song-card {
    min-width: 0;
    height: 100%;
}

.song-card a {
    height: 100%;
    min-height: 82px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(109, 17, 27, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink-950);
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.song-card a:hover {
    border-color: rgba(109, 17, 27, 0.28);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.song-card__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(109, 17, 27, 0.07);
    color: var(--burgundy-800);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
}

.song-card__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.song-card__copy strong {
    overflow-wrap: anywhere;
    font-size: 16px;
    letter-spacing: -0.01em;
    line-height: 1.28;
}

.song-card__copy small {
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
}

.song-card__arrow {
    color: var(--gold-600);
    font-size: 20px;
    transition: transform 160ms ease;
}

.song-card a:hover .song-card__arrow {
    transform: translateX(3px);
}

.empty-state {
    padding: 60px 24px;
    border: 1px dashed #cbbcaf;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.56);
    text-align: center;
}

.empty-state strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.empty-state p {
    max-width: 500px;
    margin: 8px auto 22px;
    color: var(--ink-700);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
}

.site-footer__inner {
    width: min(calc(100% - 40px), var(--page-width));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 700;
}

/* Login */
.login-page {
    background: var(--canvas);
}

.login-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(500px, 1fr) minmax(440px, 1fr);
}

.login-brand {
    position: relative;
    padding: clamp(42px, 7vw, 92px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 85% 10%, rgba(234, 216, 167, 0.18), transparent 17rem),
        linear-gradient(145deg, var(--burgundy-950), var(--burgundy-800));
    color: #fff;
}

.login-brand::before,
.login-brand::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(234, 216, 167, 0.18);
    border-radius: 50%;
}

.login-brand::before {
    width: 420px;
    height: 420px;
    top: -210px;
    right: -190px;
}

.login-brand::after {
    width: 210px;
    height: 210px;
    right: 8%;
    bottom: -105px;
}

.login-brand > img {
    position: relative;
    z-index: 1;
    width: clamp(96px, 10vw, 142px);
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.24));
}

.login-brand > div:last-child {
    position: relative;
    z-index: 1;
}

.login-brand h1 {
    max-width: 780px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.2vw, 42px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.96;
    overflow-wrap: normal;
}

.login-brand > div > p:last-child {
    margin: 20px 0 0;
    color: var(--gold-200);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 2vw, 21px);
    font-style: italic;
}

.login-panel {
    padding: 48px clamp(28px, 8vw, 110px);
    display: grid;
    place-items: center;
}

.login-card {
    width: min(100%, 430px);
}

.login-card h2 {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.login-form {
    display: grid;
    gap: 18px;
}

.field input {
    padding: 12px 14px;
    font-size: 18px;
}

.form-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(163, 33, 47, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(163, 33, 47, 0.08);
    color: #7f1521;
    font-size: 14px;
    font-weight: 700;
}

/* Liedansicht */
.song-view {
    padding-block: 28px 64px;
}

.breadcrumb {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--burgundy-700);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.song-sheet {
    overflow: hidden;
    border: 1px solid rgba(109, 17, 27, 0.14);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.song-heading {
    padding: 0;
    display: block;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.song-heading__title {
    min-width: 0;
    padding: clamp(24px, 4vw, 38px);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background:
        radial-gradient(circle at 96% 0%, rgba(109, 17, 27, 0.075), transparent 17rem),
        linear-gradient(135deg, #fff, #fcf8f8);
    box-shadow: inset 5px 0 0 var(--burgundy-800);
}

.song-heading__number {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--burgundy-800);
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(109, 17, 27, 0.2);
}

.song-heading h1 {
    margin: 0;
    padding-top: calc((58px - 1.05em) / 2);
    overflow-wrap: anywhere;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.song-heading__tools {
    width: 100%;
    min-height: 64px;
    padding: 10px clamp(18px, 4vw, 38px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    border-top: 1px solid rgba(109, 17, 27, 0.1);
    background: rgba(109, 17, 27, 0.035);
}

.harmony-pad {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(109, 17, 27, 0.22);
    border-radius: 12px;
    background: var(--paper);
    overflow: hidden;
}

.harmony-pad__key {
    min-height: 42px;
    padding: 7px 10px 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    color: var(--burgundy-800);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.harmony-pad__key:hover {
    background: #fbf2f3;
}

.harmony-pad__key:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid rgba(109, 17, 27, 0.26);
    outline-offset: -3px;
}

.harmony-pad__key.is-playing {
    background: var(--burgundy-800);
    color: var(--paper);
}

.harmony-pad__key.is-playing .harmony-pad__image {
    filter: brightness(0) invert(1);
}

.harmony-pad__image {
    width: auto;
    height: 27px;
    object-fit: contain;
}

.harmony-pad__image--slash {
    height: 23px;
    margin-inline: -5px;
}

.harmony-pad__buttons {
    padding: 3px;
    display: inline-flex;
    gap: 2px;
    border-left: 1px solid rgba(109, 17, 27, 0.13);
    background: rgba(109, 17, 27, 0.035);
}

.harmony-pad__buttons button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--burgundy-800);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.harmony-pad__buttons button sup {
    font-size: 8px;
    line-height: 0;
}

.harmony-pad__buttons button:hover {
    background: rgba(109, 17, 27, 0.09);
}

.harmony-pad__buttons button:focus-visible {
    outline: 2px solid rgba(109, 17, 27, 0.26);
    outline-offset: 1px;
}

.harmony-pad__buttons button:active {
    transform: translateY(1px);
}

.harmony-pad__buttons button.is-playing {
    background: var(--burgundy-800);
    color: var(--paper);
    box-shadow: 0 0 0 3px rgba(109, 17, 27, 0.1);
}

.text-size {
    margin-left: auto;
    padding: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-color: rgba(109, 17, 27, 0.16);
    border-radius: 12px;
    background: var(--paper);
}

.text-size__label {
    padding: 0 8px 0 7px;
    color: var(--ink-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.text-size button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink-700);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.text-size button:hover,
.text-size button[aria-pressed="true"] {
    background: var(--burgundy-800);
    color: var(--paper);
}

.text-size button:focus-visible {
    outline: 2px solid rgba(109, 17, 27, 0.24);
    outline-offset: 1px;
}

.song-verses {
    padding: clamp(20px, 4vw, 44px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.verse {
    min-width: 0;
    padding: clamp(20px, 3vw, 30px);
    break-inside: avoid;
    border: 1px solid #e8e0d7;
    border-radius: var(--radius-md);
    background: #fbf9f5;
}

.verse p,
.verse .wrapper {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: calc(clamp(17px, 1.7vw, 20px) * var(--lyrics-scale));
    line-height: 1.58;
}

.verse strong,
.verse b {
    color: var(--burgundy-800);
}

.verse em,
.verse i {
    color: var(--ink-500);
}

.verse .half-gap {
    display: block;
    height: 0.79em;
}

.error-state {
    min-height: calc(100vh - 155px);
    padding-block: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-state__code {
    color: var(--burgundy-800);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    line-height: 1;
}

.error-state h1 {
    margin: 12px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 52px);
}

.error-state p {
    margin: 10px 0 24px;
    max-width: 580px;
    color: var(--ink-700);
}

.error-state__countdown {
    color: var(--burgundy-800);
}

@media (min-width: 1120px) {
    .song-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .catalog-tools {
        grid-template-columns: 1fr;
    }

    .login-shell {
        display: block;
        background: var(--canvas);
    }

    .login-brand {
        min-height: 310px;
        padding: 30px clamp(22px, 7vw, 50px) 58px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }

    .login-brand > img {
        width: 86px;
    }

    .login-brand h1 {
        margin-top: 0;
        font-size: clamp(28px, 5vw, 36px);
    }

    .login-brand > div > p:last-child {
        margin-top: 12px;
        font-size: 16px;
    }

    .login-panel {
        position: relative;
        z-index: 2;
        margin-top: -36px;
        padding: 0 18px 36px;
        display: block;
    }

    .login-card {
        width: min(100%, 520px);
        margin: 0 auto;
        padding: clamp(26px, 7vw, 42px);
        border: 1px solid rgba(109, 17, 27, 0.09);
        border-radius: var(--radius-lg);
        background: var(--paper);
        box-shadow: var(--shadow-lg);
    }

    .song-heading__tools {
        justify-content: flex-start;
    }

    .song-verses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .site-header__inner,
    .page-shell,
    .site-footer__inner {
        width: min(calc(100% - 24px), var(--page-width));
    }

    .site-header__inner {
        min-height: 68px;
    }

    .brand {
        gap: 9px;
    }

    .brand__mark {
        width: 38px;
        height: 45px;
    }

    .brand__copy strong {
        font-size: 15px;
    }

    .brand__copy small {
        margin-top: 3px;
        font-size: 10px;
    }

    .site-header__actions {
        gap: 8px;
    }

    .header-link {
        display: none;
    }

    .button--small {
        min-height: 42px;
        padding-inline: 12px;
    }

    .catalog {
        padding-block: 18px 48px;
    }

    .catalog-hero {
        min-height: 0;
        padding: 28px 24px 56px;
        border-radius: 20px;
    }

    .catalog-hero h1 {
        font-size: clamp(30px, 8.5vw, 36px);
        white-space: nowrap;
    }

    .catalog-tools {
        width: calc(100% - 20px);
        margin-top: -30px;
        padding: 14px;
        gap: 14px;
    }

    .search-field input {
        min-height: 52px;
        font-size: 16px;
    }

    .song-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .song-card a {
        min-height: 76px;
        padding: 12px;
        grid-template-columns: 44px minmax(0, 1fr) 24px;
        gap: 12px;
        border-radius: 14px;
    }

    .song-card__number {
        width: 44px;
        height: 44px;
    }

    .site-footer__inner {
        min-height: 84px;
        padding-block: 18px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
    }

    .login-brand {
        min-height: 290px;
        padding: 24px 22px 52px;
    }

    .login-brand > img {
        width: 72px;
    }

    .login-brand h1 {
        font-size: 26px;
        line-height: 1;
    }

    .login-brand > div > p:last-child {
        margin-top: 10px;
        font-size: 14px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .login-card h2 {
        font-size: 32px;
    }

    .song-view {
        padding-block: 18px 44px;
    }

    .breadcrumb {
        margin: 0 4px 12px;
    }

    .song-sheet {
        border-radius: 18px;
    }

    .song-heading {
        padding: 0;
    }

    .song-heading__title {
        padding: 22px 18px 20px;
        align-items: flex-start;
        gap: 13px;
        box-shadow: inset 4px 0 0 var(--burgundy-800);
    }

    .song-heading__number {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 13px;
        font-size: 17px;
    }

    .song-heading h1 {
        padding-top: calc((46px - 1.05em) / 2);
        font-size: clamp(24px, 7vw, 30px);
    }

    .song-heading__tools {
        min-height: 0;
        padding: 10px 14px;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .harmony-pad__key {
        min-height: 40px;
        padding: 6px 8px 6px 11px;
        font-size: 13px;
    }

    .harmony-pad__image {
        height: 25px;
    }

    .harmony-pad__image--slash {
        height: 22px;
    }

    .harmony-pad__buttons button {
        width: 32px;
        height: 32px;
    }

    .text-size button {
        width: 34px;
        height: 37px;
    }

    .text-size__label {
        padding-inline: 6px;
        font-size: 9px;
    }

    .song-verses {
        padding: 12px;
        gap: 10px;
    }

    .verse {
        padding: 20px 17px;
        border-radius: 13px;
    }

    .verse p,
    .verse .wrapper {
        font-size: calc(18px * var(--lyrics-scale));
        line-height: 1.52;
    }

}

@media (max-width: 400px) {
    .brand__long {
        display: none;
    }

    .brand__short {
        display: inline;
    }
}

@media print {
    .site-header,
    .site-footer,
    .breadcrumb,
    .song-heading__tools {
        display: none !important;
    }

    body,
    .song-sheet,
    .verse {
        background: #fff;
        box-shadow: none;
    }

    .page-shell {
        width: 100%;
    }

    .song-view {
        padding: 0;
    }

    .song-sheet,
    .verse {
        border-color: #aaa;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
