/* =====================================================================
   E-ART  ·  Muzik bilesenleri
   Piyano klavyesi, piyano oyunlari ve Muzik Cep Rehberi.
   Tema degiskenlerini (theme.css) kullanir; acik/koyu temada calisir.
   ===================================================================== */

/* ------------------------------------------------------------ PIYANO */
.piano {
    --wk-top: #FFFFFF;
    --wk-bot: #F6F5FD;
    --wk-edge: #E2DFF3;
    --wk-lip: #DCD8F1;
    --bk-top: #2E2E38;
    --bk-bot: #121218;
    --whites: 8;
    position: relative;
    display: flex;
    height: var(--piano-h, 168px);
    padding: 0 2px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}
:root[data-theme="dark"] .piano { --wk-top: #ECEBF4; --wk-bot: #DAD8E8; --wk-edge: #B9B6CF; --wk-lip: #A9A5C4; --bk-top: #22222B; --bk-bot: #08080C; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-theme="dark"]) .piano { --wk-top: #ECEBF4; --wk-bot: #DAD8E8; --wk-edge: #B9B6CF; --wk-lip: #A9A5C4; --bk-top: #22222B; --bk-bot: #08080C; }
}

.piano__key {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 10px;
    border: 0;
    cursor: pointer;
    font: inherit;
    transition: background .08s, transform .08s, box-shadow .08s;
}
.piano__key--white {
    flex: 1;
    margin: 0 1.5px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, var(--wk-top) 0%, var(--wk-bot) 100%);
    border: 1px solid var(--wk-edge);
    border-top: 0;
    box-shadow: inset 0 -7px 0 var(--wk-lip), 0 3px 6px rgba(20, 22, 42, .08);
}
.piano__key--black {
    position: absolute;
    top: 0;
    z-index: 2;
    width: calc(100% / var(--whites) * .6);
    height: 62%;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, var(--bk-top) 0%, var(--bk-bot) 100%);
    box-shadow: inset 0 -5px 0 #000, 0 4px 8px rgba(0, 0, 0, .28);
    padding-bottom: 8px;
}
.piano__lbl { font-size: 11px; font-weight: 700; color: #8A90A8; pointer-events: none; }
.piano__key--black .piano__lbl { font-size: 9px; color: rgba(255, 255, 255, .7); }

.piano__key--white.is-down { transform: translateY(2px); box-shadow: inset 0 -3px 0 var(--wk-lip); background: linear-gradient(180deg, #ECEAFF, #DCD7FF); }
.piano__key--black.is-down { transform: translateX(-50%) translateY(2px); box-shadow: inset 0 -2px 0 #000; background: linear-gradient(180deg, #4B3BD6, #2C2290); }

.piano__key--white.is-mark { background: linear-gradient(180deg, var(--wk-top) 0%, color-mix(in srgb, var(--primary) 26%, var(--wk-bot)) 100%); box-shadow: inset 0 -7px 0 var(--primary), 0 3px 6px rgba(20, 22, 42, .08); }
.piano__key--white.is-mark .piano__lbl { color: var(--primary); }
.piano__key--black.is-mark { background: linear-gradient(180deg, #7A6CF5, var(--primary-700)); box-shadow: inset 0 -5px 0 #241B7A, 0 4px 8px rgba(0, 0, 0, .28); }

.piano__key--white.is-demo { background: linear-gradient(180deg, #FFF8EA, #FFD58C); box-shadow: inset 0 -7px 0 #F59E1B, 0 0 18px rgba(245, 158, 27, .55); }
.piano__key--black.is-demo { background: linear-gradient(180deg, #FFC15C, #E0870D); box-shadow: 0 0 16px rgba(245, 158, 27, .6); }
.piano__key--white.is-good { background: linear-gradient(180deg, #F0FFF6, #A9EBC6); box-shadow: inset 0 -7px 0 var(--success); }
.piano__key--black.is-good { background: linear-gradient(180deg, #3BD58A, #0E8048); }
.piano__key--white.is-bad  { background: linear-gradient(180deg, #FFF2F3, #F7B3B8); box-shadow: inset 0 -7px 0 var(--danger); }
.piano__key--black.is-bad  { background: linear-gradient(180deg, #F1626C, #A01F28); }
.piano__key.is-hint { animation: keyHint 1s ease-in-out infinite; }
.piano__key--white.is-hint { box-shadow: inset 0 -7px 0 var(--accent), 0 0 0 2px var(--accent); }
.piano__key--black.is-hint { box-shadow: 0 0 0 2px var(--accent), 0 0 14px rgba(245, 158, 27, .7); }
.piano__key.is-off { opacity: .4; }
@keyframes keyHint { 50% { filter: brightness(1.08) saturate(1.3); } }

.piano-scroll { overflow-x: auto; margin: 0 calc(var(--sp-4) * -1); padding: 0 var(--sp-4) 6px; scrollbar-width: thin; }
.piano-scroll .piano { min-width: 560px; --piano-h: 150px; }

/* ----------------------------------------------------- PIYANO OYUNLARI */
.segmented--wrap { flex-wrap: wrap; }
.segmented--wrap .segmented__item { flex: 1 1 140px; white-space: normal; }

.pg-stage {
    position: relative;
    padding: var(--sp-4);
    border-radius: var(--r-xl);
    background: radial-gradient(600px 220px at 50% 0%, var(--primary-soft), transparent 70%), var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.pg-bar { display: flex; align-items: center; gap: var(--sp-3); min-height: 28px; margin-bottom: var(--sp-3); }
.pg-msg { flex: 1; font-weight: 700; font-size: 15px; color: var(--text); }
.pg-msg[data-tone="go"] { color: var(--success); }
.pg-msg[data-tone="bad"] { color: var(--danger); }
.pg-msg[data-tone="listen"] { color: var(--accent); }
.pg-lives { display: flex; gap: 3px; font-size: 18px; color: #F43F5E; }
.pg-heart { transition: transform .25s, opacity .25s; }
.pg-heart.is-lost { opacity: .18; transform: scale(.8); filter: grayscale(1); }
.pg-combo { font-weight: 800; color: var(--accent); font-size: 14px; }

.pg-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: var(--sp-2); }
.pg-info b { font-size: 16px; }
.pg-info span { font-size: 12.5px; color: var(--text-3); }

.pg-memory {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 120px; margin-bottom: var(--sp-4); padding: var(--sp-4);
    border-radius: var(--r-lg); background: var(--surface-2); text-align: center; color: var(--text-2); font-size: 14px;
}
.pg-big { font-size: 46px; font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.03em; }

.rain {
    position: relative;
    height: clamp(230px, 42vh, 340px);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
        linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / calc(100% / var(--whites, 8)) 100%,
        linear-gradient(180deg, transparent, var(--primary-soft));
    overflow: hidden;
}
.rain__notes { position: absolute; inset: 0; }
.rain__line {
    position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 14px var(--primary);
}
.rain__note {
    position: absolute; top: 0;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0 0 5px;
    margin-left: 1.5px;
    border-radius: 9px;
    background: linear-gradient(180deg, #A78BFA, var(--primary));
    box-shadow: 0 6px 16px -6px var(--primary);
    color: #fff; font-size: 11px; font-weight: 800;
    will-change: transform;
    transition: opacity .25s, filter .25s;
}
.rain__note--black { background: linear-gradient(180deg, #FFC15C, #E0870D); box-shadow: 0 6px 16px -6px #E0870D; }
.rain__note.is-hit { filter: brightness(1.6); opacity: 0; transition: opacity .3s ease-out, filter .1s; }
.rain__note.is-miss { background: var(--neutral); box-shadow: none; opacity: .35; }

/* Porte (music.js -> staff) */
.staff { display: block; width: 100%; height: auto; color: var(--text); overflow: visible; }
.staff__line { stroke: currentColor; stroke-width: 1.15; opacity: .42; }
.staff__clef { fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.staff__clef circle { fill: currentColor; stroke: none; }
.staff__note { color: var(--text); }
.staff__head { fill: currentColor; }
.staff__stem, .staff__ledger { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.staff__ledger { stroke-width: 1.3; opacity: .75; }
.staff__acc { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.staff__acc--bar { stroke-width: 2.6; stroke-linecap: butt; }
.staff__lbl { fill: var(--text-2); font: 700 11px var(--font, inherit); text-anchor: middle; }
.staff__note.is-bad { color: var(--danger); }
.staff__note.is-good { color: var(--success); }
.staff__note.is-on { color: var(--primary); }
.staff__note.is-on .staff__lbl { fill: var(--primary); }
.staff__note.is-dim { opacity: .35; }

/* Rehber: nota okuma */
.segmented--sm { width: auto; flex: none; }
.segmented--sm .segmented__item { padding: 5px 12px; font-size: 12.5px; }
.reading { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface-2); }
.reading__staff { flex: 1 1 0; max-width: 330px; min-width: 0; }
.reading__info { flex: none; display: flex; flex-direction: column; gap: 2px; min-width: 96px; }
.reading__name { font-size: clamp(26px, 7vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--primary); }
.reading__pos { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
@media (max-width: 480px) {
    .reading { flex-direction: column; align-items: stretch; gap: var(--sp-2); text-align: center; }
    .reading__staff { max-width: 300px; width: 100%; margin: 0 auto; }
    .reading__info { align-items: center; }
}
.staff-cards { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 640px) { .staff-cards { grid-template-columns: 1fr 1fr; } }
.staff-card { margin: 0; padding: var(--sp-3) var(--sp-4) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.staff-card .staff { max-width: 320px; margin: 0 auto; }
.staff-card figcaption { margin-top: 4px; font-size: 13px; color: var(--text-2); text-align: center; }
.staff-card figcaption b { display: block; font-size: 14px; color: var(--text); }

.guide-cta {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-4); border-radius: var(--r-xl);
    background: linear-gradient(120deg, color-mix(in srgb, var(--c) 16%, var(--surface)), var(--surface));
    border: 1px solid color-mix(in srgb, var(--c) 35%, var(--border));
    color: inherit; text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.guide-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-cta__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--c); color: #fff; }
.guide-cta b { display: block; font-size: 15px; }
.guide-cta .grow > span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }

/* Rehber: araliklar */
.iv-song { margin-top: var(--sp-3); padding: 9px 12px; border-radius: var(--r-sm); background: var(--accent-weak); color: var(--text); font-size: 13.5px; line-height: 1.45; }
.iv-song:empty { display: none; }
.iv-song span { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--warning); }
.iv-table { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 720px) { .iv-table { grid-template-columns: 1fr 1fr; } }
.iv-row {
    display: flex; align-items: center; gap: var(--sp-3); width: 100%;
    padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--border);
    font: inherit; color: inherit; text-align: left; cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.iv-row:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.iv-row.is-on { border-color: var(--primary); box-shadow: var(--ring); }
.iv-row__sym { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--primary-weak); color: var(--primary); font: 800 14px var(--font-num); }
.iv-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.iv-row__body b { font-size: 14.5px; }
.iv-row__body small { font-size: 12px; color: var(--text-3); }
.iv-row__body em { margin-top: 3px; font-size: 12.5px; font-style: normal; color: var(--text-2); line-height: 1.4; }
.iv-row__play { flex: none; color: var(--text-3); font-size: 12px; }
.iv-row.is-on .iv-row__play { color: var(--primary); }

/* Rehber: dinleme listesi */
.listen-head__count { flex: none; min-width: 74px; font-size: 15px; font-weight: 700; color: var(--text-3); }
.listen-head__count b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--primary); }
.work { display: flex; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--c); transition: background .2s, border-color .2s; }
.work b { display: block; font-size: 15px; line-height: 1.3; }
.work__by { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.work p { display: flex; gap: 6px; margin-top: 6px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.work p .icon { flex: none; margin-top: 3px; color: var(--c); }
.work__check {
    display: grid; place-items: center; width: 30px; height: 30px; flex: none; margin-top: 2px;
    border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface);
    color: transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.work__check .icon { width: 16px; height: 16px; stroke-width: 3; }
.work__check:hover { border-color: var(--success); }
.work.is-done { background: var(--success-weak); border-color: color-mix(in srgb, var(--success) 35%, var(--border)); border-left-color: var(--success); }
.work.is-done .work__check { background: var(--success); border-color: var(--success); color: #fff; transform: scale(1.06); }

/* Rehber: bakim / sahne kartlari */
.care-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 720px) { .care-grid { grid-template-columns: 1fr 1fr; } }
.care { padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c); }
.care header { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.care header b { font-size: 15.5px; }
.care__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }

.breath { display: flex; align-items: center; gap: var(--sp-4); }
.breath__ring { display: grid; place-items: center; width: 96px; height: 96px; flex: none; border-radius: 50%; background: var(--primary-soft); }
.breath__ring span {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8B5CF6); color: #fff;
    font: 800 18px var(--font-num); transform: scale(1);
}
.breath.is-in .breath__ring span { animation: breathIn 4s ease-in-out forwards; }
.breath.is-out .breath__ring span { animation: breathOut 6s ease-in-out forwards; }
@keyframes breathIn { from { transform: scale(1); } to { transform: scale(2.05); } }
@keyframes breathOut { from { transform: scale(2.05); } to { transform: scale(1); } }
.breath__say { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--primary); min-height: 20px; }

/* Porte Ustasi */
.pg-board { margin-bottom: var(--sp-4); }
.pt {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 168px; padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-lg); background: var(--surface-2);
}
.pt__staff { width: min(100%, 400px); }
.pt__clef {
    position: absolute; top: 10px; left: 12px;
    padding: 3px 9px; border-radius: var(--r-full);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 11.5px; font-weight: 700; color: var(--text-2);
}
.pt__time {
    position: absolute; top: 8px; right: 12px;
    display: flex; flex-direction: column; align-items: center; line-height: 1;
    color: var(--primary);
}
.pt__time b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pt__time small { font-size: 10px; font-weight: 600; color: var(--text-3); margin-top: 2px; }
.pt__time.is-low { color: var(--danger); animation: ptPulse 1s ease-in-out infinite; }
@keyframes ptPulse { 50% { transform: scale(1.12); } }

/* Aralik Avcisi */
.iv {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 150px; padding: var(--sp-4);
    border-radius: var(--r-lg); background: var(--surface-2); text-align: center;
}
.iv__q { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.iv__name { font-size: clamp(22px, 6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--primary); }
.iv__sub { font-size: 13.5px; color: var(--text-2); max-width: 420px; }
.iv .btn { margin-top: 6px; }

.pg-piano { --piano-h: clamp(130px, 22vh, 180px); }
.pg-keys-hint { margin-top: var(--sp-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* Dokunmatik cihazlarda bilgisayar klavyesi ipucu gereksizdir */
@media (hover: none) and (pointer: coarse) { .pg-keys-hint { display: none; } }

.pg-pop {
    position: absolute; top: 42%; left: 50%;
    padding: 4px 10px; border-radius: var(--r-full);
    font-weight: 800; font-size: 13px; white-space: nowrap;
    transform: translate(-50%, 0);
    animation: pgPop .9s ease-out forwards;
    pointer-events: none; z-index: 5;
}
.pg-pop--ok   { background: var(--success); color: #fff; }
.pg-pop--good { background: var(--info); color: #fff; }
.pg-pop--bad  { background: var(--danger); color: #fff; }
@keyframes pgPop { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 100% { opacity: 0; transform: translate(-50%, -34px) scale(1); } }

.pg-summary { padding: var(--sp-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.pg-summary__score { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1; }

kbd {
    display: inline-block; min-width: 20px; padding: 1px 6px;
    border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px;
    background: var(--surface); color: var(--text-2);
    font: 600 11px var(--font-num); text-align: center;
}

/* Oyun listesinde one cikan kartlar */
.pg-feature-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 640px) { .pg-feature-grid { grid-template-columns: 1fr 1fr; } }
.pg-feature {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
    transition: transform var(--t), box-shadow var(--t);
}
.pg-feature:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pg-feature__keys {
    position: relative; display: flex; gap: 3px; height: 96px; padding: 0 14px;
    background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #F59E1B));
}
.pg-feature__keys i { flex: 1; margin-top: 18px; border-radius: 0 0 7px 7px; background: rgba(255, 255, 255, .94); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .08); }
.pg-feature__keys b {
    position: absolute; top: 18px; width: calc((100% - 28px) / 10 * .55); height: 46px;
    left: calc(14px + (100% - 28px) / 10 * var(--k)); transform: translateX(-50%);
    border-radius: 0 0 5px 5px; background: #17171F;
}
.pg-feature:hover .pg-feature__keys i:nth-child(3) { background: #FFE2A8; }
.pg-feature:hover .pg-feature__keys i:nth-child(5) { background: #FFE2A8; transition-delay: .08s; }
.pg-feature:hover .pg-feature__keys i:nth-child(8) { background: #FFE2A8; transition-delay: .16s; }
.pg-feature__body { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-4); }
.pg-feature__body > b { font-size: 17px; }
.pg-feature__body > span:not(.row-2) { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.pg-feature__cta { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--c); }

/* ------------------------------------------------- OYUN KARTI GORSELLERI */
.pg-feature__art {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 96px; overflow: hidden;
    background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #F59E1B));
}
/* Usul: iki ped + vurus noktalari */
.pg-art-pads { gap: 14px; }
.pg-art-pads i {
    display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
    font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .22), inset 0 0 0 5px rgba(255, 255, 255, .16);
    transition: transform .2s;
}
.pg-art-pads__dum { background: #1B1B25; color: #fff; }
.pg-art-pads__tek { background: rgba(255, 255, 255, .95); color: #1B1B25; }
.pg-art-pads__beats { position: absolute; left: 14px; right: 14px; bottom: 9px; display: flex; gap: 4px; }
.pg-art-pads__beats b { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.pg-art-pads__beats b:nth-child(1), .pg-art-pads__beats b:nth-child(3),
.pg-art-pads__beats b:nth-child(5), .pg-art-pads__beats b:nth-child(7) { background: rgba(255, 255, 255, .95); }
.pg-feature:hover .pg-art-pads__dum { transform: scale(1.08); }
.pg-feature:hover .pg-art-pads__tek { transform: scale(.94); }
/* Bilgi yarismasi: secenek kartlari */
.pg-art-cards { gap: 8px; }
.pg-art-cards i {
    display: grid; place-items: center; width: 42px; height: 52px; border-radius: 11px;
    background: rgba(255, 255, 255, .93); color: #1B1B25;
    font-style: normal; font-size: 17px; font-weight: 800;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
    transition: transform .2s;
}
.pg-art-cards i:nth-child(1) { transform: rotate(-7deg); }
.pg-art-cards i:nth-child(2) { transform: rotate(-2deg) translateY(-4px); }
.pg-art-cards i:nth-child(3) { transform: rotate(3deg) translateY(-4px); }
.pg-art-cards i:nth-child(4) { transform: rotate(8deg); }
.pg-art-cards i.is-right { background: #1B1B25; color: #7BE8B0; }
.pg-art-cards b { position: absolute; right: 16px; top: 8px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .3); }
.pg-feature:hover .pg-art-cards i.is-right { transform: rotate(3deg) translateY(-10px) scale(1.06); }

/* Kart gorselleri: hafiza kartlari ve olcu */
.pg-art-flip { gap: 8px; }
.pg-art-flip i {
    display: grid; place-items: center; width: 44px; height: 56px; border-radius: 11px;
    background: rgba(255, 255, 255, .22); border: 2px solid rgba(255, 255, 255, .5); color: #fff;
    font-style: normal; font-size: 18px; font-weight: 800;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .16); transition: transform .25s;
}
.pg-art-flip i.is-up { background: rgba(255, 255, 255, .95); border-color: #fff; color: #1B1B25; font-size: 15px; }
.pg-feature:hover .pg-art-flip i:nth-child(2) { transform: translateY(-6px) rotate(-4deg); }
.pg-feature:hover .pg-art-flip i:nth-child(4) { transform: translateY(-6px) rotate(4deg); }
.pg-art-bar { padding: 0 18px; }
.pg-art-bar span { display: flex; gap: 4px; width: 100%; max-width: 300px; height: 46px; padding: 5px; border-radius: 13px; background: rgba(255, 255, 255, .2); }
.pg-art-bar i { flex: var(--u) 1 0; border-radius: 9px; background: rgba(255, 255, 255, .95); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1); transition: transform .2s; }
.pg-art-bar i.is-gap { background: transparent; border: 2px dashed rgba(255, 255, 255, .8); box-shadow: none; }
.pg-art-bar b { position: absolute; left: 18px; top: 7px; font: 800 13px var(--font-num); color: rgba(255, 255, 255, .85); }
.pg-feature:hover .pg-art-bar i.is-gap { background: rgba(255, 255, 255, .4); }

/* -------------------------------------------------------- HAFIZA KARTLARI */
.mt-top { display: flex; align-items: center; gap: var(--sp-3); min-height: 40px; }
.mt-top .pg-msg { font-size: 14.5px; line-height: 1.35; }
.mt-stat { display: flex; flex-direction: column; align-items: center; line-height: 1.05; min-width: 44px; }
.mt-stat b { font-size: 18px; font-weight: 800; }
.mt-stat small { font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.mt-cats { margin: 6px 0 var(--sp-3); min-height: 16px; }
.mt-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(6px, 2vw, 12px); }
@media (min-width: 720px) { .mt-grid { grid-template-columns: repeat(var(--cols-wide, 4), 1fr); } }
.mt-card {
    position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: pointer;
    perspective: 700px; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 720px) { .mt-card { aspect-ratio: 5 / 4; } }
.mt-card:disabled { cursor: default; }
.mt-card__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .38s cubic-bezier(.3, 1.3, .5, 1); }
.mt-card.is-open .mt-card__in { transform: rotateY(180deg); }
.mt-card__back, .mt-card__front {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: clamp(10px, 2.6vw, 16px); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.mt-card__back {
    background: linear-gradient(145deg, var(--primary), #8B5CF6);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .16), var(--shadow-sm);
}
.mt-card__back i { width: 38%; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); box-shadow: 0 0 0 7px rgba(255, 255, 255, .1); }
.mt-card:not(:disabled):hover .mt-card__back { filter: brightness(1.12); }
.mt-card__front {
    gap: 4px; padding: 6px; transform: rotateY(180deg); text-align: center;
    background: var(--surface); border: 2px solid var(--border-strong);
}
.mt-card__front small { font-size: clamp(8.5px, 2.2vw, 10.5px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text-3); }
.mt-card__front b { font-size: clamp(11.5px, 3.1vw, 15px); line-height: 1.2; overflow-wrap: break-word; max-width: 100%; }
.mt-card__front.is-small b, .mt-card__front--a.is-small b { font-size: clamp(9.5px, 2.55vw, 13px); line-height: 1.22; }
.mt-card__front--a { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); }
.mt-card__front--a b { color: var(--primary); font-size: clamp(13px, 3.6vw, 17px); }
.mt-card.is-done .mt-card__front { background: var(--success-weak); border-color: var(--success); }
.mt-card.is-done .mt-card__front b { color: var(--success); }
.mt-card.is-done { animation: mtDone .4s ease-out; }
.mt-card.is-miss .mt-card__front { border-color: var(--danger); background: var(--danger-weak); }
@keyframes mtDone { 40% { transform: scale(1.06); } }
.mt-pairs { display: grid; gap: 6px; margin: 0; padding: var(--sp-4); list-style: none; }
@media (min-width: 640px) { .mt-pairs { grid-template-columns: 1fr 1fr; } }
.mt-pairs li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13.5px; }
.mt-pairs b { color: var(--primary); }
.mt-pairs span { color: var(--text-2); text-align: right; }

/* ------------------------------------------------------------ OLCU USTASI */
.ms-top { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.ms-meter {
    display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
    width: 52px; height: 60px; border-radius: 14px; background: var(--primary); color: #fff; line-height: 1;
}
.ms-meter b { font-size: 22px; font-weight: 800; }
.ms-meter b + b { margin-top: 3px; padding-top: 3px; border-top: 2px solid rgba(255, 255, 255, .55); }
.ms-task { display: block; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.25; letter-spacing: -.01em; }
.ms-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.ms-round { flex: none; font-size: 13px; font-weight: 700; color: var(--text-3); }

.ms-bar {
    display: flex; gap: 0; min-height: clamp(84px, 22vw, 112px); padding: 6px 3px;
    border-radius: var(--r-lg); background: var(--surface-2);
    border: 2px solid transparent; transition: border-color .15s, background .15s;
}
.ms-bar.is-ok { border-color: var(--success); background: var(--success-weak); }
.ms-bar.is-bad { border-color: var(--danger); background: var(--danger-weak); animation: msShake .32s; }
.ms-bar.is-shown { border-color: var(--info); }
@keyframes msShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.ms-note, .ms-gap {
    flex: var(--u) 1 0; min-width: 0; margin: 0 3px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    border-radius: 12px; overflow: hidden;
}
.ms-note svg { width: clamp(20px, 6vw, 30px); height: auto; flex: none; }
.ms-note small { font-size: clamp(8.5px, 2.2vw, 11px); font-weight: 700; white-space: nowrap; opacity: .85; max-width: 100%; overflow: hidden; text-overflow: clip; }
.ms-note.is-given { background: var(--surface-3); color: var(--text-2); }
.ms-note.is-mine { background: var(--primary); color: #fff; cursor: pointer; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .16); }
.ms-note.is-mine:hover { filter: brightness(1.1); }
.ms-note.is-rest.is-mine { background: color-mix(in srgb, var(--primary) 55%, var(--surface-3)); }
.ms-note.is-sound { transform: translateY(-5px); filter: brightness(1.25); box-shadow: 0 8px 18px -6px var(--primary); }
.ms-note { transition: transform .08s, filter .1s; }
.ms-gap { border: 2px dashed var(--border-strong); color: var(--text-3); }
.ms-gap b { font-size: 22px; line-height: 1; }
.ms-gap small { font-size: 11px; font-weight: 600; white-space: nowrap; }
.ms-ruler { display: flex; padding: 4px 3px 0; }
.ms-ruler i { flex: var(--u) 1 0; margin: 0 3px; padding-top: 3px; border-top: 2px solid var(--border); font-style: normal; font-size: 10.5px; color: var(--text-3); }
.ms-ruler i.is-strong { border-top-color: var(--text-3); color: var(--text-2); font-weight: 700; }
.ms-msg { margin: var(--sp-3) 0; min-height: 22px; font-size: 14.5px; }

.ms-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.ms-tile {
    display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px 9px;
    border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--border);
    font: inherit; color: var(--text); cursor: pointer;
    transition: border-color .12s, transform .08s, opacity .15s;
}
.ms-tile svg { width: 30px; height: 44px; }
.ms-tile b { font-size: 13px; line-height: 1.2; text-align: center; }
.ms-tile small { font-size: 11px; color: var(--text-3); font-family: var(--font-num); }
.ms-tile:hover:not(:disabled) { border-color: var(--primary); }
.ms-tile:active:not(:disabled) { transform: scale(.96); }
.ms-tile:disabled { opacity: .35; cursor: default; }
.ms-tile.is-rest { border-style: dashed; }
.ms-actions { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-3); flex-wrap: wrap; }

/* Kart gorselleri: siralama ve tempo */
.pg-art-stack { flex-direction: column; gap: 5px; padding: 0 26%; }
.pg-art-stack i { display: flex; align-items: center; gap: 8px; width: 100%; height: 16px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .93); box-shadow: 0 3px 8px rgba(0, 0, 0, .14); font-style: normal; font-size: 10px; font-weight: 800; color: #1B1B25; transition: transform .25s; }
.pg-art-stack i:nth-child(2) { transform: translateX(10px); }
.pg-feature:hover .pg-art-stack i:nth-child(2) { transform: none; }
.pg-art-pulse { gap: 16px; }
.pg-art-pulse i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.pg-art-pulse i:nth-child(1) { width: 26px; height: 26px; background: #fff; box-shadow: 0 0 0 7px rgba(255, 255, 255, .25); }
.pg-art-pulse b { position: absolute; right: 16px; top: 8px; font: 800 13px var(--font-num); color: rgba(255, 255, 255, .85); }
.pg-feature:hover .pg-art-pulse i:nth-child(1) { animation: tpBeat .66s ease-out infinite; }

/* -------------------------------------------------------------- DOĞRU SIRA */
.od-top { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.od-cat { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); background: var(--primary-weak); color: var(--primary); font-size: 12px; font-weight: 700; }
.od-q { display: block; margin-top: 6px; font-size: clamp(16px, 4.3vw, 19px); line-height: 1.3; letter-spacing: -.01em; }
.od-round { flex: none; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.od-ends { display: flex; justify-content: space-between; margin: 0 2px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.od-ends span:first-child::before { content: "↑ "; }
.od-ends span:last-child::after { content: " ↓"; }
.od-slots { display: grid; gap: 8px; }
.od-slot {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 7px 12px;
    border-radius: var(--r-lg); border: 2px dashed var(--border-strong); background: transparent;
    font: inherit; color: var(--text); text-align: left; cursor: default;
    transition: border-color .15s, background .15s, transform .1s;
}
.od-slot.is-full { border-style: solid; border-color: var(--primary); background: var(--primary-weak); cursor: pointer; }
.od-slot.is-full:hover { filter: brightness(1.05); }
.od-slot.is-right { border-color: var(--success); background: var(--success-weak); cursor: default; }
.od-slot.is-wrong { border-color: var(--danger); background: var(--danger-weak); cursor: default; }
.od-slot__n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 800; }
.od-slot.is-full .od-slot__n { background: var(--primary); color: #fff; }
.od-slot.is-right .od-slot__n { background: var(--success); }
.od-slot.is-wrong .od-slot__n { background: var(--danger); }
.od-slot__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.od-slot__t b { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.od-slot__t small { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.od-slot__t--empty { font-size: 13px; color: var(--text-3); }
.od-slot__mark { flex: none; font-size: 18px; font-weight: 800; }
.od-slot.is-right .od-slot__mark { color: var(--success); }
.od-slot.is-wrong .od-slot__mark { color: var(--danger); }
.od-msg { margin: var(--sp-3) 0; min-height: 22px; font-size: 14.5px; line-height: 1.45; }
.od-pool { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.od-card {
    display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px;
    border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--border);
    font: inherit; color: var(--text); text-align: left; cursor: pointer; box-shadow: var(--shadow-xs);
    transition: border-color .12s, transform .08s, opacity .2s;
}
.od-card b { font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.od-card__k { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 7px; background: var(--surface-2); color: var(--text-3); font-size: 11.5px; font-weight: 800; }
.od-card:hover:not(:disabled) { border-color: var(--primary); }
.od-card:active:not(:disabled) { transform: scale(.97); }
.od-card.is-used { opacity: .3; cursor: default; }
.od-card:disabled:not(.is-used) { cursor: default; }
.od-actions { display: flex; gap: 10px; margin-top: var(--sp-4); }
.od-keys { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: var(--sp-3); }
@media (hover: none) and (pointer: coarse) { .od-keys { display: none; } }
.od-review { display: grid; gap: 10px; padding: var(--sp-4); }
@media (min-width: 720px) { .od-review { grid-template-columns: 1fr 1fr; } }
.od-review article { padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface-2); }
.od-review__c { font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.od-review ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.od-review li b { font-size: 13.5px; }
.od-review li small { margin-left: 6px; font-size: 12px; color: var(--text-3); }

/* ------------------------------------------------------------ TEMPO USTASI */
.tp-top { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; }
.tp-phase { font-size: 15px; line-height: 1.35; }
.tp-phase[data-tone="listen"] { color: var(--accent); }
.tp-combo { font-weight: 800; font-size: 14px; color: var(--accent); white-space: nowrap; }
.tp-round { flex: none; font-size: 13px; font-weight: 700; color: var(--text-3); }
.tp-center { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 36px); margin: var(--sp-4) 0; }
.tp-orb { --p: 0; position: relative; display: grid; place-items: center; width: clamp(88px, 24vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--border); }
.tp-orb span {
    width: 46%; aspect-ratio: 1; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #EC4899);
    transform: scale(calc(1 + var(--p) * .55));
    box-shadow: 0 0 calc(var(--p) * 34px) calc(var(--p) * 6px) color-mix(in srgb, var(--primary) 70%, transparent);
    opacity: calc(.45 + var(--p) * .55);
}
.tp-read b { display: block; font-size: clamp(40px, 11vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.tp-read b small { font-size: 15px; font-weight: 700; color: var(--text-3); letter-spacing: 0; }
.tp-read > span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-2); min-height: 20px; }
.tp-dots { display: flex; gap: 4px; padding: 14px 2px; border-radius: var(--r-lg); background: var(--surface-2); }
.tp-dots i { flex: 1; display: grid; place-items: center; height: 40px; }
.tp-dots i span { width: clamp(9px, 2.6vw, 14px); aspect-ratio: 1; border-radius: 50%; background: var(--surface-3); box-shadow: inset 0 0 0 2px var(--border-strong); transition: transform .2s, background .15s; }
.tp-dots i.is-count span { background: color-mix(in srgb, var(--accent) 30%, var(--surface-3)); box-shadow: none; }
.tp-dots i.is-now span { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }
.tp-dots i.is-perfect span { background: var(--success); box-shadow: none; }
.tp-dots i.is-good span { background: var(--info); box-shadow: none; }
.tp-dots i.is-miss span { background: transparent; box-shadow: inset 0 0 0 2px var(--danger); }
.tp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; line-height: 1.5; }
.tp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.tp-legend__count { background: color-mix(in srgb, var(--accent) 45%, var(--surface-3)); }
.tp-legend__ok { background: var(--success); }
.tp-legend__good { background: var(--info); }
.tp-legend__miss { box-shadow: inset 0 0 0 2px var(--danger); }
.tp-pad {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 100%; height: clamp(110px, 26vw, 150px); margin-top: var(--sp-4);
    border: 0; border-radius: 28px; cursor: pointer; font: inherit;
    background: linear-gradient(160deg, #6D5DF2, #3F2FC4); color: #fff;
    box-shadow: 0 10px 24px -10px #4B3BD6, inset 0 -8px 0 rgba(0, 0, 0, .2);
    user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    opacity: .72; transition: opacity .2s, transform .07s;
}
.tp-pad.is-live { opacity: 1; }
.tp-pad b { font-size: clamp(24px, 6.5vw, 32px); font-weight: 800; letter-spacing: .08em; }
.tp-pad small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; opacity: .85; }
.tp-pad kbd { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .35); color: inherit; }
.tp-pad.is-hit { animation: usHit .16s ease-out; }
.tp-pad:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
@media (hover: none) and (pointer: coarse) { .tp-pad kbd { display: none; } }
.tp-report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface-2); }
.tp-report__row { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tp-report__row b { font-size: 22px; font-weight: 800; color: var(--primary); }
.tp-report__row span { font-size: 11.5px; color: var(--text-3); }
.tp-report p { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text-2); text-align: center; }
@keyframes tpBeat { 0% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ----------------------------------------------------------- USUL USTASI */
.us-queue { display: flex; gap: 8px; margin-bottom: var(--sp-3); overflow-x: auto; scrollbar-width: none; }
.us-queue::-webkit-scrollbar { display: none; }
.us-chip {
    flex: 1 0 auto; display: flex; flex-direction: column; gap: 1px; min-width: 104px;
    padding: 8px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border);
    transition: border-color .2s, background .2s;
}
.us-chip b { font-size: 13.5px; }
.us-chip small { font-size: 11.5px; color: var(--text-3); font-family: var(--font-num); }
.us-chip.is-now { border-color: var(--primary); background: var(--primary-weak); }
.us-chip.is-done { border-color: color-mix(in srgb, var(--success) 45%, var(--border)); }
.us-chip.is-done small { color: var(--success); font-weight: 700; }

.us-top { display: flex; align-items: center; gap: var(--sp-3); min-height: 44px; margin-bottom: var(--sp-3); }
.us-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.us-title b { font-size: clamp(20px, 5.2vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.us-meter { padding: 2px 9px; border-radius: var(--r-full); background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--text-2); }
.us-combo { font-weight: 800; font-size: 14px; color: var(--accent); white-space: nowrap; }
.us-status { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.us-phase { font-size: 14.5px; font-weight: 800; color: var(--text-2); }
.us-phase[data-tone="listen"] { color: var(--accent); }
.us-phase[data-tone="go"] { color: var(--success); }
.us-phase[data-tone="wait"] { color: var(--text-3); }
.us-cycle { font-size: 12px; color: var(--text-3); min-height: 15px; }

.us-track {
    position: relative; padding: 12px 0 0;
    border-radius: var(--r-lg); background: var(--surface-2);
    overflow: hidden;
}
.us-blocks { display: flex; gap: 0; padding: 0 0 10px; }
.us-block {
    flex: var(--u) 1 0; min-width: 0;
    display: flex; align-items: center; justify-content: flex-start;
    height: clamp(64px, 16vw, 92px); margin: 0 3px; padding: 0 0 0 clamp(7px, 2vw, 14px);
    border-radius: 14px; border: 2px solid transparent;
    transition: transform .09s, background .12s, border-color .12s, box-shadow .12s;
}
.us-block b { font-size: clamp(13px, 3.6vw, 20px); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.us-block--dum { background: var(--primary); color: #fff; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .16); }
.us-block--tek { background: var(--accent-weak); color: var(--warning); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.us-block--light { background: transparent; border-style: dashed; }
.us-block.is-lit { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 20px -6px var(--primary); filter: brightness(1.15); }
.us-block.is-perfect { background: var(--success); border-color: var(--success); color: #fff; transform: translateY(-3px); }
.us-block.is-good { background: var(--info); border-color: var(--info); color: #fff; }
.us-block.is-bad { background: var(--danger); border-color: var(--danger); color: #fff; }
.us-block.is-miss { opacity: .32; filter: grayscale(1); }
.us-ticks { display: flex; height: 16px; border-top: 1px solid var(--border); }
.us-ticks i { flex: 1; border-left: 1px solid var(--border-strong); opacity: .55; }
.us-ticks i.is-first { border-left-color: transparent; }
.us-ticks i.is-group { border-left: 2px solid var(--text-3); opacity: 1; }
.us-head {
    position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: 2px;
    border-radius: 2px; background: var(--text); box-shadow: 0 0 12px var(--primary);
    pointer-events: none; will-change: left;
}
.us-head.is-idle { opacity: .25; }
.us-note { margin-top: 10px; font-size: 13px; color: var(--text-2); line-height: 1.45; min-height: 38px; }

.us-pads { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-3); }
.us-pad {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    height: clamp(120px, 30vw, 168px); padding: 0;
    border: 0; border-radius: 28px; cursor: pointer; font: inherit;
    user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    transition: transform .07s, box-shadow .12s;
}
.us-pad b { position: relative; font-size: clamp(22px, 6vw, 30px); font-weight: 800; letter-spacing: .04em; }
.us-pad small { position: relative; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; opacity: .8; }
.us-pad__skin {
    position: absolute; left: 50%; top: 50%; width: clamp(92px, 25vw, 132px); aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .06), inset 0 0 0 2px rgba(255, 255, 255, .22);
}
.us-pad--tek .us-pad__skin { background: rgba(255, 255, 255, .28); box-shadow: 0 0 0 12px rgba(255, 255, 255, .14), inset 0 0 0 2px rgba(120, 60, 0, .18); }
.us-pad--dum { background: linear-gradient(160deg, #6D5DF2, #3F2FC4); color: #fff; box-shadow: 0 10px 24px -10px #4B3BD6, inset 0 -8px 0 rgba(0, 0, 0, .2); }
.us-pad--tek { background: linear-gradient(160deg, #FFC76B, #F08A0C); color: #2B1A00; box-shadow: 0 10px 24px -10px #E0870D, inset 0 -8px 0 rgba(0, 0, 0, .14); }
.us-pad kbd { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .35); color: inherit; }
.us-pad:active, .us-pad.is-hit { transform: translateY(3px) scale(.985); }
.us-pad.is-hit { animation: usHit .16s ease-out; }
@keyframes usHit { 0% { filter: brightness(1.5); transform: translateY(5px) scale(.97); } 100% { filter: none; transform: none; } }
.us-pad:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.us-help { display: flex; gap: 6px; margin-top: var(--sp-3); line-height: 1.45; }
.us-help .icon { flex: none; margin-top: 2px; }
.us-pop { top: auto; bottom: clamp(140px, 34vw, 190px); }
@media (hover: none) and (pointer: coarse) { .us-pad kbd { display: none; } }

/* Rehber: tarih cizelgesi */
.tl { position: relative; display: grid; gap: var(--sp-3); margin: 0; padding: 0 0 0 0; list-style: none; }
.tl::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl__item { position: relative; display: flex; gap: var(--sp-3); align-items: flex-start; }
.tl__item[hidden] { display: none; }
.tl__year {
    position: relative; z-index: 1; flex: none; width: 64px; padding: 6px 0; border-radius: var(--r-full);
    background: var(--c); color: #fff; font-size: 13.5px; font-weight: 800; text-align: center;
    box-shadow: 0 0 0 4px var(--bg, var(--surface));
}
.tl__body { flex: 1; min-width: 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--c); }
.tl__kind { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--c); }
.tl__body b { display: block; font-size: 15px; }
.tl__body p { margin-top: 3px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }

/* Rehber: orkestra duzeni */
.orch__svg { display: block; width: 100%; max-width: 640px; margin: 0 auto; height: auto; }
.orch__sec { cursor: pointer; outline: none; }
.orch__sec path, .orch__sec circle {
    fill: color-mix(in srgb, var(--c) 34%, var(--surface)); stroke: var(--surface); stroke-width: 3;
    transition: fill .15s, transform .15s;
}
.orch__sec text { fill: var(--text); font-size: 11px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.orch__sec:hover path, .orch__sec:hover circle, .orch__sec:focus-visible path, .orch__sec:focus-visible circle { fill: color-mix(in srgb, var(--c) 58%, var(--surface)); }
.orch__sec.is-on path, .orch__sec.is-on circle { fill: var(--c); }
.orch__sec.is-on text { fill: #fff; }
.orch__sec--sef.is-on text { fill: #14162A; }
.orch__hint { fill: var(--text-3); font-size: 10.5px; text-anchor: middle; }
.orch__detail { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface-2); min-height: 96px; }
.orch__dot { width: 14px; height: 14px; margin-top: 6px; flex: none; border-radius: 5px; background: var(--primary); }
.orch__meta { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.orch__detail p { margin-top: 6px; font-size: 14px; color: var(--text-2); line-height: 1.45; }

/* Rehber: ses ve akustik */
.snd__read { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.snd__hz { display: block; font-size: 15px; font-weight: 700; color: var(--text-3); }
.snd__hz b { font-size: clamp(34px, 9vw, 46px); font-weight: 800; letter-spacing: -.03em; color: var(--primary); }
.snd__note { display: block; font-size: 14px; font-weight: 700; color: var(--text-2); }
.snd__wave { margin-top: var(--sp-3); height: 84px; border-radius: var(--r-lg); background: var(--surface-2); overflow: hidden; }
.snd__wave svg { width: 100%; height: 100%; }
.snd__wave path { fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.snd.is-playing .snd__wave path { stroke: var(--accent); }
.snd__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--text-3); }
.db { display: grid; gap: 7px; }
.db__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 58px; align-items: center; gap: 10px; font-size: 13.5px; }
.db__row span { color: var(--text-2); }
.db__row i { height: 9px; border-radius: 5px; background: var(--surface-3); position: relative; overflow: hidden; }
.db__row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 5px; background: var(--info); }
.db__row.is-loud i::after { background: var(--danger); }
.db__row b { text-align: right; font-size: 13px; }

/* Rehber: halk oyunlari */
.dances { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 720px) { .dances { grid-template-columns: 1fr 1fr; } }
.dance { padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c); }
.dance header { display: flex; align-items: flex-start; gap: 12px; }
.dance__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.dance header b { display: block; font-size: 16.5px; }
.dance__region { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12.5px; color: var(--text-3); line-height: 1.35; }
.dance__region .icon { flex: none; }
.dance__meter { flex: none; padding: 4px 10px; border-radius: var(--r-full); background: var(--c); color: #fff; font-size: 13px; font-weight: 800; }
.dance > p { margin-top: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.dance__inst { display: flex; gap: 6px; padding: 8px 10px; margin-top: 10px !important; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c) 9%, transparent); color: var(--text) !important; font-size: 13px !important; }
.dance__inst .icon { flex: none; margin-top: 3px; color: var(--c); }

/* Rehber: eserlerin hikayeleri */
.stories { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 900px) { .stories { grid-template-columns: 1fr 1fr; } }
.story-card { display: flex; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.story-card__emoji { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--surface-2); font-size: 24px; }
.story-card b { display: block; font-size: 15.5px; line-height: 1.3; }
.story-card__by { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--primary); }
.story-card p { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* Rehber: usuller */
.usuls { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 720px) { .usuls { grid-template-columns: 1fr 1fr; } }
.usul { padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.usul.is-playing { border-color: var(--primary); box-shadow: var(--ring); }
.usul header { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.usul header b { display: block; font-size: 16px; }
.usul__meta { display: block; margin-top: 1px; font-size: 12px; color: var(--text-3); }
.us-track--sm { padding-top: 8px; }
.us-track--sm .us-blocks { padding-bottom: 8px; }
.us-track--sm .us-block { height: 46px; margin: 0 2px; padding-left: 8px; border-radius: 11px; }
.us-track--sm .us-block b { font-size: clamp(11px, 2.9vw, 14px); }
.usul__say { margin-top: 10px; font: 700 13px var(--font-num); color: var(--text); letter-spacing: .01em; }
.usul__note { margin-top: 4px; font-size: 13px; color: var(--text-2); line-height: 1.45; }

/* ------------------------------------------------------- BILGI YARISMASI */
.qz-stage { padding: var(--sp-5) var(--sp-4); }
.qz-intro { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: var(--sp-4) 0; text-align: center; }
.qz-intro > b { font-size: 20px; letter-spacing: -.02em; }
.qz-intro__art { display: flex; gap: 6px; margin-bottom: 4px; }
.qz-intro__art i {
    display: grid; place-items: center; width: 40px; height: 48px; border-radius: 11px;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
    font-style: normal; font-weight: 800; font-size: 16px;
}
.qz-intro__art i:last-child { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(8deg) translateY(-3px); }
.qz-rules { display: grid; gap: 6px; margin: 4px 0 6px; padding: 0; list-style: none; text-align: left; font-size: 14px; color: var(--text-2); }
.qz-rules li { position: relative; padding-left: 22px; line-height: 1.4; }
.qz-rules li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 3px; background: var(--primary); }
.qz-rules b { color: var(--text); }

.qz-top { display: flex; align-items: center; gap: var(--sp-3); }
.qz-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.qz-num { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .03em; }
.qz-cat { max-width: 100%; padding: 3px 10px; border-radius: var(--r-full); background: var(--primary-weak); color: var(--primary); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-streak { font-size: 14px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.qz-timer { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; }
.qz-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-timer circle { fill: none; stroke-width: 4; }
.qz-timer__bg { stroke: var(--surface-3); }
.qz-timer__fg { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 0; }
.qz-timer b { position: relative; font-size: 17px; font-weight: 800; }
.qz-timer.is-low .qz-timer__fg { stroke: var(--danger); }
.qz-timer.is-low b { color: var(--danger); }

.qz-dots { display: flex; gap: 5px; margin: var(--sp-3) 0 var(--sp-4); }
.qz-dots i { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-3); transition: background .2s; }
.qz-dots i.is-now { background: var(--primary); }
.qz-dots i.is-ok { background: var(--success); }
.qz-dots i.is-bad { background: var(--danger); }

.qz-q { font-size: clamp(17px, 4.4vw, 21px); line-height: 1.35; letter-spacing: -.015em; min-height: 2.7em; }
.qz-opts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: var(--sp-4); }
@media (min-width: 720px) { .qz-opts { grid-template-columns: 1fr 1fr; } }
.qz-opt {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px;
    padding: 10px 14px; border-radius: var(--r-lg);
    background: var(--surface); border: 2px solid var(--border);
    font: inherit; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer;
    transition: border-color .12s, background .12s, transform .08s, opacity .2s;
}
.qz-opt:hover:not(:disabled) { border-color: var(--primary); }
.qz-opt:active:not(:disabled) { transform: scale(.985); }
.qz-opt:disabled { cursor: default; }
.qz-opt__l { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--surface-2); color: var(--text-2); font: 800 13px var(--font-num); transition: background .12s, color .12s; }
.qz-opt__t { flex: 1; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.qz-opt.is-right { border-color: var(--success); background: var(--success-weak); }
.qz-opt.is-right .qz-opt__l { background: var(--success); color: #fff; }
.qz-opt.is-wrong { border-color: var(--danger); background: var(--danger-weak); }
.qz-opt.is-wrong .qz-opt__l { background: var(--danger); color: #fff; }
.qz-opt.is-dim { opacity: .5; }
.qz-opt.is-out { opacity: .28; text-decoration: line-through; }

.qz-explain { margin-top: var(--sp-4); padding: 12px 14px; border-radius: var(--r-lg); border-left: 4px solid var(--success); background: var(--success-weak); font-size: 14px; line-height: 1.45; }
.qz-explain.is-bad { border-left-color: var(--danger); background: var(--danger-weak); }
.qz-explain b { display: block; font-size: 15px; }
.qz-explain.is-ok b { color: var(--success); }
.qz-explain.is-bad b { color: var(--danger); }
.qz-explain span { display: block; margin-top: 2px; }
.qz-explain em { font-style: normal; font-weight: 700; }
.qz-explain p { margin-top: 6px; color: var(--text-2); }
.qz-actions { display: flex; gap: 10px; margin-top: var(--sp-4); scroll-margin-bottom: 92px; }
#qz-next { scroll-margin-bottom: 92px; }
.qz-actions #qz-joker.is-used { opacity: .45; }
.qz-keys { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: var(--sp-3); }
@media (hover: none) and (pointer: coarse) { .qz-keys { display: none; } }
@media (max-width: 560px) {
    .qz-stage { padding: var(--sp-4) var(--sp-3); }
    .qz-dots { margin: 10px 0 12px; }
    .qz-q { min-height: 0; }
    .qz-opts { gap: 8px; margin-top: var(--sp-3); }
    .qz-opt { min-height: 50px; padding: 8px 12px; font-size: 14.5px; }
    .qz-explain { margin-top: var(--sp-3); padding: 10px 12px; }
    .qz-actions { margin-top: var(--sp-3); }
}

.qz-review { display: grid; gap: 10px; padding: var(--sp-4); }
.qz-rev { padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface-2); }
.qz-rev__q { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.qz-rev__no, .qz-rev__yes { display: inline-block; margin: 0 6px 4px 0; padding: 3px 10px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; }
.qz-rev__no { background: var(--danger-weak); color: var(--danger); text-decoration: line-through; }
.qz-rev__yes { background: var(--success-weak); color: var(--success); }
.qz-rev__x { margin-top: 4px; font-size: 13px; color: var(--text-2); line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
    .us-pad.is-hit, .us-block, .qz-opt { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------- CEP REHBERI */
.guide-hero { padding-bottom: 72px; }
.guide-hero__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .72) !important; }
.guide-hero__keys { position: absolute; left: 16px; right: 16px; bottom: 0; display: flex; gap: 3px; height: 46px; }
.guide-hero__keys i { flex: 1; border-radius: 6px 6px 0 0; background: rgba(255, 255, 255, .2); }
.guide-hero__keys i:nth-child(7n+2), .guide-hero__keys i:nth-child(7n+4), .guide-hero__keys i:nth-child(7n+6) { background: rgba(255, 255, 255, .34); }

.fact-card {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-4); border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--accent-weak), var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    color: inherit; text-decoration: none;
}
.fact-card:hover { text-decoration: none; box-shadow: var(--shadow); }
.fact-card__emoji { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--surface); font-size: 26px; box-shadow: var(--shadow-xs); }
.fact-card__body { flex: 1; min-width: 0; }
.fact-card__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--warning); }
.fact-card__text { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--text); }

.guide-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 560px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .guide-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gcard {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
    color: inherit; text-decoration: none;
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.gcard:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.gcard__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.gcard__body { min-width: 0; }
.gcard__body b { display: block; font-size: 14.5px; }
.gcard__body span { display: block; font-size: 12.5px; color: var(--text-3); line-height: 1.4; }

.guide-head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, var(--surface)), var(--surface)); border: 1px solid var(--border); }
.guide-head__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 10px 24px -10px var(--c); }
.guide-head h2 { font-size: 19px; }
.guide-head p { font-size: 13.5px; color: var(--text-2); }

.guide-nav { display: flex; justify-content: space-between; gap: var(--sp-3); }
.guide-nav__link { display: flex; align-items: center; gap: 8px; max-width: 48%; padding: 10px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 650; font-size: 13.5px; }
.guide-nav__link:hover { text-decoration: none; border-color: var(--border-strong); }
.guide-nav__link small { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); }
.guide-nav__link--next { margin-left: auto; text-align: right; }

.g-label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.center-row { justify-content: center; }
.chip--note { min-width: 52px; justify-content: center; }
.guide-list { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.guide-list li { list-style: disc; }
.guide-list--num li { list-style: decimal; }
.guide-list li::marker { color: var(--c, var(--primary)); font-weight: 700; }
.guide-list li + li { margin-top: 6px; }
.formula { display: flex; flex-wrap: wrap; gap: 8px; }
.formula span { padding: 7px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13px; color: var(--text-2); }
.formula b { margin-right: 6px; color: var(--text); }

/* Metronom */
.metro { text-align: center; }
.metro__dial { position: relative; display: grid; place-items: center; height: 200px; margin: 0 auto; max-width: 320px; }
.metro__arm { position: absolute; left: 50%; bottom: 6px; width: 4px; height: 170px; margin-left: -2px; transform-origin: 50% 100%; transform: rotate(var(--ang, 0deg)); transition: transform var(--beat, .66s) cubic-bezier(.45, 0, .55, 1); }
.metro__arm::before { content: ''; position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--primary), transparent); opacity: .35; }
.metro__arm i { position: absolute; left: 50%; top: 22px; width: 18px; height: 18px; margin-left: -9px; border-radius: 5px; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.metro__readout { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 10px 22px; border-radius: var(--r-xl); background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(6px); }
.metro__bpm { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--text); transition: color .1s; }
.metro.is-tick .metro__bpm { color: var(--primary); }
.metro__unit { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--text-3); }
.metro__tempo { margin-top: 4px; font-style: italic; font-weight: 700; color: var(--primary); }
.metro__beats { display: flex; justify-content: center; gap: 10px; margin: var(--sp-3) 0; min-height: 20px; }
.metro__beats i { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-3); transition: background .06s, transform .06s; }
.metro__beats i.a2 { width: 18px; height: 18px; }
.metro__beats i.a1 { width: 16px; height: 16px; }
.metro__beats i.is-on { background: var(--primary); transform: scale(1.25); box-shadow: 0 0 12px var(--primary); }
.metro__beats i.a2.is-on { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.metro__range { width: 100%; accent-color: var(--primary); height: 28px; }
.metro__ctl { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: var(--sp-2); }
.metro__ctl .btn--secondary { min-width: 46px; padding: 0 10px; }
.metro__play { min-width: 130px; }
.metro.is-running .metro__play { background: var(--danger); border-color: var(--danger); }
.metro__opts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-4); text-align: left; }
.metro__opts .segmented { min-width: 200px; }
.tempo-row { width: 100%; text-align: left; background: none; border: 0; font: inherit; cursor: pointer; color: inherit; }
.tempo-row:hover { background: var(--surface-2); }

/* Akort */
.tuner__strings { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: var(--sp-4); }
.tstr {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 14px 8px; border-radius: var(--r-lg);
    background: var(--surface-2); border: 2px solid transparent; color: var(--text);
    font: inherit; cursor: pointer; transition: all var(--t-fast);
}
.tstr:hover { border-color: var(--border-strong); }
.tstr small { font-size: 11px; font-weight: 700; color: var(--text-3); }
.tstr b { font-size: 22px; letter-spacing: -.02em; }
.tstr span { font-size: 11.5px; color: var(--text-3); }
.tstr.is-on { border-color: var(--primary); background: var(--primary-weak); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tuner__now { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-4); padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); font-weight: 650; font-size: 14px; color: var(--text-2); }
.tuner__wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.tuner__wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--text-3); }
.tuner.is-playing .tuner__now { color: var(--primary); background: var(--primary-weak); }
.tuner.is-playing .tuner__wave i { background: var(--primary); animation: wave 1s ease-in-out infinite; }
.tuner__wave i:nth-child(2) { animation-delay: .15s !important; }
.tuner__wave i:nth-child(3) { animation-delay: .3s !important; }
.tuner__wave i:nth-child(4) { animation-delay: .45s !important; }
.tuner__wave i:nth-child(5) { animation-delay: .6s !important; }
@keyframes wave { 50% { height: 20px; } }

/* Calisma zamanlayicisi */
.ptimer { text-align: center; }
.ptimer__ring { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.ptimer__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ptimer__track { fill: none; stroke: var(--surface-3); stroke-width: 9; }
.ptimer__bar { fill: none; stroke: var(--primary); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.ptimer.is-break .ptimer__bar { stroke: var(--success); }
.ptimer__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ptimer__time { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.ptimer__mode { font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ptimer.is-running .ptimer__mode { color: var(--primary); }
.tips { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 640px) { .tips { grid-template-columns: 1fr 1fr; } }
.tip { display: flex; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.tip__n { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--primary-weak); color: var(--primary); font-weight: 800; }
.tip b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.tip p { margin-top: 2px; font-size: 13px; color: var(--text-2); line-height: 1.45; }

/* Akor / gam */
.chord-head { display: flex; align-items: center; gap: var(--sp-3); }
.chord-sym {
    display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 10px; flex: none;
    border-radius: 18px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--c, var(--primary)), color-mix(in srgb, var(--c, var(--primary)) 55%, #000));
}
.chord-notes, .scale-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--sp-3); }
.npill { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: var(--r); background: var(--primary-weak); color: var(--primary); transition: transform .12s, background .12s; }
.npill b { font-size: 16px; }
.npill small { font-size: 10.5px; font-weight: 700; opacity: .8; }
.npill--sm { padding: 6px 10px; }
.npill.is-on { background: var(--accent); color: #fff; transform: translateY(-3px); }
.scale-steps .step { font-size: 11px; font-weight: 800; color: var(--text-3); }
.scale-steps .step--1 { color: var(--danger); }
.scale-steps .step--3 { color: var(--accent); }
.scale-head p { margin-top: 2px; }

/* Besliler cemberi */
.cof { max-width: 380px; margin: 0 auto; }
.cof__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cof__seg { cursor: pointer; outline: none; }
.cof__outer { fill: var(--surface-2); stroke: var(--surface); stroke-width: 2; transition: fill .15s; }
.cof__inner { fill: var(--surface-3); stroke: var(--surface); stroke-width: 2; transition: fill .15s; }
.cof__seg:hover .cof__outer, .cof__seg:focus-visible .cof__outer { fill: var(--primary-weak); }
.cof__seg.is-near .cof__outer { fill: color-mix(in srgb, var(--accent) 22%, var(--surface-2)); }
.cof__seg.is-near .cof__inner { fill: color-mix(in srgb, var(--accent) 16%, var(--surface-3)); }
.cof__seg.is-on .cof__outer { fill: var(--primary); }
.cof__seg.is-on .cof__inner { fill: var(--primary-700); }
.cof__maj, .cof__min, .cof__acc, .cof__hubtxt { text-anchor: middle; dominant-baseline: central; pointer-events: none; font-family: var(--font); }
.cof__maj { font-size: 15px; font-weight: 800; fill: var(--text); }
.cof__maj--sm { font-size: 10px; }
.cof__min { font-size: 11.5px; font-weight: 700; fill: var(--text-2); }
.cof__acc { font-size: 8.5px; font-weight: 800; fill: var(--text-3); }
.cof__seg.is-on .cof__maj, .cof__seg.is-on .cof__min, .cof__seg.is-on .cof__acc { fill: #fff; }
.cof__hub { fill: var(--surface); stroke: var(--border); }
.cof__hubtxt { font-size: 26px; font-weight: 800; fill: var(--primary); }
.cof__detail { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.cof__facts { display: grid; gap: 8px; margin: var(--sp-3) 0 0; }
.cof__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: 13.5px; }
.cof__facts dt { color: var(--text-3); font-weight: 650; }
.cof__facts dd { margin: 0; color: var(--text); font-weight: 600; }

/* Ritim */
.nvals { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-2); }
.nval { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--sp-3); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.nval__glyphs { display: flex; gap: 10px; margin-bottom: 4px; }
.nval__note, .nval__rest { display: grid; place-items: center; width: 54px; height: 64px; border-radius: 12px; }
.nval__note { color: var(--primary); background: var(--primary-weak); }
.nval__rest { color: var(--text-2); background: var(--surface-2); }
.nval svg { width: 38px; height: 56px; }
.nval b { font-size: 15px; }
.nrules { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 640px) { .nrules { grid-template-columns: 1fr 1fr; } }
.meters { overflow: hidden; }
.meter__sig { display: grid; place-items: center; width: 50px; height: 44px; flex: none; border-radius: 12px; background: var(--primary-weak); color: var(--primary); font-weight: 800; font-size: 16px; }
.meter__dots { display: flex; gap: 5px; margin-top: 6px; }
.meter__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); transition: background .05s, transform .05s; }
.meter__dots i.a2 { background: color-mix(in srgb, var(--accent) 55%, var(--surface-3)); }
.meter__dots i.a1 { background: color-mix(in srgb, var(--primary) 40%, var(--surface-3)); }
.meter__dots i.is-on { background: var(--primary); transform: scale(1.35); }

/* Terimler */
.gloss { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 720px) { .gloss { grid-template-columns: 1fr 1fr; } }
.gloss__item { position: relative; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.gloss__term { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-right: 90px; }
.gloss__term b { font-size: 15px; font-style: italic; }
.gloss__sign { padding: 1px 7px; border-radius: 6px; background: var(--surface-2); font: 700 12px var(--font-num); color: var(--primary); }
.gloss__item p { margin-top: 4px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.gloss__cat { position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 750; color: var(--text-3); }

/* Makamlar */
.makams { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 640px) { .makams { grid-template-columns: 1fr 1fr; } }
.makam { padding: var(--sp-4); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid hsl(calc(350 + var(--i) * 38) 70% 55%); }
.makam header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.makam header b { font-size: 19px; letter-spacing: -.01em; }
.makam dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: var(--sp-3) 0; }
.makam dl div { padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); }
.makam dt { font-size: 10.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.makam dd { margin: 0; font-weight: 700; font-size: 14px; }
.makam p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.makam__west { display: flex; gap: 6px; margin-top: 8px; font-size: 12.5px !important; color: var(--text-3) !important; }

/* Enstrumanlar */
.family + .family { margin-top: var(--sp-5); }
.family__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--sp-3); }
.family__head h3 { font-size: 16px; }
.family__dot { width: 12px; height: 12px; margin-top: 5px; flex: none; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.family__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 640px) { .family__grid { grid-template-columns: 1fr 1fr; } }
.instr { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--c); }
.instr b { font-size: 15px; }
.instr p { margin-top: 3px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.instr__fact { display: flex; gap: 6px; padding: 7px 10px; margin-top: 8px !important; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--text) !important; font-size: 12.5px !important; }

/* Besteciler */
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #A16207, #0E7490, #BE185D, #4338CA, #B91C1C, #7C3AED); opacity: .5; }
.era + .era { margin-top: var(--sp-5); }
.era__head { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.era__head h3 { font-size: 16px; }
.era__dot { position: absolute; left: -22px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--bg); }
.era__list { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 720px) { .era__list { grid-template-columns: 1fr 1fr; } }
.composer { display: flex; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.composer__avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: #fff; font-weight: 800; font-size: 17px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.composer b { display: block; font-size: 14.5px; }
.composer__years { font-size: 12px; color: var(--text-3); }
.composer p { margin-top: 4px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.composer__work { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px; border-radius: var(--r-full); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); font-size: 12px; font-weight: 700; font-style: italic; }

/* Biliyor muydunuz */
.guide .facts { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
@media (min-width: 640px) { .guide .facts { grid-template-columns: 1fr 1fr; } }
.fact { position: relative; display: flex; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s, border-color .25s; }
.fact__emoji { font-size: 26px; line-height: 1; }
.fact p { font-size: 14px; line-height: 1.5; color: var(--text); padding-right: 22px; }
.fact__n { position: absolute; top: 10px; right: 12px; font-size: 11px; color: var(--text-3); }
.fact.is-spot { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow-lg); transform: scale(1.02); animation: spot 1.2s ease; }
@keyframes spot { 0% { transform: scale(.96); } 40% { transform: scale(1.04); } 100% { transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
    .metro__arm, .pg-pop, .fact.is-spot, .piano__key.is-hint, .tuner.is-playing .tuner__wave i { animation: none !important; transition: none !important; }
}

/* Bilgi Merkezi'ndeki rehber girisi */
.guide-banner {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: var(--sp-4); border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 55%, var(--accent) 160%);
    color: #fff; text-decoration: none; box-shadow: 0 12px 30px -12px var(--primary);
}
.guide-banner:hover { text-decoration: none; transform: translateY(-1px); }
.guide-banner__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .18); }
.guide-banner__body { flex: 1; min-width: 0; }
.guide-banner__body b { display: block; font-size: 16px; }
.guide-banner__body > span { display: block; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 1.4; }
.guide-banner__fact { margin-top: 8px; padding: 8px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .14); font-size: 12.5px !important; color: #fff !important; }
.guide-banner .list-item__chev { color: #fff; }
