.presentation {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 48px;
    background: #000;
    overflow: hidden;
}

.presentation-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.presentation-controls {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presentation-controls span {
    min-width: 72px;
    color: var(--white);
    text-align: center;
    font-weight: 850;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52);
}

.slide {
    width: min(1400px, 100%);
    max-height: calc(100vh - 150px);
    overflow: hidden;
    white-space: pre-wrap;
    line-height: 1.25;
    font-weight: 850;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.42);
}

.musician-view {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    color: #e8eef6;
    background:
        radial-gradient(circle at top left, rgba(201, 149, 39, 0.15), transparent 34%),
        linear-gradient(160deg, #071d33, #0d2f54 58%, #05111f);
}

.musician-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 29, 51, 0.92);
}

.musician-header p,
.musician-header h1 {
    margin: 0;
}

.musician-header p {
    color: #f0c15b;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.musician-header h1 {
    margin-top: 3px;
    font-size: clamp(1.15rem, 5vw, 1.8rem);
}

.musician-header span {
    display: block;
    margin-top: 4px;
    color: rgba(232, 238, 246, 0.78);
}

.musician-close {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.5rem;
    font-weight: 850;
}

.musician-toolbar {
    display: grid;
    grid-template-columns: 168px 112px 42px minmax(150px, 210px) 42px 104px minmax(150px, 220px) minmax(150px, 220px) minmax(170px, 220px) 88px;
    align-items: end;
    gap: 10px;
    max-width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 17, 31, 0.62);
}

.musician-toolbar .btn {
    min-height: 42px;
    border-radius: 10px;
    white-space: nowrap;
}

.musician-toolbar label {
    display: grid;
    gap: 4px;
    min-width: 0;
    max-width: none;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

#musicianAutoScrollButton {
    grid-column: 1;
}

#musicianCollapseButton {
    grid-column: 2;
    color: #ffffff;
    background: rgba(7, 29, 51, 0.92);
}

.musician-toolbar #musicianTransposeDown,
.musician-toolbar #musicianTransposeUp {
    width: 42px;
    padding: 0;
    border-radius: 999px;
}

#musicianTransposeDown {
    grid-column: 3;
}

#musicianTransposeUp {
    grid-column: 5;
}

#musicianTransposeLabel {
    grid-column: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 850;
    text-align: center;
}

#musicianTransposeReset {
    grid-column: 6;
}

.musician-toolbar input {
    min-height: auto;
    padding: 0;
}

.musician-toolbar select {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 4px 8px;
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

#musicianTopButton {
    grid-column: 10;
}

.musician-settings-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--brand-deep);
    background: #f2c45d;
    font-size: 1.2rem;
    font-weight: 850;
    box-shadow: var(--shadow-md);
}

.musician-scroll {
    overflow: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 196, 93, 0.72) rgba(255, 255, 255, 0.08);
    min-height: 0;
    padding: 22px clamp(16px, 5vw, 54px);
}

.musician-scroll::-webkit-scrollbar {
    width: 11px;
}

.musician-scroll::-webkit-scrollbar-track {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.musician-scroll::-webkit-scrollbar-thumb {
    border: 3px solid rgba(9, 31, 53, 0.92);
    border-radius: 999px;
    background: linear-gradient(180deg, #f2c45d, #c99527);
}

.musician-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd774, #d6a436);
}

.musician-content {
    margin: 0;
    max-width: 100%;
    color: #ffffff;
    column-count: var(--musician-columns, 1);
    column-gap: clamp(28px, 6vw, 72px);
    font-family: "Courier New", monospace;
    line-height: 1.35;
    white-space: pre-wrap;
}

.musician-content .chord-token {
    color: #f2c45d;
    font-weight: 850;
}

.musician-content .section-info-line {
    display: block;
    margin: 1em 0 0.35em;
    color: rgba(248, 250, 252, 0.82);
    font-weight: 700;
}
