.live-sync-wrapper{
    margin: 12px 0 18px;
    display:flex;
    justify-content:flex-start;
}

.live-sync-btn{
    position:relative;

    display:inline-flex;
    align-items:left;
    justify-content:center;
    gap:9px;

    width:auto;
    max-width:100%;

    padding:10px 16px;

    background:#fff8f5;
    color:#5f5a57;

    border:1px solid #f1ddd6;
    border-radius:999px;

    font-size:10pt;
    font-weight:400;
    line-height:1.2;

    cursor:pointer;

    transition:.2s ease;
}

.live-sync-btn i{
    color:#ff0000;
    font-size:16px;
}

.live-sync-btn:hover{
    background:#fff1eb;
    border-color:#eb8767;
    color:#a9553b;
    transform:translateY(-1px);
}
.live-sync-btn:hover i{
    color:#fff;
}
.live-sync-btn:hover{
    color:#fff;
}
/* YENªÄ badge */
.live-sync-btn::after{
    content:"Yeni";

    position:absolute;
    top:-8px;
    right:-6px;

    padding:3px 7px;

    background:#eb8767;
    color:#fff;

    border-radius:999px;

    font-size:8pt;
    font-weight:700;
    line-height:1;
    
    box-shadow:0 2px 8px rgba(235,135,103,.25);
}

@media(max-width:768px){

    .live-sync-btn{
        width:100%;
        justify-content:center;
    }

}
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) line,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) circle,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) path,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([width="100%"]),

.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) line,
.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) circle,
.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) path,
.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([width="100%"]) {
    stroke: #ffffff !important;
}
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) text,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) tspan,

.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) text,
.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) tspan {
    fill: #ffffff !important;
}
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) circle:not([fill="none"]),
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([fill="none"]):not([width="100%"]),

.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) circle:not([fill="none"]),
.ay-sync-embed .ay-chord:hover .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([fill="none"]):not([width="100%"]) {
    fill: #ffffff !important;
}

.ay-sync-embed {
    --ay-bg: #ffffff;
    --ay-panel: #fff7f4;
    --ay-panel-2: #ffffff;
    --ay-text: #222222;
    --ay-muted: #6b7280;
    --ay-primary: #eb8767;
    --ay-primary-dark: #d96f51;
    --ay-active: #eb8767;
    --ay-active-soft: #fff1eb;
    --ay-accent: #eb8767;
    --ay-border: #f1cfc4;
    max-width: 920px;
    margin: 24px auto;
    padding: 18px;
    background: var(--ay-bg);
    color: var(--ay-text);
    border-radius: 10px;
    border: 1px solid var(--ay-border);
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.ay-sync-embed * { box-sizing: border-box; }

.ay-sync-embed .ay-title {
    margin: 0;
    color: var(--ay-text);
    font-size: 12pt;
    line-height: 1.25;
    text-align: center;
    font-weight:500;
    
}
.ay-sync-embed .ay-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 100%;
    margin: 10px auto 14px;

    color: var(--ay-muted);
    font-size: 9pt;
    padding: 10px 12px;

    background: #fff7f4;
    border: 1px solid var(--ay-border);
    border-radius: 8px;

    text-align: center;
}

/* Tablet + Masa«äst«ä */
@media (min-width: 768px) {
    .ay-sync-embed .ay-info {
        width: 70%;
    }
}

.ay-sync-embed .ay-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid rgba(235,135,103,.45);
    border-radius: 50%;
    color: var(--ay-accent);
    font-size: 12px;
    font-weight: 700;
}

.ay-sync-embed .ay-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
}

/* Tablet ve Ã¼stÃ¼ */
@media (min-width: 768px) {
    .ay-sync-embed .ay-video {
        width: 70%;
        margin: 0 auto;
    }
}

.ay-sync-embed .ay-player {
    width: 100%;
    height: 100%;
}

.ay-sync-embed .ay-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding: 12px;
    background: var(--ay-panel);
    border: 1px solid var(--ay-border);
    border-radius: 8px;
    color: var(--ay-muted);
}

.ay-sync-embed .ay-key-badge {
    color: var(--ay-muted);
    font-weight: 500;
}

