/* ---------- K1290 »Musiktrinnet« (Kim 18/11 17.14 + 17.25, mockup A »musik i fuldt kort«) – kun bag Features:K1290Musiktrin ----------
   Musikvisningen fylder tekstkortet på stedet (K1075/K1086/N8): manus på én linje øverst, to kolonner på computer (afspiller + niveau |
   vores bud + egen musik + knap), én kolonne på mobil. Ingen animation, ingen indre rulning, runde former. Alt er nyt (k1290-klasser) –
   de eksisterende elementer bevarer deres farver. */
html body .k756-mlayer.k1290:not(#k1290) { padding: 18px 22px 20px; }
html body .k756-mlayer.k1290 > .k756-mscroll:not(#k1290):not(#k1290):not(#k1290):not(#k1290):not(#k1290):not(#k1290) { padding: 0 !important; overflow: visible !important; max-height: none !important; }

html body .k756-mlayer.k1290 .k1290-mline:not(#k1290) {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #E3DCD0; padding: 0 0 12px; margin: 0 0 14px; font-size: 14px;
}
html body .k756-mlayer.k1290 .k1290-man:not(#k1290) { flex: 1 1 0; min-width: 0; color: #6B7A73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .k756-mlayer.k1290 .k1290-man b:not(#k1290) { color: #182A24; font-weight: 600; }
html body .k756-mlayer.k1290 .k1290-link:not(#k1290) {
    border: 0; background: none; padding: 2px 0; font: inherit; font-size: 14px; font-weight: 600; color: #2E4B40; white-space: nowrap; cursor: pointer;
}
html body .k756-mlayer.k1290 .k1290-link:hover:not(#k1290) { text-decoration: underline; }

html body .k756-mlayer.k1290 .k1290-grid:not(#k1290) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
html body .k756-mlayer.k1290 .k1290-h:not(#k1290) { margin: 0 0 4px; }
html body .k756-mlayer.k1290 .k1290-h b:not(#k1290) { font-size: 18px; font-weight: 700; color: #182A24; }
html body .k756-mlayer.k1290 .k1290-hear:not(#k1290) { margin: 0 0 12px; font-size: 13px; color: #6B7A73; }
html body .k756-mlayer.k1290 .k1290-hear b:not(#k1290) { color: #2E4B40; font-weight: 600; }

/* den lille afspiller: dit eget speak (bølgen, K1091) med musikken som blød flade forneden */
html body .k756-mlayer.k1290 .k1290-mini:not(#k1290) {
    display: flex; align-items: center; gap: 14px; background: #F4F8F5; border: 1px solid #D3E0D8; border-radius: 16px; padding: 12px 14px;
}
html body .k756-mlayer.k1290 .k1290-play:not(#k1290) {
    flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #2E4B40; color: #FFFFFF; display: grid; place-items: center; cursor: pointer; padding: 0;
}
html body .k756-mlayer.k1290 .k1290-play svg:not(#k1290) { width: 18px; height: 18px; fill: currentColor; }
html body .k756-mlayer.k1290 .k1290-play:focus-visible:not(#k1290) { outline: 2px solid #182A24; outline-offset: 2px; }
html body .k756-mlayer.k1290 .k1290-mbody:not(#k1290) { flex: 1 1 auto; min-width: 0; }
html body .k756-mlayer.k1290 .k1290-wave:not(#k1290):not(#k1290):not(#k1290) {
    position: relative; display: block; height: 44px; margin: 0; border-radius: 8px; background: transparent; cursor: pointer; overflow: hidden;
}
html body .k756-mlayer.k1290 .k1290-wave:not(.is-wave) .speaks-card-timeline-fill:not(#k1290):not(#k1290) {
    position: absolute; left: 0; top: calc(50% - 1px); height: 2px; background: #2E4B40; border-radius: 2px;
}
html body .k756-mlayer.k1290 .k1290-wave:not(.is-wave)::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: #CFE0D7; border-radius: 2px; }
html body .k756-mlayer.k1290 .k1290-wave.is-wave .speaks-card-timeline-fill:not(#k1290):not(#k1290),
html body .k756-mlayer.k1290 .k1290-wave .speaks-card-timeline-knob:not(#k1290):not(#k1290) { display: none; }
html body .k756-mlayer.k1290 .k1290-wave .k1091-canvas:not(#k1290) { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
html body .k756-mlayer.k1290 .k1290-bed:not(#k1290) {
    position: absolute; left: 0; right: 0; bottom: 2px; height: 18px; border-radius: 8px; z-index: 1; opacity: 0;
    background: linear-gradient(180deg, rgba(205, 230, 218, 0), rgba(205, 230, 218, .95));
}
html body .k756-mlayer.k1290 .k1290-mini.has-music .k1290-bed:not(#k1290) { opacity: 1; }
html body .k756-mlayer.k1290 .k1290-time:not(#k1290) { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12px; color: #6B7A73; }
html body .k756-mlayer.k1290 .k1290-start:not(#k1290) {
    border: 0; background: none; padding: 0 4px; font: inherit; font-size: 12px; font-weight: 600; color: #2E4B40; cursor: pointer; border-radius: 999px;
}
html body .k756-mlayer.k1290 .k1290-start:hover:not(#k1290) { text-decoration: underline; }

html body .k756-mlayer.k1290 .k1290-sec:not(#k1290) {
    margin: 16px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6B7A73;
}
html body .k756-mlayer.k1290 .k1290-sec-top:not(#k1290) { margin-top: 0; }
html body .k756-mlayer.k1290 .k1290-lvl:not(#k1290) { display: flex; gap: 8px; align-items: center; padding-top: 6px; }
html body .k756-mlayer.k1290 .k1290-lvl button:not(#k1290) {
    position: relative; flex: 1 1 0; border: 1px solid #E3DCD0; border-radius: 12px; padding: 9px 0; font: inherit; font-size: 14px; font-weight: 600;
    background: #FFFFFF; color: #182A24; cursor: pointer;
}
html body .k756-mlayer.k1290 .k1290-lvl button.is-on:not(#k1290) { border-color: #2E4B40; background: #EEF5F1; box-shadow: 0 2px 6px rgba(46, 75, 64, .15); }
html body .k756-mlayer.k1290 .k1290-lvl button:disabled:not(#k1290) { opacity: .45; cursor: default; }
html body .k756-mlayer.k1290 .k1290-lvl em:not(#k1290) {
    position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 600; line-height: 1.5;
    background: #2E4B40; color: #FFFFFF; padding: 0 7px; border-radius: 999px; white-space: nowrap;
}
html body .k756-mlayer.k1290 .k1290-adv:not(#k1290) {
    margin-top: 12px; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 500; color: #6B7A73; cursor: pointer;
}
html body .k756-mlayer.k1290 .k1290-advbox:not(#k1290) { margin-top: 8px; padding: 10px 12px; border: 1px solid #E3DCD0; border-radius: 12px; background: #FFFFFF; }
html body .k756-mlayer.k1290 .k1290-fine-l:not(#k1290) { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #182A24; margin-bottom: 6px; }
html body .k756-mlayer.k1290 .k1290-fine-l span:not(#k1290) { color: #6B7A73; }
html body .k756-mlayer.k1290 .k1290-advbox .k995-range:not(#k1290) { width: 100%; }

/* vores bud: runde cirkler – »Uden musik« først (stiplet) */
html body .k756-mlayer.k1290 .k1290-circs:not(#k1290) { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
html body .k756-mlayer.k1290 .k1290-c:not(#k1290) {
    display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 12px; color: #182A24; text-align: center;
}
html body .k756-mlayer.k1290 .k1290-o:not(#k1290) {
    width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 20px; border: 3px solid transparent;
    background: linear-gradient(160deg, var(--a, #7FA08F), var(--b, #4B6E5F)); box-sizing: border-box;
}
html body .k756-mlayer.k1290 .k1290-c.is-sel .k1290-o:not(#k1290) { border-color: #182A24; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px rgba(210, 100, 14, .35); }
html body .k756-mlayer.k1290 .k1290-none .k1290-o:not(#k1290) { background: #FFFFFF; border: 1.5px dashed #E3DCD0; color: #6B7A73; }
html body .k756-mlayer.k1290 .k1290-none.is-sel .k1290-o:not(#k1290) { border: 3px solid #182A24; }
html body .k756-mlayer.k1290 .k1290-c:focus-visible .k1290-o:not(#k1290) { outline: 2px solid #182A24; outline-offset: 3px; }
html body .k756-mlayer.k1290 .k1290-n:not(#k1290) { display: block; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .k756-mlayer.k1290 .k1290-wait:not(#k1290) { align-self: center; font-size: 13px; color: #6B7A73; }
html body .k756-mlayer.k1290 .k1290-why:not(#k1290) { margin: 12px 0 0; font-size: 13px; background: #FFFFFF; border: 1px solid #E3DCD0; border-radius: 12px; padding: 9px 12px; color: #182A24; }
html body .k756-mlayer.k1290 .k1290-own:not(#k1290) {
    display: block; margin-top: 10px; border: 1.5px dashed #E3DCD0; border-radius: 12px; padding: 9px 12px; font-size: 13px; color: #6B7A73; background: #FFFFFF; cursor: pointer;
}
html body .k756-mlayer.k1290 .k1290-own b:not(#k1290) { color: #182A24; font-weight: 600; }
html body .k756-mlayer.k1290 .k1062-file:focus-visible + .k1290-own:not(#k1290) { outline: 2px solid #182A24; outline-offset: 2px; }
html body .k756-mlayer.k1290 .k1290-all:not(#k1290) {
    display: inline-block; margin-top: 10px; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: #2E4B40; cursor: pointer;
}
html body .k756-mlayer.k1290 .k1290-cta:not(#k1290) { margin-top: 16px; }
html body .k756-mlayer.k1290 .k1290-cta .k756-cta:not(#k1290):not(#k1290) { width: 100%; }

@media (max-width: 640px) {
    html body .k756-mlayer.k1290:not(#k1290) { padding: 14px 16px 16px; }
    html body .k756-mlayer.k1290 .k1290-man:not(#k1290) { flex: 1 1 100%; }
    html body .k756-mlayer.k1290 .k1290-grid:not(#k1290) { grid-template-columns: minmax(0, 1fr); gap: 0; }
    html body .k756-mlayer.k1290 .k1290-right .k1290-sec-top:not(#k1290) { margin-top: 16px; }
    html body .k756-mlayer.k1290 .k1290-circs:not(#k1290) { gap: 10px; }
}

/* K1290 punkt 8: én rolig linje på resultatkortet – »♪ Prøv med musik – vores bud: …« med »▶ Lyt« og × */
html body .k1290-offer:not(#k1290) {
    display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #F4F8F5; font-size: 14px; color: #182A24;
}
html body .k1290-offer .k1290-note:not(#k1290) { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #CDE6DA; display: grid; place-items: center; font-size: 14px; }
html body .k1290-offer b:not(#k1290) { font-weight: 600; }
html body .k1290-offer .k1290-offer-t:not(#k1290) { min-width: 0; }
html body .k1290-offer .k1290-offer-sp:not(#k1290) { flex: 1 1 auto; }
html body .k1290-offer .k1290-lyt:not(#k1290) {
    flex: none; border: 1px solid #2E4B40; color: #2E4B40; border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 600; font-size: 13px; background: #FFFFFF; cursor: pointer;
}
html body .k1290-offer .k1290-x:not(#k1290) { flex: none; border: 0; background: none; color: #6B7A73; font-size: 18px; line-height: 1; padding: 2px 6px; cursor: pointer; border-radius: 50%; }

/* Har teksten brug for mere plads end musikken (N8: musikvisningen får tekstens højde), står musikken øverst og fylder kortet – ingen tom plads over den */
html body .k1073-on .v247-speak-editor.k1075-music-view > .k756-mlayer.k1290:not(#k1290):not(#k1290):not(#k1290):not(#k1290):not(#k1290):not(#k1290) { flex: 1 1 auto; justify-content: flex-start; }
@media (max-width: 640px) {
    /* fire cirkler på én række ved 390 (Uden musik + tre bud) */
    html body .k756-mlayer.k1290 .k1290-c:not(#k1290) { width: 68px; }
    html body .k756-mlayer.k1290 .k1290-o:not(#k1290) { width: 56px; height: 56px; }
    html body .k756-mlayer.k1290 .k1290-n:not(#k1290) { max-width: 68px; }
}
