/* Låttext med ljudvåg: only what differs from the music poster editor. */

/* Proxima Nova, the typeface of the original designs. Own family name so other editors' rules
   cannot change it. */
@font-face {
    font-family: 'Lattext Proxima Nova';
    font-weight: 300;
    font-display: swap;
    src: url('../../fonts/creators/ProximaNova-Light.woff2') format('woff2'),
         url('../../fonts/creators/ProximaNova-Light.woff') format('woff');
}

@font-face {
    font-family: 'Lattext Proxima Nova';
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/creators/ProximaNova-Regular.woff2') format('woff2'),
         url('../../fonts/creators/ProximaNova-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Lattext Proxima Nova';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('../../fonts/creators/ProximaNova-LightIt.woff2') format('woff2'),
         url('../../fonts/creators/ProximaNova-LightIt.woff') format('woff');
}

@font-face {
    font-family: 'Lattext Proxima Nova';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/creators/ProximaNova-RegIt.woff2') format('woff2'),
         url('../../fonts/creators/ProximaNova-RegIt.woff') format('woff');
}

.lattext-app .lt-lyrics {
    min-height: 260px;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
}

.lattext-app .lt-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lattext-app .lt-col-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--color-border, #d8d2ca);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.lattext-app .lt-col-btn:hover {
    border-color: currentColor;
}

.lattext-app .lt-col-btn.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

.lattext-app .lt-col-btn:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* The editor panel stays light in the site's dark mode, so the chosen song card does too. */
.lattext-app .mp-selected-song {
    background: #f0ebe3;
    border-color: #ebe6de;
    border-left-color: #9a7d4e;
}

.lattext-app .lt-wave-note,
/* editor-ui.js marks every child of the preview as a poster (shadow, fixed width); undo that here. */
.md-editor .lt-wave-note.md-editor-poster {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: min(100%, 620px);
    margin: 16px auto 0;
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    box-shadow: none;
    color: #5f584f;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: left;
}

.lattext-app .lt-wave-note::before {
    content: 'i';
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font: italic 600 11px/1 Georgia, serif;
}