.ay-sync-embed .ay-song-key {
    color: var(--ay-primary-dark);
    font-weight: 700;
}

.ay-sync-embed .ay-btn {
    min-width: 38px;
    height: 36px;
    border: 1px solid var(--ay-border);
    border-radius: 8px;
    background: var(--ay-panel-2);
    color: var(--ay-primary-dark);
    font-size: 16px;
    cursor: pointer;
    padding: 0 10px;
    font-weight: 700;
}

.ay-sync-embed button.ay-btn {
    width: 38px !important;
    font-size: 16px !important;
}

.ay-sync-embed .ay-btn:hover {
    border-color: var(--ay-primary);
    background: #fff1eb;
}

.ay-sync-embed .ay-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: min(190px, 100%);
    margin: 18px auto 14px;
    padding: 13px 14px 12px;
    border: 1px solid rgba(235,135,103,.55);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff8f5, #ffffff);
    box-shadow: 0 8px 20px rgba(235,135,103,.1);
    text-align: center;
}

.ay-sync-embed .ay-now-label {
    color: var(--ay-muted);
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ay-sync-embed .ay-current-chord {
    display: block;
    color: var(--ay-primary);
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.ay-sync-embed .ay-current-chord .ay-label-part,
.ay-sync-embed .ay-current-chord .ay-root,
.ay-sync-embed .ay-current-chord .ay-acc,
.ay-sync-embed .ay-current-chord .ay-suffix,
.ay-sync-embed .ay-current-chord .ay-slash {
    font: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

.ay-sync-embed .ay-clock {
    color: #4b5563;
    font-size: 10pt;
    font-weight: 700;
}

.ay-sync-embed .ay-timeline {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 32px 6px;
    scroll-behavior: smooth;
    scroll-padding-inline: 32px;
}

.ay-sync-embed .ay-chord {
    position: relative;
    flex: 0 0 auto;
    min-width: 124px;
    max-width: 156px;
    padding: 10px 8px;
    border: 1px solid var(--ay-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ay-text);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
}

.ay-sync-embed button.ay-chord {
    width: auto !important;
    font-size: inherit !important;
}

.ay-sync-embed .ay-chord.past { opacity: .58; }

.ay-sync-embed .ay-chord.active {
    background: linear-gradient(135deg, var(--ay-active), #f3aa91);
    color: #ffffff;
    border-color: transparent;
    opacity: 1;
    box-shadow: 0 8px 22px rgba(235,135,103,.28);
}

.ay-sync-embed .ay-name { display: none; }

.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name {
    display: block;
    min-height: 22px;
    margin-bottom: 3px;
    color: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name .ay-label-part,
.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name .ay-root,
.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name .ay-acc,
.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name .ay-suffix,
.ay-sync-embed .ay-chord.ay-instrument-ukulele .ay-name .ay-slash,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name .ay-label-part,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name .ay-root,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name .ay-acc,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name .ay-suffix,
.ay-sync-embed .ay-chord.ay-instrument-piano .ay-name .ay-slash {
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.ay-sync-embed .ay-acc-sharp::before { content: "\0023"; }
.ay-sync-embed .ay-acc-flat::before { content: "b"; }
.ay-sync-embed .ay-slash { padding: 0 1px; }

.ay-sync-embed .ay-time {
    display: block;
    margin-top: 6px;
    color: var(--ay-muted);
    font-size: 12px;
}

.ay-sync-embed .ay-chord.active .ay-time { color: rgba(255,255,255,.9); }

.ay-sync-embed .ay-mini-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    margin-top: 0;
}

.ay-sync-embed .ay-chordpress-bank {
    position: absolute !important;
    left: -99999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ay-sync-embed .ay-mini-diagram .cpress_chordsheet,
.ay-sync-embed .ay-mini-diagram .cpress-chord {
    display: block !important;
    width: 112px !important;
    max-width: 112px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 12px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.ay-sync-embed .ay-mini-diagram .cpress-chord svg,
.ay-sync-embed .ay-mini-diagram svg {
    width: 112px !important;
    height: 132px !important;
    display: block !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

.ay-sync-embed .ay-mini-diagram svg > text:first-of-type {
    font-size: 64px !important;
    font-weight: 700 !important;
}

.ay-sync-embed .ay-mini-diagram .ay-live-instrument-diagram {
    display: block !important;
    flex: 0 0 auto !important;
    width: 112px !important;
    max-width: 112px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.ay-sync-embed .ay-mini-diagram .cpi-standalone-ukulele .cpi-ukulele-chart,
.ay-sync-embed .ay-mini-diagram .cpi-standalone-ukulele svg {
    width: 112px !important;
    max-width: 112px !important;
    height: 132px !important;
    margin: 0 auto !important;
}

.ay-sync-embed .ay-mini-diagram .cpi-standalone-piano {
    width: 132px !important;
    max-width: 132px !important;
}

.ay-sync-embed .ay-mini-diagram .cpi-standalone-piano .cpi-piano-svg {
    width: 132px !important;
    max-width: 132px !important;
    height: auto !important;
    margin: 0 auto !important;
}

.ay-sync-embed .ay-mini-diagram .cpress_chordsheet > :not(.cpress-chord):not(svg) {
    display: none !important;
}

.ay-sync-embed .ay-diagram-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px dashed currentColor;
    border-radius: 8px;
    font-size: 11px;
    opacity: .45;
}

.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) line,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) circle,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) path,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([width="100%"]) {
    stroke: #ffffff !important;
}

.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) text,
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) tspan {
    fill: #ffffff !important;
}

.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) circle:not([fill="none"]),
.ay-sync-embed .ay-chord.active .ay-mini-diagram svg:not(.cpi-piano-svg) rect:not([fill="none"]):not([width="100%"]) {
    fill: #ffffff !important;
}

.ay-sync-embed .ay-foot {
    margin: 12px 0 0;
    color: var(--ay-muted);
    font-size: 12px;
    text-align: center;
}

.ay-sync-embed .ay-runtime-error {
    display: none;
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid #f1cfc4;
    border-radius: 8px;
    background: #fff7f4;
    color: #b4533c;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .ay-sync-embed { padding: 12px; }
    .ay-sync-embed .ay-title { font-size: 19px; }
    .ay-sync-embed .ay-info { font-size: 9pt; }
    .ay-sync-embed .ay-controls {
        justify-content: center;
        gap: 8px;
        padding: 10px;
        font-size: 10pt;
    }
    .ay-sync-embed .ay-now {
        width: min(180px, 100%);
        margin: 16px auto 12px;
        padding: 12px 12px 11px;
    }
    .ay-sync-embed .ay-now-label { font-size: 9px; }
    .ay-sync-embed .ay-current-chord { font-size: 28px !important; }
    .ay-sync-embed .ay-chord {
        min-width: 124px;
        padding: 9px 7px;
        box-shadow: none;
    }
    .ay-sync-embed .ay-chord.active { box-shadow: none; }
    .ay-sync-embed .ay-timeline {
        padding-left: 24px;
        padding-right: 24px;
        scroll-padding-inline: 24px;
    }
    .ay-sync-embed .ay-mini-diagram { min-height: 108px; }
    .ay-sync-embed .ay-mini-diagram .cpress_chordsheet,
    .ay-sync-embed .ay-mini-diagram .cpress-chord {
        width: 98px !important;
        max-width: 98px !important;
        padding-top: 11px !important;
    }
    .ay-sync-embed .ay-mini-diagram .cpress-chord svg,
    .ay-sync-embed .ay-mini-diagram svg {
        width: 98px !important;
        height: 118px !important;
    }
    .ay-sync-embed .ay-mini-diagram svg > text:first-of-type {
        font-size: 62px !important;
    }
    .ay-sync-embed .ay-mini-diagram .ay-live-instrument-diagram,
    .ay-sync-embed .ay-mini-diagram .cpi-standalone-ukulele .cpi-ukulele-chart,
    .ay-sync-embed .ay-mini-diagram .cpi-standalone-ukulele svg {
        width: 98px !important;
        max-width: 98px !important;
    }
    .ay-sync-embed .ay-mini-diagram .cpi-standalone-piano,
    .ay-sync-embed .ay-mini-diagram .cpi-standalone-piano .cpi-piano-svg {
        width: 118px !important;
        max-width: 118px !important;
    }
}
