/*!

 * ROBO NEXİMUS AI EVRENİ — Learning Player (GET /learn/{lessonId})

 * Sıfırdan yazılmış oyun konsolu arayüzü. Tüm kurallar .ra-learning-player

 * (ve yalnızca öğrenme sayfasına ait body.ra-learning-body-shell) altında kapsüllenir.

 * Yalnız CSS gradyan/gölge kullanılır; karakter/robot çizimi yoktur.

 * Erişilebilirlik: WCAG 2.1 AA, :focus-visible, prefers-reduced-motion, 360px mobil.

 */



/* ---------- Tema belirteçleri (4 aşama profili) ---------- */

.ra-learning-player,

[data-theme="grade-1"], [data-profile="formation"], .ra-grade-1 .ra-learning-player {

    --ra-accent: #22d3ee;

    --ra-accent-2: #3b82f6;

    --ra-violet: #8b5cf6;

    --ra-orange: #fb923c;

    --ra-mint: #34d399;

    --ra-bad: #f87171;

    --ra-navy-0: #050b1e;

    --ra-navy-1: #0a1330;

    --ra-navy-2: #101c44;

    --ra-edge: rgba(34, 211, 238, .55);

    --ra-text: #e6f1ff;

    --ra-muted: #8fa6c9;

    --ra-stage-bg: #eef5ff;

    --ra-stage-ink: #0b1a3a;

    --ra-stage-muted: #4b5f86;

    --ra-stage-line: #bcd0f0;

}

[data-theme="grade-2"], [data-profile="smart"], .ra-grade-2 .ra-learning-player {

    --ra-accent: #38bdf8; --ra-accent-2: #6366f1; --ra-violet: #a78bfa; --ra-edge: rgba(56, 189, 248, .55);

}

[data-theme="grade-3"], [data-profile="power"], .ra-grade-3 .ra-learning-player {

    --ra-accent: #2dd4bf; --ra-accent-2: #3b82f6; --ra-violet: #c084fc; --ra-edge: rgba(45, 212, 191, .55);

}

[data-theme="grade-4"], [data-profile="mastery"], .ra-grade-4 .ra-learning-player {

    --ra-accent: #67e8f9; --ra-accent-2: #818cf8; --ra-violet: #d946ef; --ra-orange: #f59e0b; --ra-edge: rgba(103, 232, 249, .6);

}



body.ra-learning-body-shell { margin: 0; background: #050b1e; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; min-height: 100vh; }

body.ra-learning-body-shell > .rn-footer { margin-top: 0; }



/* ---------- Kök kabuk: 100vh oyun konsolu ---------- */

.ra-learning-player {

    position: relative; inset: auto;

    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;

    height: calc(100vh - 65px); height: calc(100dvh - 65px); min-height: 560px; width: 100%;

    box-sizing: border-box; overflow: hidden; flex-shrink: 0;

    color: var(--ra-text);

    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    background: radial-gradient(1200px 600px at 50% -10%, #12275f 0%, transparent 60%), linear-gradient(180deg, var(--ra-navy-1), var(--ra-navy-0));

}

.ra-learning-player *, .ra-learning-player *::before, .ra-learning-player *::after { box-sizing: border-box; }

.ra-learning-player button { font-family: inherit; }

.ra-learning-player .ra-sr-only {

    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;

}

/* Arka plan: yalnızca katman yuvası. Görsel daha sonra eklenecek. */

.ra-learning-player .ra-background-slot { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: cover; background-position: center; }

.ra-learning-player .ra-bg-grid {

    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .35;

    background-image: linear-gradient(rgba(34,211,238,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,.06) 1px, transparent 1px);

    background-size: 44px 44px;

}

.ra-learning-player > header, .ra-learning-player > .ra-learning-body, .ra-learning-player > footer { position: relative; z-index: 1; }



/* ---------- HEADER ---------- */

.ra-learning-player .ra-topbar {

    display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) minmax(200px, 1fr);

    align-items: center; gap: 16px; padding: 8px 20px; min-height: 64px;

    background: linear-gradient(180deg, #0d1b46 0%, #08112e 100%);

    border-bottom: 2px solid var(--ra-edge);

    box-shadow: 0 1px 0 rgba(251,146,60,.55), 0 6px 22px rgba(0,0,0,.5), inset 0 -10px 20px rgba(34,211,238,.06);

    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 8px));

}

.ra-learning-player .ra-topbar-left { display: flex; align-items: center; min-width: 0; }

.ra-learning-player .ra-topbar-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }

.ra-learning-player .ra-topbar-logo-slot {

    width: 38px; height: 38px; flex: 0 0 38px; border: none; border-radius: 8px; background: transparent;

    display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 8px rgba(34,211,238,.6));

}

.ra-learning-player .ra-topbar-logo-img {

    width: 100%; height: 100%; object-fit: contain; display: block;

}

.ra-learning-player .ra-topbar-brand-name { font-weight: 900; letter-spacing: .12em; font-size: 1.1rem; color: transparent; line-height: 1.1; background: linear-gradient(45deg, var(--ra-accent), var(--ra-violet)); -webkit-background-clip: text; background-clip: text; text-shadow: 0 0 14px rgba(34,211,238,.6), 0 0 4px #fff; }

.ra-learning-player .ra-topbar-brand-name small { display: block; font-size: .7rem; color: var(--ra-orange); letter-spacing: .22em; font-weight: 700; }

.ra-learning-player .ra-topbar-center { display: grid; gap: 6px; justify-items: center; min-width: 0; text-align: center; }

.ra-learning-player .ra-topbar-lesson-info { display: grid; gap: 2px; min-width: 0; max-width: 100%; }

.ra-learning-player .ra-topbar-lesson-title {

    margin: 0; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 800; color: #fff; letter-spacing: .02em;

    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 14px rgba(34,211,238,.4);

}

.ra-learning-player .ra-topbar-grade-badge { font-size: .76rem; color: var(--ra-muted); letter-spacing: .1em; text-transform: uppercase; }

.ra-learning-player .ra-topbar-progress-box { width: min(420px, 100%); display: grid; gap: 4px; }

.ra-learning-player .ra-topbar-progress-meta { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }

.ra-learning-player .ra-topbar-step-badge { color: var(--ra-accent); }

.ra-learning-player .ra-topbar-pct-text { color: var(--ra-orange); }

.ra-learning-player .ra-topbar-progress-rail { height: 7px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.6); }

.ra-learning-player .ra-topbar-progress-bar { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ra-accent-2), var(--ra-accent)); box-shadow: 0 0 10px var(--ra-accent); transition: width .4s ease; }

.ra-learning-player .ra-topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }

.ra-learning-player .ra-topbar-student-pill {

    padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #cfe6ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;

    background: linear-gradient(180deg, rgba(139,92,246,.28), rgba(139,92,246,.1)); border: 1px solid rgba(139,92,246,.6);

}

.ra-learning-player .ra-topbar-btn {

    min-height: 40px; min-width: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;

    color: #dff3ff; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer;

    background: linear-gradient(180deg, #16295e, #0c1740); border: 1px solid rgba(34,211,238,.4); border-radius: 10px;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 6px rgba(0,0,0,.4);

}

.ra-learning-player .ra-topbar-btn:hover { border-color: var(--ra-accent); box-shadow: 0 0 12px rgba(34,211,238,.4), inset 0 1px 0 rgba(255,255,255,.18); }

.ra-learning-player .ra-btn-mobile-hero { display: none; }



/* ---------- 3 SÜTUN GÖVDE ---------- */

.ra-learning-player .ra-learning-body {

    display: grid; grid-template-columns: clamp(220px, 19vw, 300px) minmax(0, 1fr) clamp(250px, 21vw, 340px);

    gap: 14px; padding: 14px 16px; min-height: 0;

}

.ra-learning-player .ra-left-flow-panel,

.ra-learning-player .ra-hero-sidebar,

.ra-learning-player .ra-center-workspace { min-height: 0; min-width: 0; }



/* Panel yüzeyi (koyu cam + açılı köşe) */

.ra-learning-player .ra-flow-card,

.ra-learning-player .ra-hero-character-card {

    position: relative; height: 100%; display: flex; flex-direction: column; min-height: 0;

    background: linear-gradient(180deg, rgba(16,28,68,.92), rgba(7,13,36,.94));

    border: 1px solid rgba(34,211,238,.35); border-radius: 14px;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 0 30px rgba(34,211,238,.06), 0 8px 24px rgba(0,0,0,.45);

    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));

}



/* ---------- SOL: GÖREV ADIMLARI ---------- */

.ra-learning-player .ra-flow-header {

    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; flex: 0 0 auto;

    font-weight: 900; letter-spacing: .14em; font-size: .82rem; color: var(--ra-accent); border-bottom: 1px solid rgba(34,211,238,.2);

}

.ra-learning-player .ra-flow-header::-webkit-details-marker { display: none; }

.ra-learning-player #ra-flow-count { color: var(--ra-muted); font-weight: 700; letter-spacing: .06em; }

.ra-learning-player .ra-flow-stepper { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 10px 40px 10px; scrollbar-width: thin; scrollbar-color: rgba(34, 211, 238, .4) transparent; max-height: calc(100vh - 120px); -webkit-overflow-scrolling: touch; }

.ra-learning-player .ra-step-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.ra-learning-player .ra-flow-step-row-item {

    display: grid; grid-template-columns: 30px minmax(0, 1fr) 22px; align-items: center; gap: 8px; min-height: 40px; padding: 5px 10px 5px 6px;

    border-radius: 999px; font-size: .84rem; font-weight: 600; color: #6f84ad;

    background: rgba(8,14,38,.8); border: 1px solid rgba(111,132,173,.22);

}

.ra-learning-player .ra-step-num-pill {

    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800;

    background: rgba(255,255,255,.05); border: 1px solid rgba(111,132,173,.35);

}

.ra-learning-player .ra-step-row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ra-learning-player .ra-step-state { text-align: center; font-size: .8rem; }

.ra-learning-player .ra-flow-step-row-item.is-active {

    color: #fff; font-weight: 800; border-color: var(--ra-accent);

    background: linear-gradient(90deg, rgba(34,211,238,.28), rgba(59,130,246,.18));

    box-shadow: 0 0 14px rgba(34,211,238,.45), inset 0 0 12px rgba(34,211,238,.18);

}

.ra-learning-player .ra-flow-step-row-item.is-active .ra-step-num-pill { background: var(--ra-accent); color: #04132b; border-color: #fff; }

.ra-learning-player .ra-flow-step-row-item.is-completed { color: #bff5de; border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.1); }

.ra-learning-player .ra-flow-step-row-item.is-completed .ra-step-num-pill { background: var(--ra-mint); color: #032017; border-color: transparent; }

.ra-learning-player .ra-flow-step-row-item.is-skipped { color: #fde68a; border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.12); }

.ra-learning-player .ra-flow-step-row-item.is-skipped .ra-step-num-pill { background: #f59e0b; color: #1e1302; border-color: transparent; }

.ra-learning-player .ra-flow-step-row-item.is-locked { opacity: .6; }

.ra-learning-player .ra-flow-step-row-item.is-retry { color: #fca5a5; border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.12); }

.ra-learning-player .ra-flow-step-row-item.is-retry .ra-step-num-pill { background: #ef4444; color: #fff; border-color: transparent; }

.ra-learning-player .ra-flow-step-row-item.is-pending { color: #94a3b8; border-color: rgba(148,163,184,.25); background: rgba(15,23,42,.4); }

.ra-learning-player .ra-flow-step-row-item.is-pending .ra-step-num-pill { background: rgba(148,163,184,.15); color: #94a3b8; border-color: rgba(148,163,184,.3); }

.ra-learning-player .ra-flow-step-row-item:not(.is-locked):hover { border-color: rgba(56,189,248,.6); transform: translateX(2px); transition: all .15s ease; }

.ra-deck-nodes i.is-retry { background: #ef4444; border-color: #f87171; box-shadow: 0 0 6px #ef4444; }

.ra-deck-nodes i.is-skipped { background: #f59e0b; border-color: #fbbf24; box-shadow: 0 0 6px #f59e0b; }

.ra-learning-player .ra-step-overflow { margin-top: 8px; }

.ra-learning-player .ra-step-overflow > summary {

    cursor: pointer; list-style: none; padding: 9px 14px; border-radius: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em;

    color: var(--ra-accent); background: rgba(34,211,238,.08); border: 1px dashed rgba(34,211,238,.4);

}

.ra-learning-player .ra-step-overflow > summary::-webkit-details-marker { display: none; }

.ra-learning-player .ra-step-overflow > .ra-step-path { margin-top: 8px; }



/* ---------- ORTA: OYUN SAHNESİ ---------- */

.ra-learning-player .ra-center-workspace {

    position: relative; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; padding: 20px 24px 16px;

    color: var(--ra-stage-ink);

    background: linear-gradient(180deg, #f6faff 0%, var(--ra-stage-bg) 55%, #e2edfd 100%);

    border: 2px solid var(--ra-accent); border-radius: 16px;

    box-shadow: 0 0 0 4px rgba(10,19,48,.9), 0 0 0 5px var(--ra-edge), 0 0 26px rgba(34,211,238,.3), inset 0 0 40px rgba(59,130,246,.1), inset 0 2px 0 #fff;

    scrollbar-width: thin;

}

.ra-learning-player .ra-center-workspace::before {

    content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 3px; pointer-events: none;

    background: linear-gradient(90deg, transparent, var(--ra-orange), transparent);

}

.ra-learning-player .ra-q-header { flex: 0 0 auto; margin-bottom: 14px; }

.ra-learning-player .ra-q-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.ra-learning-player .ra-q-context-line { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }

.ra-learning-player .ra-q-context-text {

    padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;

    color: #04132b; background: linear-gradient(90deg, var(--ra-accent), #7dd3fc);

}

.ra-learning-player .ra-q-context-sep { color: var(--ra-orange); font-weight: 900; }

.ra-learning-player .ra-q-scene-title { font-size: 1.05rem; font-weight: 800; color: var(--ra-stage-ink); }

.ra-learning-player .ra-q-speak-btn {

    min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 800; font-size: .88rem;

    color: #fff; background: linear-gradient(180deg, var(--ra-accent-2), #1d4ed8); border: 1px solid #93c5fd; border-radius: 12px;

    box-shadow: 0 3px 10px rgba(37,99,235,.4), inset 0 1px 0 rgba(255,255,255,.3);

}

.ra-learning-player .ra-q-instruction-text {

    margin: 10px 0 0; font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.45; font-weight: 800; color: var(--ra-stage-ink);

}

.ra-learning-player .ra-interaction-canvas { flex: 0 1 auto; min-height: auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: 6px 0; width: 100%; }

.ra-learning-player .ra-q-footer { flex: 0 0 auto; margin-top: 10px; position: relative; z-index: 20; }



/* Geri bildirim */

.ra-learning-player .ra-feedback-banner {

    display: none; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; font-weight: 700; flex-wrap: wrap;

    background: #fff; border: 2px solid var(--ra-stage-line); color: var(--ra-stage-ink);

    position: relative; z-index: 20;

}

.ra-learning-player .ra-feedback-banner.show { display: flex; }

.ra-learning-player .ra-feedback-banner.feedback-success { background: #ecfdf5; border-color: #10b981; color: #064e3b; box-shadow: 0 0 14px rgba(16,185,129,.25); }

.ra-learning-player .ra-feedback-banner.feedback-retry { background: #fff7ed; border-color: #fb923c; color: #7c2d12; }

.ra-learning-player .ra-feedback-banner.feedback-remediation { background: #eff6ff; border-color: #3b82f6; color: #1e3a8a; }

.ra-learning-player .ra-feedback-banner.feedback-technical-error { background: #fef2f2; border-color: #ef4444; color: #7f1d1d; }

.ra-learning-player .ra-feedback-icon { font-size: 1.5rem; line-height: 1; }

.ra-learning-player .ra-feedback-badge { font-size: .74rem; font-weight: 900; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.08); }

.ra-learning-player .ra-feedback-text { flex: 1 1 200px; font-size: 1rem; line-height: 1.4; }

.ra-learning-player .ra-feedback-actions { display: flex; gap: 8px; }

.ra-learning-player .ra-btn-retry-step,

.ra-learning-player .ra-btn-retry-network,

.ra-learning-player .ra-btn-primary {

    min-height: 44px; padding: 0 18px; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: .95rem; color: #fff;

    background: linear-gradient(180deg, #fb923c, #ea580c); border: 1px solid #fdba74; box-shadow: 0 3px 10px rgba(234,88,12,.35);

}

.ra-learning-player .ra-btn-primary { background: linear-gradient(180deg, var(--ra-accent-2), #1d4ed8); border-color: #93c5fd; }



/* Görev görseli yuvası: yalnızca gerçek eğitim varlığı */

.ra-learning-player .ra-task-visual { display: grid; place-items: center; }

.ra-learning-player .ra-task-visual:empty { display: none; }



/* ---------- CEVAP KARTLARI (A/B/C) ---------- */

.ra-learning-player .ra-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; width: 100%; }

.ra-learning-player .ra-select-card {

    position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 20px; text-align: left; cursor: pointer;

    font-size: 1.15rem; font-weight: 700; color: var(--ra-stage-ink);

    background: linear-gradient(180deg, #fff, #eef4ff); border: 2.5px solid var(--ra-stage-line); border-radius: 16px;

    box-shadow: 0 4px 0 #c5d6f2, 0 6px 14px rgba(15,35,80,.1); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;

}

.ra-learning-player .ra-select-card:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--ra-accent-2); box-shadow: 0 5px 0 #9bb8ec, 0 10px 18px rgba(37,99,235,.2); }

.ra-learning-player .ra-select-card:focus-visible { outline: 3px solid var(--ra-orange); outline-offset: 3px; }

.ra-learning-player .ra-select-card.selected,

.ra-learning-player .ra-select-card.is-selected {

    border-color: var(--ra-accent-2); background: linear-gradient(180deg, #eaf2ff, #d6e6ff);

    box-shadow: 0 0 0 3px rgba(59,130,246,.3), 0 3px 0 #7da4ea;

}

.ra-learning-player .ra-select-card.is-correct, .ra-learning-player .ra-select-card.correct-highlight {

    border-color: #10b981; background: linear-gradient(180deg, #ecfdf5, #c9f7e0); box-shadow: 0 0 0 3px rgba(16,185,129,.35), 0 3px 0 #6ee7b7;

}

.ra-learning-player .ra-select-card.is-wrong {

    border-color: #f97316; background: linear-gradient(180deg, #fff7ed, #ffe3c9); box-shadow: 0 0 0 3px rgba(249,115,22,.3), 0 3px 0 #fdba74;

}

.ra-learning-player .ra-select-card:disabled { cursor: default; }

.ra-learning-player .ra-badge-letter {

    flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.35rem; font-weight: 900; color: #fff;

    background: linear-gradient(145deg, var(--ra-accent-2), var(--ra-violet)); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 8px rgba(59,130,246,.4);

}

.ra-learning-player .is-correct .ra-badge-letter { background: linear-gradient(145deg, #10b981, #059669); }

.ra-learning-player .is-wrong .ra-badge-letter { background: linear-gradient(145deg, #fb923c, #ea580c); }

.ra-learning-player .ra-card-icon { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; }

.ra-learning-player .ra-card-icon svg, .ra-learning-player .ra-card-icon img { max-width: 100%; max-height: 100%; }

.ra-learning-player .ra-card-label { flex: 1 1 auto; min-width: 0; line-height: 1.3; }



/* Karşılaştır / Karar */

.ra-learning-player .ra-compare-deck, .ra-learning-player .ra-decision-deck, .ra-learning-player .ra-choice-deck {

    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; width: 100%;

}

.ra-learning-player .ra-compare-card, .ra-learning-player .ra-decision-card {

    min-height: 110px; padding: 18px 20px; font-size: 1.15rem; font-weight: 700; text-align: center; cursor: pointer; color: var(--ra-stage-ink);

    background: linear-gradient(180deg, #fff, #eef4ff); border: 2.5px solid var(--ra-stage-line); border-radius: 16px; box-shadow: 0 4px 0 #c5d6f2;

}

.ra-learning-player .ra-compare-card:hover, .ra-learning-player .ra-decision-card:hover { border-color: var(--ra-accent-2); }

.ra-learning-player .ra-compare-card.selected, .ra-learning-player .ra-compare-card.is-selected,

.ra-learning-player .ra-decision-card.selected, .ra-learning-player .ra-decision-card.is-selected { border-color: var(--ra-accent-2); background: #dbe9ff; box-shadow: 0 0 0 3px rgba(59,130,246,.3); }

.ra-learning-player .ra-decision-metric { display: block; margin-top: 6px; font-size: .85rem; color: var(--ra-stage-muted); }



/* İŞİTSEL GÖREV UYARANI */

.ra-learning-player .ra-audio-stimulus-card {

    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; padding: 14px 18px;

    background: linear-gradient(135deg, #0b1a45, #14286a); color: #e6f1ff; border: 2px solid var(--ra-accent); border-radius: 14px;

    box-shadow: 0 0 18px rgba(34,211,238,.28), inset 0 0 20px rgba(34,211,238,.1);

}

.ra-learning-player .ra-audio-main { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 auto; }

.ra-learning-player .ra-audio-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ra-accent); border: 1px solid var(--ra-edge); border-radius: 12px; background: rgba(34,211,238,.1); }

.ra-learning-player .ra-audio-text { min-width: 0; flex: 1 1 auto; }

.ra-learning-player .ra-audio-kicker { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .16em; color: var(--ra-orange); }

.ra-learning-player .ra-audio-label { margin: 2px 0 6px; font-size: 1.05rem; color: #fff; }

.ra-learning-player .ra-audio-wave { display: flex; align-items: center; gap: 3px; height: 26px; }

.ra-learning-player .ra-audio-wave i { width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--ra-accent), var(--ra-accent-2)); height: 30%; }

.ra-learning-player .ra-audio-wave i:nth-child(3n) { height: 70%; }

.ra-learning-player .ra-audio-wave i:nth-child(4n+1) { height: 100%; }

.ra-learning-player .ra-audio-wave i:nth-child(5n+2) { height: 45%; }

.ra-learning-player .ra-btn-play-stimulus {

    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; cursor: pointer; font-weight: 900; font-size: 1rem; color: #04132b;

    background: linear-gradient(180deg, #67e8f9, var(--ra-accent)); border: 0; border-radius: 12px; box-shadow: 0 3px 12px rgba(34,211,238,.45), inset 0 1px 0 #fff;

}

.ra-learning-player .ra-btn-play-stimulus.playing { transform: scale(.97); box-shadow: 0 0 22px var(--ra-accent); }

.ra-learning-player .ra-audio-stimulus-card:has(.playing) .ra-audio-wave i { animation: ra-wave .5s ease-in-out infinite alternate; }

.ra-learning-player .ra-audio-stimulus-card:has(.playing) .ra-audio-wave i:nth-child(odd) { animation-delay: .15s; }

@keyframes ra-wave { from { transform: scaleY(.4); } to { transform: scaleY(1.1); } }



/* ---------- Diğer etkileşim motorları (açık sahne yüzeyi) ---------- */

/* Altın Standart & WCAG 2.5.5: Minimum 44x44px dokunmatik hedef alanı */

.ra-learning-player .ra-interactive-item {

    min-height: 44px;

    min-width: 44px;

    box-sizing: border-box;

}



.ra-learning-player .ra-interactive-item:focus-visible,

.ra-learning-player button:focus-visible,

.ra-learning-player summary:focus-visible,

.ra-learning-player a:focus-visible { outline: 3px solid var(--ra-orange); outline-offset: 2px; }



.ra-learning-player .ra-drag-container, .ra-learning-player .ra-match-grid, .ra-learning-player .ra-order-list,

.ra-learning-player .ra-classify-container, .ra-learning-player .ra-build-container, .ra-learning-player .ra-connect-container,

.ra-learning-player .ra-connect-direct-container, .ra-learning-player .ra-debug-stage, .ra-learning-player .ra-command-zone,

.ra-learning-player .ra-observe-container, .ra-learning-player .ra-create-container { display: flex; flex-direction: column; gap: 14px; width: 100%; }

.ra-learning-player .ra-match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }

.ra-learning-player .ra-match-col, .ra-learning-player .ra-classify-buckets, .ra-learning-player .ra-drag-pool,

.ra-learning-player .ra-drop-items-container, .ra-learning-player .ra-build-toolbox, .ra-learning-player .ra-create-tools,

.ra-learning-player .ra-debug-options, .ra-learning-player .ra-connect-targets-deck { display: flex; flex-wrap: wrap; gap: 10px; }

.ra-learning-player .ra-match-col { flex-direction: column; }

.ra-learning-player .ra-drop-box, .ra-learning-player .ra-classify-bucket, .ra-learning-player .ra-build-slot, .ra-learning-player .ra-target-zone, .ra-learning-player .ra-create-canvas, .ra-learning-player .ra-build-canvas {

    min-height: 130px; padding: 16px; border: 2.5px dashed #8fb0e6; border-radius: 16px; background: rgba(255,255,255,.7); color: var(--ra-stage-ink);

}

.ra-learning-player .ra-classify-bucket { flex: 1 1 200px; min-height: 140px; }

.ra-learning-player .ra-classify-bucket-title, .ra-learning-player .ra-drop-prompt { font-weight: 800; color: var(--ra-stage-muted); font-size: 1.05rem; }

.ra-learning-player .ra-drag-item, .ra-learning-player .ra-match-node, .ra-learning-player .ra-order-item, .ra-learning-player .ra-build-part,

.ra-learning-player .ra-debug-chip, .ra-learning-player .ra-create-tool-chip, .ra-learning-player .ra-btn-command, .ra-learning-player .ra-connect-port-btn, .ra-learning-player .ra-connect-source-card {

    min-height: 58px; padding: 12px 20px; font-size: 1.08rem; font-weight: 700; color: var(--ra-stage-ink); cursor: pointer;

    background: linear-gradient(180deg, #fff, #eaf1ff); border: 2.5px solid var(--ra-stage-line); border-radius: 14px; box-shadow: 0 3px 0 #c5d6f2;

}

.ra-learning-player .ra-drag-item.is-selected, .ra-learning-player .ra-match-node.selected, .ra-learning-player .ra-drag-item.in-target { border-color: var(--ra-accent-2); background: #dbe9ff; }

.ra-learning-player .ra-match-node.matched { border-color: #0284c7; background: #e0f2fe; color: #0369a1; }

.ra-learning-player .ra-match-node.matched.is-correct { border-color: #10b981; background: #d1fae5; color: #065f46; }

.ra-learning-player .ra-order-list { list-style: none; margin: 0; padding: 0; }

.ra-learning-player .ra-order-item { display: flex; align-items: center; gap: 12px; }

.ra-learning-player .ra-order-num { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; background: var(--ra-accent-2); }

.ra-learning-player .ra-order-actions { margin-left: auto; display: flex; gap: 6px; }

.ra-learning-player .ra-btn-arrow { min-width: 44px; min-height: 44px; border-radius: 10px; border: 2px solid var(--ra-stage-line); background: #fff; color: var(--ra-stage-ink); cursor: pointer; font-weight: 900; }

.ra-learning-player .ra-btn-command { background: linear-gradient(180deg, var(--ra-accent-2), #1d4ed8); color: #fff; border-color: #93c5fd; }

.ra-learning-player .ra-debug-codeblock { margin: 0; padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; color: #d7ecff; background: #0b1a3a; border: 1px solid #1e3a8a; }

.ra-learning-player .ra-font-mono { font-family: ui-monospace, Consolas, monospace; }

.ra-learning-player .ra-verify-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 20px; border: 2px solid var(--ra-stage-line); border-radius: 18px; background: #fff; width: 100%; max-width: 620px; margin: 0 auto; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); }

.ra-learning-player .ra-verify-header { text-align: center; width: 100%; }

.ra-learning-player .ra-verify-statement { font-size: 1.15rem; font-weight: 800; color: var(--ra-stage-ink, #0f172a); line-height: 1.45; }

.ra-learning-player .ra-verify-subtitle { font-size: 0.88rem; font-weight: 600; color: #64748b; margin-top: 6px; }

.ra-learning-player .ra-verify-deck { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; width: 100%; min-height: auto; height: auto; flex: 1 1 auto; background: transparent; border-radius: 0; }

.ra-learning-player .ra-verify-choice-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 14px; border-radius: 16px; border: 2.5px solid #cbd5e1; background: #f8fafc; cursor: pointer; position: relative; transition: all .2s cubic-bezier(.16, 1, .3, 1); min-height: 110px; height: auto; box-sizing: border-box; }

.ra-learning-player .ra-verify-choice-btn:hover { border-color: #38bdf8; background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(2, 132, 199, 0.12); }

.ra-learning-player .ra-verify-choice-btn.selected { border-color: #0284c7; background: #e0f2fe; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25); }

.ra-learning-player .ra-verify-choice-icon { font-size: 1.5rem; font-weight: 900; color: #64748b; }

.ra-learning-player .ra-verify-choice-btn.is-true .ra-verify-choice-icon,

.ra-learning-player .ra-verify-choice-btn.is-false .ra-verify-choice-icon { color: #64748b; }

.ra-learning-player .ra-verify-choice-btn.selected .ra-verify-choice-icon { color: #0284c7; }

.ra-learning-player .ra-verify-choice-label { font-size: 1.1rem; font-weight: 800; color: #1e293b; text-align: center; word-break: break-word; line-height: 1.3; }

.ra-learning-player .ra-toggle-switch:not(.ra-verify-deck) { position: relative; width: 62px; height: 34px; flex: 0 0 62px; border: 0; border-radius: 999px; cursor: pointer; background: #9fb3d6; }

.ra-learning-player .ra-toggle-switch[aria-checked="true"], .ra-learning-player .ra-toggle-switch.is-on { background: #10b981; }

.ra-learning-player .ra-toggle-knob { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); transition: transform .2s ease; }

.ra-learning-player .ra-toggle-switch[aria-checked="true"] .ra-toggle-knob, .ra-learning-player .ra-toggle-switch.is-on .ra-toggle-knob { transform: translateX(28px); }

.ra-learning-player .ra-observe-stage { min-height: 220px; display: grid; place-items: center; padding: 22px; border-radius: 18px; background: #fff; border: 2px solid var(--ra-stage-line); }

.ra-learning-player .ra-observe-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .75rem; font-weight: 900; color: #fff; background: var(--ra-violet); }

.ra-learning-player .ra-plug-indicator { width: 14px; height: 14px; border-radius: 50%; background: #94a3b8; display: inline-block; }

.ra-learning-player .ra-plug-indicator.connected, .ra-learning-player .ra-plug-indicator.is-connected { background: #10b981; box-shadow: 0 0 8px #10b981; }

.ra-learning-player .ra-grid-board { display: grid; gap: 4px; width: min(100%, 360px); margin-inline: auto; }

.ra-learning-player .ra-grid-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--ra-stage-line); }

.ra-learning-player .ra-grid-cell.active-robot { background: #dbe9ff; border-color: var(--ra-accent-2); }

.ra-learning-player .ra-grid-cell.target-goal { background: #d1fae5; border-color: #10b981; }

.ra-learning-player .ra-dpad-controls { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; justify-content: center; }

.ra-learning-player .ra-btn-dpad { min-height: 56px; border-radius: 12px; border: 2px solid var(--ra-stage-line); background: #fff; color: var(--ra-stage-ink); font-weight: 900; cursor: pointer; }

.ra-learning-player .is-submitting, .ra-learning-player .is-submitted { pointer-events: none; }

.ra-learning-player .is-submitting { opacity: .75; }

.ra-learning-player .ra-scene-maintenance { padding: 28px; text-align: center; border-radius: 14px; background: #fff7ed; border: 2px solid #fb923c; color: #7c2d12; }

.ra-learning-player .ra-maintenance-icon { font-size: 2.2rem; }

.ra-learning-player .ra-maintenance-title { margin: 8px 0 4px; font-size: 1.2rem; font-weight: 900; }

.ra-learning-player .ra-maintenance-desc { margin: 0; }



/* ---------- SAĞ: KARAKTERİM ---------- */

.ra-learning-player .ra-hero-sidebar { overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(34,211,238,.4) transparent; }

.ra-learning-player .ra-hero-character-card { height: auto; min-height: 100%; padding: 14px; gap: 12px; }

.ra-learning-player .ra-hero-card-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.ra-learning-player .ra-character-label { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .2em; color: var(--ra-accent); }

.ra-learning-player .ra-hero-char-name { margin: 2px 0 0; font-size: 1.35rem; font-weight: 900; color: #fff; text-shadow: 0 0 12px rgba(34,211,238,.4); }

.ra-learning-player .ra-hero-mobile-close { display: none; min-width: 44px; min-height: 44px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--ra-edge); border-radius: 10px; cursor: pointer; }

.ra-learning-player .ra-hero-portrait-wrapper { position: relative; }

.ra-learning-player .ra-hero-portrait-frame {

    position: relative; width: 100%; max-width: 270px; margin-inline: auto; aspect-ratio: 9 / 16; max-height: 32vh; display: grid; place-items: center; overflow: hidden;

    border-radius: 14px; border: 1px solid var(--ra-edge);

    background: radial-gradient(circle at 50% 35%, rgba(34,211,238,.18), transparent 60%), linear-gradient(180deg, #0c1a47, #060d26);

    box-shadow: inset 0 0 30px rgba(34,211,238,.22), 0 0 16px rgba(34,211,238,.18);

}

.ra-learning-player .ra-hero-portrait-frame::after {

    content: ""; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 8px; border-radius: 50%; pointer-events: none;

    background: radial-gradient(ellipse, rgba(34,211,238,.7), transparent 70%);

}

.ra-learning-player .ra-hero-portrait-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.ra-learning-player .ra-hero-portrait-img[hidden], .ra-learning-player .ra-portrait-empty[hidden] { display: none; }

.ra-learning-player .ra-portrait-empty { padding: 16px; text-align: center; font-size: .86rem; font-weight: 700; line-height: 1.4; color: var(--ra-muted); }

.ra-learning-player .ra-hero-speech-bubble {

    position: absolute; z-index: 3; left: 4%; right: 4%; top: 6px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; font-size: .84rem; color: #fff;

    background: rgba(10,19,48,.95); border: 1px solid var(--ra-accent); border-radius: 12px; box-shadow: 0 0 14px rgba(34,211,238,.35);

}

.ra-learning-player .ra-speech-content { flex: 1; }

.ra-learning-player .ra-speech-close-btn { min-width: 32px; min-height: 32px; color: #fff; background: transparent; border: 0; cursor: pointer; }

.ra-learning-player .ra-hero-meta-row { display: grid; gap: 4px; text-align: center; }

.ra-learning-player .ra-hero-stage-badge { font-size: .8rem; font-weight: 800; color: var(--ra-orange); letter-spacing: .06em; }

.ra-learning-player .ra-hero-grade-tag { font-size: .72rem; color: var(--ra-muted); letter-spacing: .08em; text-transform: uppercase; }

.ra-learning-player .ra-hero-stats-header { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--ra-accent); margin-bottom: 8px; }

.ra-learning-player .ra-stats-count-badge { color: var(--ra-orange); }

.ra-learning-player .ra-hero-featured-stats-list, .ra-learning-player #ra-other-stats-list { display: grid; gap: 9px; }



/* Enerji rayları */

.ra-learning-player .ra-power-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "r r"; gap: 3px 8px; align-items: baseline; font-size: .8rem; font-weight: 700; color: #cfe3ff; }

.ra-learning-player .ra-power-row > span:first-child { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ra-learning-player .ra-power-row > strong { grid-area: v; color: #fff; font-size: .95rem; text-shadow: 0 0 8px rgba(34,211,238,.6); }

.ra-learning-player .ra-power-rail { grid-area: r; display: block; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.07); border: 1px solid rgba(34,211,238,.25); box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }

.ra-learning-player .ra-power-rail > span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ra-accent-2), var(--ra-accent) 70%, #a5f3fc); box-shadow: 0 0 10px var(--ra-accent); }

.ra-learning-player #ra-hero-featured-stats .ra-power-rail { height: 14px; }

.ra-learning-player #ra-other-stats-list .ra-power-rail { height: 7px; }

.ra-learning-player #ra-other-stats-list .ra-power-rail > span { background: linear-gradient(90deg, var(--ra-violet), var(--ra-accent-2)); box-shadow: 0 0 6px var(--ra-violet); }

.ra-learning-player .ra-other-stats { border: 1px solid rgba(34,211,238,.25); border-radius: 12px; background: rgba(5,11,30,.6); }

.ra-learning-player .ra-other-stats > summary { cursor: pointer; padding: 10px 12px; list-style: none; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--ra-accent); }

.ra-learning-player .ra-other-stats > summary::-webkit-details-marker { display: none; }

.ra-learning-player .ra-other-stats > div { padding: 4px 12px 12px; max-height: 240px; overflow-y: auto; }

.ra-learning-player .ra-reward-pulse { animation: ra-pulse 1.2s ease-out 1; }

@keyframes ra-pulse { 0% { box-shadow: 0 0 0 0 rgba(251,146,60,.8); } 100% { box-shadow: 0 0 0 22px rgba(251,146,60,0); } }



/* ---------- ALT KOMUT GÜVERTESİ ---------- */

.ra-learning-player .ra-command-deck {

    display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) minmax(150px, 1fr); align-items: center; gap: 16px; padding: 10px 20px; min-height: 68px;

    background: linear-gradient(0deg, #0d1b46 0%, #08112e 100%); border-top: 2px solid var(--ra-edge);

    box-shadow: 0 -1px 0 rgba(251,146,60,.55), 0 -6px 22px rgba(0,0,0,.5), inset 0 10px 20px rgba(34,211,238,.06);

    clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 8px, 100% 100%, 0 100%, 0 8px);

}

.ra-learning-player .ra-deck-previous, .ra-learning-player .ra-btn-next-step {

    min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 900; font-size: .95rem; letter-spacing: .04em; color: #fff;

    border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 10px rgba(0,0,0,.45);

}

.ra-learning-player .ra-deck-previous { justify-self: start; background: linear-gradient(180deg, #1b2f6b, #0f1d48); border: 1px solid var(--ra-edge); }

.ra-learning-player .ra-deck-previous:disabled { opacity: .45; cursor: not-allowed; }

.ra-learning-player .ra-btn-next-step { background: linear-gradient(180deg, #fb923c, #ea580c); border: 1px solid #fdba74; box-shadow: 0 0 16px rgba(251,146,60,.5), inset 0 1px 0 rgba(255,255,255,.35); }

.ra-learning-player .ra-deck-next-slot { justify-self: end; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.ra-learning-player #ra-deck-next-hint { font-size: .8rem; color: var(--ra-muted); letter-spacing: .06em; }

.ra-learning-player .ra-deck-progress { display: grid; gap: 5px; min-width: 0; text-align: center; }

.ra-learning-player .ra-deck-progress > div { display: flex; justify-content: center; gap: 10px; align-items: baseline; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ra-muted); }

.ra-learning-player .ra-deck-progress strong { color: var(--ra-accent); font-size: 1rem; text-shadow: 0 0 8px rgba(34,211,238,.6); }

.ra-learning-player progress#ra-deck-progress { width: 100%; height: 8px; border: 0; border-radius: 6px; overflow: hidden; appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.08); }

.ra-learning-player progress#ra-deck-progress::-webkit-progress-bar { background: rgba(255,255,255,.08); }

.ra-learning-player progress#ra-deck-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--ra-accent-2), var(--ra-accent)); box-shadow: 0 0 8px var(--ra-accent); }

.ra-learning-player progress#ra-deck-progress::-moz-progress-bar { background: linear-gradient(90deg, var(--ra-accent-2), var(--ra-accent)); }

.ra-learning-player .ra-deck-nodes { display: flex; justify-content: center; gap: 4px; flex-wrap: nowrap; overflow: hidden; }

.ra-learning-player .ra-deck-nodes i { flex: 0 1 10px; min-width: 4px; height: 6px; border-radius: 2px; background: rgba(111,132,173,.35); }

.ra-learning-player .ra-deck-nodes i.is-done { background: var(--ra-mint); box-shadow: 0 0 5px var(--ra-mint); }

.ra-learning-player .ra-deck-nodes i.is-active { background: var(--ra-accent); box-shadow: 0 0 8px var(--ra-accent); }

.ra-learning-player .ra-deck-nodes i.is-skipped { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.6); }



/* ---------- MODALLER / DİYALOG / MEDYA / TEŞHİS ---------- */

.ra-learning-player .ra-review-dialog {

    width: min(560px, 92vw); padding: 18px; color: var(--ra-text); border: 2px solid var(--ra-accent); border-radius: 16px;

    background: linear-gradient(180deg, #101c44, #070d24); box-shadow: 0 0 30px rgba(34,211,238,.35);

}

.ra-learning-player .ra-review-dialog::backdrop { background: rgba(2,6,20,.75); }

.ra-learning-player .ra-review-dialog header { display: flex; justify-content: space-between; align-items: center; }

.ra-learning-player .ra-review-dialog h2 { margin: 0; font-size: 1.1rem; }

.ra-learning-player .ra-review-dialog button { min-width: 44px; min-height: 44px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--ra-edge); border-radius: 10px; cursor: pointer; }

.ra-learning-player .ra-review-note { color: var(--ra-muted); font-size: .85rem; }



.ra-learning-player .ra-media-slot { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(2,6,20,.8); padding: 16px; }

.ra-learning-player .ra-media-slot.active { display: grid; }

.ra-learning-player .ra-media-card { width: min(420px, 100%); padding: 18px; color: var(--ra-text); border: 2px solid var(--ra-orange); border-radius: 16px; background: linear-gradient(180deg, #101c44, #070d24); box-shadow: 0 0 30px rgba(251,146,60,.4); }

.ra-learning-player .ra-step-badge { font-size: .78rem; font-weight: 900; letter-spacing: .1em; color: var(--ra-orange); }

.ra-learning-player .ra-btn-icon { color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--ra-edge); border-radius: 10px; cursor: pointer; }

.ra-learning-player .ra-media-countdown-rail { height: 5px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.1); }

.ra-learning-player .ra-media-countdown-bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--ra-orange), var(--ra-accent)); }



.ra-learning-player .ra-modal-backdrop { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 16px; background: rgba(2,6,20,.8); }

.ra-learning-player .ra-modal-backdrop.open { display: grid; }

.ra-learning-player .ra-modal-content { width: min(720px, 100%); max-height: 90vh; display: flex; flex-direction: column; color: var(--ra-text); border: 2px solid var(--ra-accent); border-radius: 16px; background: linear-gradient(180deg, #101c44, #070d24); box-shadow: 0 0 30px rgba(34,211,238,.35); overflow: hidden; }

.ra-learning-player .ra-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid rgba(34,211,238,.25); }

.ra-learning-player .ra-modal-body { padding: 18px; overflow-y: auto; }

.ra-learning-player .ra-modal-close-btn { min-width: 44px; min-height: 44px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid var(--ra-edge); border-radius: 10px; cursor: pointer; }

.ra-learning-player .ra-diagnostics-panel { position: fixed; right: 12px; bottom: 80px; z-index: 70; display: none; max-width: min(420px, 90vw); max-height: 50vh; overflow: auto; padding: 12px; font: .75rem ui-monospace, Consolas, monospace; color: #a7f3d0; background: rgba(2,6,20,.95); border: 1px solid #10b981; border-radius: 10px; }

.ra-learning-player .ra-diagnostics-panel.open { display: block; }



/* Tamamlama / mezuniyet */

.ra-player-shell.is-graduation .ra-left-flow-panel,

.ra-player-shell.is-graduation .ra-hero-sidebar,

.ra-player-shell.is-graduation .ra-q-header,

.ra-player-shell.is-graduation .ra-q-footer,

.ra-player-shell.is-graduation .ra-command-deck {

    display: none !important;

}

.ra-player-shell.is-graduation .ra-learning-body {

    grid-template-columns: 1fr !important;

    max-width: 1400px !important;

    margin: 0 auto !important;

    width: 100% !important;

    padding: 12px 20px !important;

}

.ra-player-shell.is-graduation .ra-center-workspace {

    overflow-y: auto !important;

    max-height: calc(100vh - 84px) !important;

    min-height: 0 !important;

    padding: 24px 28px !important;

    background: radial-gradient(ellipse at 50% 20%, rgba(14, 165, 233, 0.16) 0%, rgba(5, 12, 28, 0.96) 65%), #030712 !important;

    border: 2px solid rgba(0, 242, 254, 0.45) !important;

    box-shadow: 0 0 0 3px rgba(3, 7, 18, 0.95), 0 0 50px rgba(0, 242, 254, 0.22), inset 0 0 60px rgba(14, 165, 233, 0.08) !important;

    border-radius: 24px !important;

    color: #f8fafc !important;

}

.ra-player-shell.is-graduation .ra-center-workspace::before {

    background: linear-gradient(90deg, transparent, #00f2fe, #f59e0b, #00f2fe, transparent) !important;

    height: 4px !important;

    top: 0 !important;

    left: 20px !important;

    right: 20px !important;

}

.ra-player-shell.is-graduation .ra-interaction-canvas {

    overflow-y: visible !important;

    max-height: none !important;

    height: auto !important;

    width: 100% !important;

    max-width: min(100%, 1240px) !important;

    padding: 0 !important;

    margin: 0 auto !important;

    pointer-events: auto !important;

}

.ra-player-shell.is-graduation .ra-completion-card,

.ra-player-shell.is-graduation .ra-next-action-row,

.ra-player-shell.is-graduation .ra-cta-btn-primary,

.ra-player-shell.is-graduation .ra-cta-btn-secondary,

.ra-player-shell.is-graduation .ra-cta-btn-tertiary {

    pointer-events: auto !important;

}

@media (max-width: 1024px) {

    .ra-player-shell.is-graduation .ra-learning-body {

        grid-template-columns: 1fr !important;

        padding: 8px 12px !important;

    }

    .ra-player-shell.is-graduation .ra-center-workspace {

        padding: 16px 18px !important;

    }

}



.ra-learning-player .ra-completion-card {

    padding: clamp(16px, 2vw, 24px) clamp(18px, 2.5vw, 28px);

    border-radius: 22px;

    border: 1.5px solid rgba(0, 242, 254, 0.4);

    background: linear-gradient(165deg, rgba(10, 24, 56, 0.92) 0%, rgba(4, 10, 24, 0.98) 100%);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 242, 254, 0.2);

    max-width: 100%;

    margin: 0 auto;

    width: 100%;

    box-sizing: border-box;

}



.ra-awakening-layout {

    display: grid;

    grid-template-columns: clamp(300px, 28%, 350px) minmax(0, 1fr);

    gap: clamp(20px, 2.5vw, 32px);

    align-items: stretch;

    width: 100%;

}



@media (min-width: 769px) and (max-width: 1024px) {

    .ra-awakening-layout {

        grid-template-columns: 260px minmax(0, 1fr);

        gap: 18px;

    }

    .ra-chamber-slot-916 {

        max-width: 190px !important;

    }

}



/* Sol Alan: Karakter Uyanış Odası (9:16) */

.ra-awakening-chamber-col {

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}



.ra-awakening-chamber-card {

    background: linear-gradient(180deg, rgba(8, 20, 50, 0.85) 0%, rgba(4, 10, 26, 0.96) 100%);

    border: 1.5px solid rgba(0, 242, 254, 0.4);

    border-radius: 18px;

    padding: 14px 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 242, 254, 0.08);

    width: 100%;

    height: 100%;

    box-sizing: border-box;

}



.ra-awakening-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

    margin-bottom: 10px;

}



.ra-awakening-badge {

    font-size: 0.74rem;

    font-weight: 900;

    color: var(--ra-cyan, #00f2fe);

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);

}



.ra-awakening-status {

    font-size: 0.72rem;

    font-weight: 800;

    color: #10b981;

    background: rgba(16, 185, 129, 0.15);

    border: 1px solid rgba(16, 185, 129, 0.35);

    padding: 2px 8px;

    border-radius: 999px;

}



.ra-chamber-slot-916 {

    width: 100%;

    max-width: 236px;

    aspect-ratio: 9 / 16;

    border-radius: 16px;

    border: 2px solid rgba(0, 242, 254, 0.6);

    background: #030712;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3), inset 0 0 25px rgba(0, 0, 0, 0.85);

    margin: 0 auto;

}



.ra-awakening-platform-glow {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 50px;

    background: radial-gradient(ellipse at 50% 100%, rgba(0, 242, 254, 0.85) 0%, rgba(14, 165, 233, 0.45) 45%, transparent 75%);

    filter: blur(8px);

    pointer-events: none;

    z-index: 2;

}



.ra-chamber-empty {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 24px 14px;

    text-align: center;

    pointer-events: none;

    z-index: 3;

}



.ra-chamber-empty-icon {

    font-size: 2.6rem;

    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.7));

}



.ra-chamber-empty-text {

    font-size: 0.82rem;

    font-weight: 700;

    color: #bae6fd;

    letter-spacing: 0.05em;

    line-height: 1.4;

}



.ra-awakening-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

    display: block;

    animation: raAwakeningReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}



@keyframes raAwakeningReveal {

    0% {

        opacity: 0;

        transform: translateY(14px) scale(0.96);

        filter: brightness(0.7) drop-shadow(0 0 0 rgba(0, 242, 254, 0));

    }

    50% {

        opacity: 0.9;

        filter: brightness(1.2) drop-shadow(0 0 18px rgba(0, 242, 254, 0.7));

    }

    100% {

        opacity: 1;

        transform: translateY(0) scale(1);

        filter: brightness(1) drop-shadow(0 0 14px rgba(0, 242, 254, 0.35));

    }

}



.ra-awakening-identity {

    margin-top: 10px;

    text-align: center;

    width: 100%;

}



.ra-awakening-name {

    font-size: 1.45rem;

    font-weight: 900;

    color: #ffffff;

    margin: 0 0 4px 0;

    letter-spacing: -0.01em;

    text-shadow: 0 0 16px rgba(0, 242, 254, 0.4);

}



.ra-awakening-meta {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-bottom: 4px;

    flex-wrap: wrap;

}



.ra-awakening-code {

    font-size: 0.75rem;

    font-family: ui-monospace, SFMono-Regular, monospace;

    color: #38bdf8;

    background: rgba(56, 189, 248, 0.12);

    border: 1px solid rgba(56, 189, 248, 0.3);

    padding: 2px 8px;

    border-radius: 6px;

    font-weight: 800;

}



.ra-awakening-stage-pill {

    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(14, 165, 233, 0.15));

    color: #00f2fe;

    border: 1px solid rgba(0, 242, 254, 0.45);

    padding: 2px 10px;

    border-radius: 999px;

    font-size: 0.74rem;

    font-weight: 800;

}



.ra-awakening-lore-chips {

    font-size: 0.76rem;

    color: #94a3b8;

    line-height: 1.4;

    padding: 2px 4px;

}



/* Sağ Alan: Aşama Sonuçları & Aksiyonlar */

.ra-awakening-results-col {

    display: flex;

    flex-direction: column;

    gap: 10px;

    width: 100%;

    text-align: left;

}



.ra-results-head {

    border-bottom: 1px solid rgba(0, 242, 254, 0.2);

    padding-bottom: 6px;

}



.ra-results-badges {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 4px;

    flex-wrap: wrap;

}



.ra-results-main-badge {

    background: rgba(0, 242, 254, 0.18);

    border: 1.5px solid rgba(0, 242, 254, 0.5);

    color: #00f2fe;

    font-size: 0.76rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

    letter-spacing: 0.05em;

    box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);

}



.ra-results-sub-badge {

    background: rgba(16, 185, 129, 0.18);

    border: 1.5px solid rgba(16, 185, 129, 0.5);

    color: #34d399;

    font-size: 0.76rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);

}



.ra-results-sub-badge.is-retry {

    background: rgba(245, 158, 11, 0.18);

    border-color: rgba(245, 158, 11, 0.5);

    color: #fbbf24;

    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);

}



.ra-results-quality-badge {

    background: rgba(245, 158, 11, 0.18);

    border: 1.5px solid rgba(245, 158, 11, 0.45);

    color: #fbbf24;

    font-size: 0.76rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

}



.ra-results-title {

    font-size: 1.75rem;

    font-weight: 900;

    color: #ffffff;

    margin: 0 0 2px 0;

    line-height: 1.15;

    letter-spacing: -0.02em;

}



.ra-results-sub {

    font-size: 0.88rem;

    color: #94a3b8;

    font-weight: 600;

}



/* Evidence Grid */

.ra-learning-player .ra-evidence-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

}



.ra-learning-player .ra-award-pill-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.ra-learning-player .ra-evidence-card, .ra-learning-player .ra-gate-result-box, .ra-learning-player .ra-remediation-box, .ra-learning-player .ra-reward-section {

    padding: 10px 14px;

    border-radius: 14px;

    border: 1.5px solid rgba(0, 242, 254, 0.35);

    background: rgba(8, 20, 48, 0.7);

}



.ra-learning-player .ra-evidence-card {

    display: flex;

    flex-direction: column;

    gap: 2px;

    background: rgba(12, 26, 60, 0.8);

    border: 1px solid rgba(56, 189, 248, 0.3);

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);

}



.ra-learning-player .ra-evidence-card strong {

    font-size: 1.25rem;

    font-weight: 900;

    color: #ffffff;

    font-family: ui-monospace, SFMono-Regular, monospace;

}



.ra-learning-player .ra-evidence-card span {

    font-size: 0.72rem;

    color: #94a3b8;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;

}



.ra-learning-player .ra-award-pill, .ra-learning-player .ra-gate-status-pill {

    display: inline-block;

    padding: 3px 10px;

    border-radius: 999px;

    font-size: 0.78rem;

    font-weight: 800;

    background: rgba(0, 242, 254, 0.15);

    border: 1px solid rgba(0, 242, 254, 0.4);

    color: #00f2fe;

}



.ra-gate-status-pill.is-passed {

    background: rgba(16, 185, 129, 0.15);

    border-color: rgba(16, 185, 129, 0.4);

    color: #34d399;

}



.ra-gate-status-pill.is-retry {

    background: rgba(245, 158, 11, 0.15);

    border-color: rgba(245, 158, 11, 0.4);

    color: #fbbf24;

}



.ra-learning-player .ra-level-up-banner {

    padding: 10px 14px;

    border-radius: 12px;

    border: 1.5px solid rgba(0, 242, 254, 0.5);

    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);

    box-shadow: 0 0 16px rgba(0, 242, 254, 0.18);

    margin: 6px 0;

}



.ra-gate-result-box.is-passed-box {

    border-color: rgba(0, 242, 254, 0.4);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 242, 254, 0.05);

}



.ra-gate-result-box.is-retry-box {

    border-color: rgba(245, 158, 11, 0.45);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(245, 158, 11, 0.05);

}



.ra-learning-player .ra-remediation-box {

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 10px 14px;

    margin-top: 8px;

    background: rgba(245, 158, 11, 0.08);

    border-radius: 12px;

}



/* 5 Öncü Güç (Energy Rails Box) */

.ra-energy-rails-box {

    background: rgba(8, 20, 50, 0.75);

    border: 1.5px solid rgba(0, 242, 254, 0.3);

    border-radius: 16px;

    padding: 10px 14px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 25px rgba(0, 242, 254, 0.05);

}



.ra-rails-box-title {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.82rem;

    font-weight: 800;

    color: #ffffff;

    letter-spacing: 0.06em;

    text-transform: uppercase;

}



.ra-rails-box-sub {

    font-size: 0.72rem;

    color: #38bdf8;

    background: rgba(56, 189, 248, 0.12);

    border: 1px solid rgba(56, 189, 248, 0.3);

    padding: 2px 8px;

    border-radius: 999px;

    font-weight: 700;

}



.ra-rails-box-list {

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.ra-rail-item {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.ra-rail-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.8rem;

    font-weight: 700;

}



.ra-rail-name {

    display: flex;

    align-items: center;

    gap: 6px;

    color: #e2e8f0;

}



.ra-rail-icon {

    font-size: 0.85rem;

}



.ra-rail-val {

    font-family: ui-monospace, SFMono-Regular, monospace;

    font-size: 0.82rem;

    display: flex;

    align-items: center;

    gap: 4px;

}



.ra-rail-old {

    color: #94a3b8;

}



.ra-rail-arr {

    color: #38bdf8;

    font-size: 0.75rem;

}



.ra-rail-new {

    color: #00f2fe;

    font-weight: 900;

}



.ra-rail-delta {

    background: rgba(0, 242, 254, 0.22);

    color: #00f2fe;

    border: 1px solid rgba(0, 242, 254, 0.5);

    font-size: 0.68rem;

    font-weight: 800;

    padding: 1px 5px;

    border-radius: 4px;

    margin-left: 2px;

}



.ra-rail-max {

    font-size: 0.7rem;

    color: #64748b;

}



.ra-rail-track {

    height: 8px;

    background: rgba(10, 18, 38, 0.95);

    border-radius: 999px;

    border: 1px solid rgba(56, 189, 248, 0.25);

    overflow: hidden;

    position: relative;

    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);

}



.ra-rail-fill {

    height: 100%;

    border-radius: 999px;

    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    position: relative;

    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);

}



.ra-rail-glow {

    position: absolute;

    top: 0;

    right: 0;

    width: 6px;

    height: 100%;

    background: #ffffff;

    opacity: 0.8;

    border-radius: 50%;

    filter: blur(2px);

}



/* Action Buttons & Next Row */

.ra-learning-player .ra-next-action-row {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    align-items: center;

    margin-top: 6px;

    border-top: 1px solid rgba(0, 242, 254, 0.25);

    padding-top: 12px;

}



.ra-cta-btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);

    color: #030a16 !important;

    font-size: 0.98rem;

    font-weight: 900;

    letter-spacing: 0.04em;

    padding: 12px 24px;

    min-height: 48px;

    border-radius: 12px;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.45);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    border: none;

    cursor: pointer;

    flex: 1 1 auto;

    min-width: 250px;

}



.ra-cta-btn-primary:hover {

    transform: translateY(-2px) scale(1.02);

    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.7);

    color: #01040a !important;

}



.ra-cta-btn-primary.ra-cta-btn-amber {

    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;

    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45) !important;

    color: #0c1220 !important;

}



.ra-cta-btn-primary.ra-cta-btn-amber:hover {

    transform: translateY(-2px) scale(1.02);

    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.7) !important;

}



.ra-cta-btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: rgba(14, 26, 56, 0.85);

    color: #f8fafc !important;

    border: 1.5px solid rgba(56, 189, 248, 0.35);

    padding: 11px 20px;

    min-height: 48px;

    border-radius: 12px;

    font-weight: 700;

    font-size: 0.92rem;

    text-decoration: none;

    transition: all 0.2s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    flex: 0 0 auto;

}



.ra-cta-btn-secondary:hover {

    background: rgba(24, 42, 84, 0.95);

    border-color: rgba(0, 242, 254, 0.6);

    color: #ffffff !important;

    transform: translateY(-1px);

}



.ra-cta-btn-tertiary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: transparent;

    color: #94a3b8 !important;

    border: 1px solid rgba(255, 255, 255, 0.2);

    padding: 11px 18px;

    min-height: 48px;

    border-radius: 12px;

    font-weight: 600;

    font-size: 0.9rem;

    text-decoration: none;

    transition: all 0.2s ease;

    cursor: pointer;

    flex: 0 0 auto;

}



.ra-cta-btn-tertiary:hover {

    background: rgba(255, 255, 255, 0.06);

    color: #e2e8f0 !important;

    border-color: rgba(255, 255, 255, 0.3);

}



.ra-learning-player .ra-completion-stars { font-size: 2rem; letter-spacing: .2em; }

.ra-learning-player .ra-star-bounce { display: inline-block; animation: ra-bounce 1s ease-in-out infinite alternate; }

@keyframes ra-bounce { to { transform: translateY(-6px); } }



/* ---------- RESPONSIVE ---------- */

@media (max-width: 1440px) {

    .ra-learning-player .ra-learning-body { grid-template-columns: clamp(200px, 18vw, 250px) minmax(0, 1fr) clamp(230px, 20vw, 290px); gap: 12px; padding: 12px; }

    .ra-learning-player .ra-center-workspace { padding: 16px 18px 12px; }

}

@media (max-width: 1366px) {

    .ra-learning-player .ra-flow-step-row-item { min-height: 36px; font-size: .8rem; }

    .ra-learning-player .ra-hero-portrait-frame { max-height: 34vh; }

}

@media (max-width: 1280px) {

    .ra-learning-player .ra-learning-body { grid-template-columns: 176px minmax(0, 1fr) 320px; gap: 10px; padding: 10px; }

}

@media (max-width: 1200px) {

    .ra-learning-player .ra-topbar { grid-template-columns: auto minmax(0, 1fr) auto; }

    .ra-learning-player .ra-topbar-brand-name { font-size: .85rem; }

    .ra-learning-player .ra-topbar-btn .ra-btn-text { display: none; }

}

/* Tablet: merkez önce; adımlar üst şerit, karakter dar sağ panel */

@media (max-width: 1100px) {

    .ra-learning-player .ra-topbar-student-pill { display: none; }

    .ra-learning-player .ra-learning-body { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr); }

    .ra-learning-player .ra-left-flow-panel { grid-column: 1 / -1; }

    .ra-learning-player .ra-flow-card { height: auto; }

    .ra-learning-player .ra-flow-stepper { max-height: 16vh; }

}

/* Mobil: görev önce, adımlar ve karakter katlanır */

@media (max-width: 900px) {

    .ra-learning-player .ra-topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 6px 12px; clip-path: none; }

    .ra-learning-player .ra-topbar-center { grid-column: 1 / -1; grid-row: 2; }

    .ra-learning-player .ra-topbar-brand-name small { display: none; }

    .ra-learning-player .ra-btn-mobile-hero { display: inline-flex; }

    .ra-learning-player .ra-learning-body { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; overflow-x: hidden; overflow-y: auto; align-content: start; gap: 10px; padding: 8px 8px 32px; -webkit-overflow-scrolling: touch; }

    .ra-learning-player .ra-center-workspace { order: 1; overflow: visible; height: auto; min-height: auto; }

    .ra-learning-player .ra-interaction-canvas { min-height: auto; height: auto; flex: 0 0 auto; }

    .ra-learning-player .ra-left-flow-panel { order: 2; grid-column: auto; }

    .ra-learning-player .ra-flow-stepper { max-height: 40vh; }

    .ra-learning-player .ra-hero-sidebar { display: none; order: 3; }



    .ra-learning-player .ra-hero-sidebar.is-mobile-open { display: block; position: fixed; inset: 0; z-index: 40; padding: 12px; overflow-y: auto; background: rgba(2,6,20,.92); }

    .ra-learning-player .ra-hero-mobile-close { display: inline-flex; align-items: center; justify-content: center; }

    .ra-learning-player .ra-command-deck { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; clip-path: none; }

    .ra-learning-player #ra-deck-nodes,

    .ra-learning-player .ra-deck-progress > .ra-deck-nodes,

    .ra-learning-player .ra-deck-nodes,

    .ra-learning-player #ra-deck-next-hint {

        display: none !important;

    }

    .ra-learning-player .ra-match-grid { grid-template-columns: 1fr; }

}

@media (max-width: 640px) {

    .ra-learning-player .ra-select-grid, .ra-learning-player .ra-compare-deck, .ra-learning-player .ra-decision-deck, .ra-learning-player .ra-choice-deck { grid-template-columns: 1fr; }

    .ra-learning-player .ra-deck-previous, .ra-learning-player .ra-btn-next-step { padding: 0 12px; font-size: .85rem; }

    .ra-learning-player .ra-audio-stimulus-card { flex-direction: column; align-items: stretch; }

    .ra-learning-player .ra-btn-play-stimulus { justify-content: center; }

}

@media (max-width: 480px) {

    .ra-learning-player .ra-q-instruction-text { font-size: 1.05rem; }

    .ra-learning-player .ra-center-workspace { padding: 12px 12px 10px; }

    .ra-learning-player .ra-topbar-brand-name { font-size: .75rem; }

    .ra-learning-player .ra-deck-progress > div span { display: none; }

}

@media (max-width: 360px) {

    .ra-learning-player .ra-topbar-btn { min-width: 40px; padding: 0 8px; }

    .ra-learning-player .ra-deck-previous, .ra-learning-player .ra-btn-next-step { padding: 0 8px; font-size: .78rem; }

    .ra-learning-player .ra-learning-body { padding: 6px; }

}

@media (max-height: 640px) and (min-width: 901px) {

    .ra-learning-player .ra-topbar { min-height: 52px; padding: 4px 16px; }

    .ra-learning-player .ra-command-deck { min-height: 54px; padding: 6px 16px; }

    .ra-learning-player .ra-hero-portrait-frame { max-height: 28vh; }

}



@media (prefers-reduced-motion: reduce) {

    .ra-learning-player *, .ra-learning-player *::before, .ra-learning-player *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

}



/* ---------- Sözleşme belirteçleri (test ve erişilebilirlik standardı) ---------- */

.ra-learning-player {

    --ra-font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --ra-space-xs: 4px;

    --ra-space-md: 12px;

    --ra-space-lg: 20px;

    --ra-space-xl: 32px;

    --ra-touch-target-min: 48px;

    --ra-touch-target-lg: 56px;

    --ra-motion-fast: .15s;

    --ra-motion-normal: .3s;

    --ra-focus-ring: 0 0 0 3px #fb923c;

    --feedback-success: #10b981;

    --feedback-retry: #fb923c;

    --feedback-hint: #38bdf8;

    --feedback-remediation: #3b82f6;

}

/* Dokunma hedefleri */

.ra-learning-player .ra-select-card, .ra-learning-player .ra-btn-play-stimulus, .ra-learning-player .ra-deck-previous,

.ra-learning-player .ra-btn-next-step, .ra-learning-player .ra-btn-retry-step, .ra-learning-player .ra-q-speak-btn,

.ra-learning-player .ra-btn-command, .ra-learning-player .ra-drag-item, .ra-learning-player .ra-match-node,

.ra-learning-player .ra-order-item, .ra-learning-player .ra-build-part, .ra-learning-player .ra-debug-chip {

    min-height: var(--ra-touch-target-min);

}

.ra-learning-player :focus-visible { box-shadow: var(--ra-focus-ring); }



/* Tema birincil renkleri (4 aşama profili) */

.ra-grade-1 .ra-learning-player, [data-profile="formation"] { --theme-primary: var(--ra-color-sea-blue, #0e7490); }

.ra-grade-2 .ra-learning-player, [data-profile="smart"] { --theme-primary: #059669; }

.ra-grade-3 .ra-learning-player, [data-profile="power"] { --theme-primary: #7C3AED; }

.ra-grade-4 .ra-learning-player, [data-profile="mastery"] { --theme-primary: #1E293B; }



/* Geri bildirim durum rozetleri */

.ra-learning-player .ra-status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; background: rgba(0,0,0,.08); }

.ra-learning-player .ra-status-badge.is-success { background: #d1fae5; color: #065f46; }

.ra-learning-player .ra-status-badge.is-retry { background: #ffedd5; color: #9a3412; }

.ra-learning-player .ra-status-badge.is-remediation { background: #dbeafe; color: #1e3a8a; }



/* Sunucu/anlatıcı durumu (davranış JS'te; görsel yalnız durum işareti) */

.ra-learning-player [data-state="idle"],

.ra-learning-player [data-state="thinking"],

.ra-learning-player [data-state="happy"],

.ra-learning-player [data-state="encouraging"],

.ra-learning-player [data-state="warning"],

.ra-learning-player [data-state="celebration"] { transition: opacity var(--ra-motion-normal) ease; }



.ra-learning-player .ra-btn-command { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 80px; font-size: 1.2rem; font-weight: 900; letter-spacing: .06em; }

.ra-learning-player .ra-btn-command svg { flex: 0 0 auto; max-height: 44px; width: auto; }



/* =====================================================================

   PHASE 2 & 3 — GAME UI POLISH (Consolidated: zero duplicate overrides)

   ===================================================================== */



/* ---- Header: 4 modül (Brand | Mission | Karakter HUD | Sistem) ---- */

@media (min-width: 901px) and (max-width: 1200px) {

    .ra-learning-player .ra-topbar { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 0; }

}

@media (max-width: 1280px) { .ra-learning-player .ra-topbar-student-pill { display: none; } }

@media (max-width: 900px) {

    .ra-learning-player .ra-topbar-hud { display: none; }

    .ra-learning-player .ra-topbar > * { padding: 0; border-left: 0; box-shadow: none; }

}

.ra-learning-player .ra-topbar { position: relative; }

.ra-learning-player .ra-topbar > * { position: relative; padding: 0 12px; }

.ra-learning-player .ra-topbar > * + * { border-left: 1px solid rgba(34,211,238,.22); box-shadow: -1px 0 0 rgba(0,0,0,.4); }

.ra-learning-player .ra-topbar > :first-child { padding-left: 0; }

.ra-learning-player .ra-topbar > :last-child { padding-right: 0; }

.ra-learning-player .ra-topbar::before {

    content: ""; position: absolute; left: 24px; right: 24px; bottom: 2px; height: 1px; pointer-events: none;

    background: linear-gradient(90deg, transparent, rgba(34,211,238,.6) 20%, rgba(251,146,60,.7) 50%, rgba(34,211,238,.6) 80%, transparent);

}

.ra-learning-player .ra-topbar-logo-slot { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }

.ra-learning-player .ra-topbar-brand-name { font-size: .88rem; }

.ra-learning-player .ra-topbar-brand-name small { font-size: .6rem; }

.ra-learning-player .ra-topbar-center { gap: 1px; }

.ra-learning-player .ra-topbar-lesson-info { gap: 0; }

.ra-learning-player .ra-topbar-lesson-title { font-size: clamp(.95rem, 1.25vw, 1.15rem); line-height: 1.15; }

.ra-learning-player .ra-topbar-grade-badge { font-size: .64rem; letter-spacing: .08em; line-height: 1.2; }

.ra-learning-player .ra-topbar-progress-box { gap: 2px; width: min(340px, 100%); }

.ra-learning-player .ra-topbar-progress-meta { font-size: .68rem; line-height: 1.1; }

.ra-learning-player .ra-topbar-progress-rail { height: 4px; }



.ra-learning-player .ra-topbar-hud { display: grid; gap: 3px; align-content: center; min-width: 0; }

.ra-learning-player .ra-hud-name {

    font-size: .6rem; line-height: 1; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; color: var(--ra-orange); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

}

.ra-learning-player .ra-hud-name::before { content: "◆ "; color: var(--ra-accent); }

.ra-learning-player .ra-hud-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }

.ra-learning-player .ra-hud-chip {

    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l n" "r r"; gap: 1px 4px; min-width: 0; padding: 2px 6px 3px;

    background: linear-gradient(180deg, rgba(34,211,238,.1), rgba(34,211,238,.02)); border: 1px solid rgba(34,211,238,.28); border-radius: 6px;

    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);

}

.ra-learning-player .ra-hud-chip b { grid-area: l; font-size: .6rem; font-weight: 900; letter-spacing: .1em; color: #a5e6f5; }

.ra-learning-player .ra-hud-chip em { grid-area: n; font-style: normal; font-size: .76rem; font-weight: 900; color: #fff; text-shadow: 0 0 8px rgba(34,211,238,.7); }

.ra-learning-player .ra-hud-chip i { grid-area: r; display: block; height: 4px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }

.ra-learning-player .ra-hud-chip u { display: block; height: 100%; text-decoration: none; border-radius: 3px; background: linear-gradient(90deg, var(--ra-accent-2), var(--ra-accent) 75%, #bdf4ff); box-shadow: 0 0 6px var(--ra-accent); }

.ra-learning-player .ra-topbar-right { gap: 8px; }

.ra-learning-player .ra-topbar-btn { min-height: 34px; min-width: 34px; padding: 0 10px; font-size: .76rem; }

.ra-learning-player .ra-topbar-student-pill { padding: 4px 10px; font-size: .72rem; }



@media (min-width: 1201px) {

    .ra-learning-player .ra-topbar { grid-template-columns: auto minmax(0, 1.45fr) minmax(0, 1.35fr) auto; gap: 0; min-height: 88px; max-height: 96px; padding: 8px 20px; }

    .ra-learning-player .ra-topbar-hud { gap: 6px; }

    .ra-learning-player .ra-hud-chips { gap: 8px; }

    .ra-learning-player .ra-hud-chip { padding: 4px 8px 5px; gap: 2px 6px; }

    .ra-learning-player .ra-hud-chip b { font-size: .64rem; letter-spacing: .02em; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

    .ra-learning-player .ra-hud-chip em { font-size: .86rem; }

    .ra-learning-player .ra-hud-chip i { height: 5px; }

    .ra-learning-player .ra-topbar-lesson-title { font-size: clamp(1rem, 1.3vw, 1.2rem); }

}



/* ---- Ortak GAME CONSOLE FRAME: köşe braketleri, bağlantı çizgileri ---- */

.ra-learning-player::before {

    content: ""; position: absolute; inset: 4px; z-index: 5; pointer-events: none;

    --b: rgba(34,211,238,.8);

    background:

        linear-gradient(var(--b), var(--b)) top left / 22px 2px no-repeat,

        linear-gradient(var(--b), var(--b)) top left / 2px 22px no-repeat,

        linear-gradient(var(--b), var(--b)) top right / 22px 2px no-repeat,

        linear-gradient(var(--b), var(--b)) top right / 2px 22px no-repeat,

        linear-gradient(var(--b), var(--b)) bottom left / 22px 2px no-repeat,

        linear-gradient(var(--b), var(--b)) bottom left / 2px 22px no-repeat,

        linear-gradient(var(--b), var(--b)) bottom right / 22px 2px no-repeat,

        linear-gradient(var(--b), var(--b)) bottom right / 2px 22px no-repeat;

}

.ra-learning-player .ra-learning-body {

    position: relative; background:

        linear-gradient(90deg, transparent, rgba(34,211,238,.12) 15%, rgba(34,211,238,.12) 85%, transparent) top / 100% 1px no-repeat,

        linear-gradient(90deg, transparent, rgba(34,211,238,.12) 15%, rgba(34,211,238,.12) 85%, transparent) bottom / 100% 1px no-repeat;

}

.ra-learning-player .ra-learning-body::before, .ra-learning-player .ra-learning-body::after {

    content: ""; position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none; z-index: 0;

    background: linear-gradient(180deg, rgba(34,211,238,.5), rgba(34,211,238,.08) 30%, rgba(34,211,238,.08) 70%, rgba(34,211,238,.5));

}

.ra-learning-player .ra-learning-body::before { left: 6px; }

.ra-learning-player .ra-learning-body::after { right: 6px; }

@media (max-width: 1100px) {

    .ra-learning-player .ra-learning-body::before, .ra-learning-player .ra-learning-body::after { display: none; }

}

.ra-learning-player .ra-left-flow-panel, .ra-learning-player .ra-hero-sidebar { position: relative; }

@media (min-width: 1101px) {

    .ra-learning-player .ra-left-flow-panel::after, .ra-learning-player .ra-hero-sidebar::before {

        content: ""; position: absolute; top: 50%; width: 14px; height: 2px; z-index: 2; pointer-events: none;

        background: linear-gradient(90deg, var(--ra-accent), rgba(251,146,60,.9)); box-shadow: 0 0 8px var(--ra-accent);

    }

    .ra-learning-player .ra-left-flow-panel::after { right: -14px; }

    .ra-learning-player .ra-hero-sidebar::before { left: -14px; }

}

.ra-learning-player .ra-flow-card, .ra-learning-player .ra-hero-character-card {

    border-top: 2px solid rgba(34,211,238,.6);

    background:

        linear-gradient(180deg, rgba(34,211,238,.05), transparent 90px),

        linear-gradient(180deg, rgba(16,28,68,.92), rgba(7,13,36,.94));

}

.ra-learning-player .ra-flow-card::before, .ra-learning-player .ra-hero-character-card::before {

    content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; pointer-events: none;

    border-top: 2px solid var(--ra-orange); border-left: 2px solid var(--ra-orange);

}



/* ---- Oranlar (masaüstü): sol ~%14.5, orta ~%67.5, sağ ~%18 ---- */

@media (min-width: 1281px) {

    .ra-learning-player .ra-learning-body { grid-template-columns: minmax(184px, 14.5fr) minmax(0, 67.5fr) minmax(236px, 18fr); gap: 12px; padding: 10px 16px; }

}



/* ---- Sol: kompakt görev akışı ---- */

.ra-learning-player .ra-flow-stepper { padding: 6px; }

.ra-learning-player .ra-step-path { gap: 3px; }

.ra-learning-player .ra-flow-step-row-item { min-height: 27px; padding: 2px 8px 2px 4px; font-size: .74rem; grid-template-columns: 21px minmax(0, 1fr) 16px; gap: 6px; }

.ra-learning-player .ra-step-num-pill { width: 20px; height: 20px; font-size: .64rem; }

.ra-learning-player .ra-step-state { font-size: .7rem; }

.ra-learning-player .ra-flow-step-row-item.is-active { min-height: 42px; padding: 6px 10px 6px 6px; font-size: .88rem; grid-template-columns: 30px minmax(0, 1fr) 18px; margin: 3px -2px; box-shadow: 0 0 18px rgba(34,211,238,.6), inset 0 0 14px rgba(34,211,238,.25); }

.ra-learning-player .ra-flow-step-row-item.is-active .ra-step-num-pill { width: 28px; height: 28px; font-size: .82rem; }

.ra-learning-player .ra-flow-header { padding: 9px 12px; font-size: .74rem; letter-spacing: .08em; white-space: nowrap; gap: 8px; }

.ra-learning-player #ra-flow-count { white-space: nowrap; font-size: .72rem; }

.ra-learning-player .ra-hero-stats-header { gap: 8px; white-space: nowrap; letter-spacing: .08em; }



/* ---- Orta: görev çalışma alanı ---- */

.ra-learning-player .ra-center-workspace {

    align-content: start; justify-content: flex-start;

    background:

        linear-gradient(135deg, transparent 0 48%, rgba(59,130,246,.05) 48% 48.4%, transparent 48.4%) 0 0 / 120px 120px,

        linear-gradient(180deg, rgba(255,255,255,.55), transparent 160px),

        linear-gradient(180deg, #f6faff 0%, var(--ra-stage-bg) 55%, #dde9fb 100%);

    box-shadow: 0 0 0 3px rgba(10,19,48,.9), 0 0 0 4px var(--ra-edge), 0 0 22px rgba(34,211,238,.28), inset 0 0 36px rgba(59,130,246,.1), inset 0 2px 0 #fff;

}

.ra-learning-player .ra-center-workspace::after {

    content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 10px; pointer-events: none;

    background:

        repeating-linear-gradient(90deg, rgba(37,99,235,.22) 0 1px, transparent 1px 12px) bottom / 100% 5px no-repeat,

        linear-gradient(90deg, transparent, rgba(37,99,235,.2), transparent) bottom / 100% 1px no-repeat;

}

.ra-learning-player .ra-interaction-canvas {

    position: relative; padding: 16px; border-radius: 16px; border: 1px solid rgba(59,130,246,.18);

    min-height: auto; width: 100%; box-sizing: border-box;

    background:

        linear-gradient(rgba(59,130,246,.06) 1px, transparent 1px) 0 0 / 32px 32px,

        linear-gradient(90deg, rgba(59,130,246,.06) 1px, transparent 1px) 0 0 / 32px 32px,

        radial-gradient(circle at 50% 50%, transparent 0 120px, rgba(59,130,246,.045) 121px 122px, transparent 123px),

        radial-gradient(ellipse at 50% 100%, rgba(34,211,238,.12), transparent 65%),

        rgba(226,236,252,.4);

    box-shadow: inset 0 0 28px rgba(59,130,246,.10), inset 0 1px 0 rgba(255,255,255,.8);

}

.ra-learning-player .ra-interaction-canvas::before, .ra-learning-player .ra-interaction-canvas::after {

    content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; border: 2px solid rgba(37,99,235,.45);

}

.ra-learning-player .ra-interaction-canvas::before { top: 5px; left: 5px; border-right: 0; border-bottom: 0; }

.ra-learning-player .ra-interaction-canvas::after { bottom: 5px; right: 5px; border-left: 0; border-top: 0; }



/* ---- Komut butonu: yalnız tipografi + geometrik gösterge ---- */

.ra-learning-player .ra-btn-command {

    width: min(100%, 520px); margin-inline: auto; min-height: 92px; gap: 18px; font-size: 1.6rem; letter-spacing: .16em;

    background: linear-gradient(180deg, #3b82f6, #1d4ed8 60%, #1e3a8a); border: 2px solid #93c5fd;

    box-shadow: 0 0 22px rgba(59,130,246,.55), inset 0 2px 0 rgba(255,255,255,.35), inset 0 -8px 16px rgba(0,0,0,.25);

    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);

}

.ra-learning-player .ra-command-indicator {

    flex: 0 0 auto; width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fb923c;

    filter: drop-shadow(0 0 8px rgba(251,146,60,.9));

}

.ra-learning-player .ra-btn-command:hover { box-shadow: 0 0 30px rgba(96,165,250,.8), inset 0 2px 0 rgba(255,255,255,.4); }



/* ---- Sağ: gerçek 9:16 karakter portresi ---- */

.ra-learning-player .ra-hero-character-card { padding: 12px; gap: 8px; }

.ra-learning-player .ra-hero-portrait-wrapper { display: grid; justify-items: center; }

.ra-learning-player .ra-hero-portrait-frame {

    aspect-ratio: 9 / 16; max-height: none; max-width: none; height: auto;

    width: min(100%, calc((100dvh - 330px) * 0.5625)); min-width: 150px; margin-inline: auto;

    background:

        repeating-linear-gradient(0deg, rgba(34,211,238,.05) 0 1px, transparent 1px 7px),

        radial-gradient(ellipse at 50% 30%, rgba(34,211,238,.22), transparent 62%),

        linear-gradient(180deg, #0c1a47, #050b22);

    border: 1px solid var(--ra-edge);

}

.ra-learning-player .ra-hero-portrait-frame::before {

    content: ""; position: absolute; left: 50%; bottom: 14px; width: 62%; height: 14px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;

    border: 1px solid rgba(34,211,238,.55); box-shadow: 0 0 14px rgba(34,211,238,.45), inset 0 0 8px rgba(34,211,238,.3);

}

.ra-learning-player .ra-hero-portrait-img { object-fit: contain; object-position: center; }

.ra-learning-player .ra-hero-meta-row { gap: 2px; }

.ra-learning-player .ra-portrait-empty { font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(143,166,201,.55); padding: 8px 20px; }



/* ---- 5 ÖNCÜ GÜÇ: daha kalın enerji sistemi ---- */

.ra-learning-player #ra-hero-featured-stats .ra-power-rail {

    height: 22px; border-radius: 4px; border-color: rgba(34,211,238,.6); background: rgba(3,8,24,.85);

    box-shadow: inset 0 3px 6px rgba(0,0,0,.7), 0 0 8px rgba(34,211,238,.15);

}

.ra-learning-player #ra-hero-featured-stats .ra-power-rail > span {

    position: relative; border-radius: 3px;

    background: linear-gradient(180deg, #a5f3fc 0%, var(--ra-accent) 35%, var(--ra-accent-2) 100%);

    box-shadow: 0 0 20px var(--ra-accent), 0 0 6px #fff inset, inset 0 1px 0 rgba(255,255,255,.7);

}

.ra-learning-player #ra-hero-featured-stats .ra-power-rail > span::after {

    content: ""; position: absolute; inset: 0; border-radius: inherit;

    background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(3,8,24,.45) 9px 10px);

}

.ra-learning-player #ra-hero-featured-stats .ra-power-row { font-size: .84rem; gap: 4px 8px; color: #e6f4ff; }

.ra-learning-player #ra-hero-featured-stats .ra-power-row > strong { font-size: 1.2rem; }

.ra-learning-player .ra-hero-featured-stats-list { gap: 8px; }



/* ---- Alt güverte: konsola bağlı, alçak ---- */

.ra-learning-player .ra-command-deck::before {

    content: ""; position: absolute; left: 24px; right: 24px; top: 3px; height: 1px; pointer-events: none;

    background: linear-gradient(90deg, transparent, rgba(34,211,238,.6) 20%, rgba(251,146,60,.7) 50%, rgba(34,211,238,.6) 80%, transparent);

}

.ra-learning-player .ra-command-deck { position: relative; min-height: 58px; padding: 6px 20px; border-top-color: var(--ra-edge); }

.ra-learning-player .ra-command-deck > * { position: relative; }

.ra-learning-player .ra-deck-previous, .ra-learning-player .ra-btn-next-step { min-height: 42px; }

.ra-learning-player .ra-command-deck > * + * { border-left: 1px solid rgba(34,211,238,.22); padding-left: 16px; }

.ra-learning-player .ra-deck-progress > div { font-size: .7rem; }





/* =========================================================================

   GRAVITY SP-03B: ADAPTIVE LAYOUT CONTRACT (5 SIZING PROFILES)

   COMPACT | FOCAL | MULTI_OBJECT | WORKSPACE | RESULT

   ========================================================================= */



/* 1. COMPACT: Az içerik ve seçimlerde doğal panel boyutu (fit-content / intrinsic) */

.ra-learning-player .ra-interaction-canvas[data-layout-profile="compact"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="LOGIC_ONLY_WORKSPACE"],

.ra-learning-player .ra-interaction-canvas:has(.ra-verify-deck, .ra-privacy-card--shield, .ra-safety-card--electric) {

    min-height: auto;

    height: auto;

    flex: 0 1 auto;

    align-self: center;

    width: 100%;

    max-width: 640px;

    margin: 8px auto;

    padding: clamp(14px, 2.5vw, 22px);

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 14px;

}



/* 2. FOCAL: Büyük öğrenme nesnesi, kullanılabilir alana göre maksimum okunabilir ölçek */

.ra-learning-player .ra-interaction-canvas[data-layout-profile="focal"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="SINGLE_FOCAL"]:not([data-layout-profile="result"]) {

    min-height: auto;

    height: auto;

    flex: 0 1 auto;

    align-self: center;

    width: 100%;

    max-width: 720px;

    margin: 8px auto;

    padding: clamp(14px, 2vw, 22px);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.ra-learning-player .ra-interaction-canvas[data-layout-profile="focal"] svg,

.ra-learning-player .ra-interaction-canvas[data-layout-profile="focal"] img,

.ra-learning-player .ra-interaction-canvas[data-composition-family="SINGLE_FOCAL"] svg,

.ra-learning-player .ra-interaction-canvas[data-composition-family="SINGLE_FOCAL"] img {

    max-width: 100%;

    height: auto;

    aspect-ratio: auto;

    object-fit: contain;

}



/* 3. MULTI_OBJECT: Karşılaştırma ve eşleştirme için esnek grid */

.ra-learning-player .ra-interaction-canvas[data-layout-profile="multi_object"],

.ra-learning-player .ra-interaction-canvas:has(.ra-match-grid, .ra-classify-stage) {

    min-height: auto;

    height: auto;

    flex: 0 1 auto;

    align-self: center;

    width: 100%;

    max-width: 760px;

    margin: 8px auto;

    padding: clamp(14px, 2vw, 20px);

    display: flex;

    flex-direction: column;

    justify-content: center;

}



/* 4. WORKSPACE: Sürükleme, çizim, montaj ve navigasyonda gerekli gerçek çalışma alanı */

.ra-learning-player .ra-interaction-canvas[data-layout-profile="workspace"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="WORKBENCH_ASSEMBLY"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="SOURCE_TARGET_SLOT"]:not([data-layout-profile="multi_object"]),

.ra-learning-player .ra-interaction-canvas[data-composition-family="SPATIAL_2D_ROTA"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="CANVAS_DRAWING"],

.ra-learning-player .ra-interaction-canvas[data-composition-family="LINEAR_STEP_SEQUENCE"],

.ra-learning-player .ra-interaction-canvas:has(.ra-tablet-lockscreen-stage, .ra-drag-board, .ra-connect-board, .ra-build-board) {

    min-height: auto;

    height: auto;

    flex: 0 1 auto;

    align-self: center;

    width: 100%;

    max-width: 820px;

    margin: 8px auto;

    padding: clamp(14px, 2vw, 22px);

    overflow-x: hidden;

    overflow-y: auto;

}



/* 5. RESULT: Ders sonu ve ödül ekranında geniş, dengeli ve okunabilir yerleşim */

.ra-learning-player .ra-interaction-canvas[data-layout-profile="result"],

.ra-learning-player .ra-interaction-canvas:has(.ra-awakening-chamber-stage) {

    min-height: auto;

    height: auto;

    flex: 0 1 auto;

    align-self: center;

    width: 100%;

    max-width: min(100%, 980px);

    margin: 8px auto;

    padding: clamp(16px, 2.5vw, 24px);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}



/* =========================================================================

   15. NOTEPAD (Not Defteri Editör & Dosya Kayıt Simülasyonu)

   ========================================================================= */

.ra-notepad-container {

    width: 100%;

    max-width: 680px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.ra-notepad-window {

    background: #0f172a;

    border: 2px solid rgba(56, 189, 248, 0.4);

    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);

    overflow: hidden;

    display: flex;

    flex-direction: column;

}



.ra-notepad-titlebar {

    background: linear-gradient(90deg, #1e293b, #0f172a);

    padding: 8px 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid rgba(56, 189, 248, 0.2);

    user-select: none;

}



.ra-notepad-title {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 0.88rem;

    font-weight: 600;

    color: #e2e8f0;

}



.ra-notepad-app-icon { font-size: 1rem; }

.ra-notepad-filename { color: #38bdf8; }

.ra-notepad-dirty-mark { color: #f59e0b; font-weight: bold; }

.ra-notepad-app-name { color: #94a3b8; font-weight: normal; font-size: 0.8rem; }



.ra-notepad-win-controls {

    display: flex;

    gap: 8px;

}



.ra-win-btn {

    width: 22px;

    height: 22px;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.08);

    color: #94a3b8;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 0.75rem;

    font-weight: bold;

    cursor: default;

}

.ra-win-btn.win-close:hover { background: #ef4444; color: #fff; }



.ra-notepad-menubar {

    background: #1e293b;

    padding: 4px 10px;

    display: flex;

    gap: 6px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

}



.ra-notepad-menu-item {

    background: transparent;

    border: none;

    color: #cbd5e1;

    font-size: 0.78rem;

    padding: 4px 8px;

    border-radius: 4px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    transition: background 0.2s;

}



.ra-notepad-menu-item:hover, .ra-notepad-menu-item.is-active {

    background: rgba(56, 189, 248, 0.15);

    color: #38bdf8;

}



.ra-notepad-chips-bar {

    background: #090d16;

    padding: 6px 12px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 6px;

    border-bottom: 1px dashed rgba(56, 189, 248, 0.25);

}



.ra-notepad-chips-label {

    font-size: 0.72rem;

    font-weight: 600;

    color: #94a3b8;

    margin-right: 4px;

}



.ra-notepad-char-chip {

    background: rgba(30, 41, 59, 0.9);

    border: 1px solid rgba(56, 189, 248, 0.4);

    color: #f8fafc;

    padding: 4px 10px;

    font-size: 0.85rem;

    font-weight: 700;

    font-family: monospace;

    border-radius: 6px;

    cursor: pointer;

    transition: all 0.15s ease;

}



.ra-notepad-char-chip:hover {

    background: #38bdf8;

    color: #0f172a;

    transform: translateY(-1px);

    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);

}



.ra-notepad-char-chip.is-action {

    background: rgba(245, 158, 11, 0.15);

    border-color: rgba(245, 158, 11, 0.4);

    color: #fbbf24;

}

.ra-notepad-char-chip.is-action:hover {

    background: #f59e0b;

    color: #000;

}



.ra-notepad-textarea {

    width: 100%;

    min-height: 140px;

    background: #030712;

    color: #f1f5f9;

    font-family: "Fira Code", monospace, "Courier New";

    font-size: 1.05rem;

    line-height: 1.6;

    padding: 12px 16px;

    border: none;

    outline: none;

    resize: none;

    box-sizing: border-box;

}



.ra-notepad-textarea:focus {

    box-shadow: inset 0 0 0 1px #38bdf8;

}



.ra-notepad-footer {

    background: #1e293b;

    padding: 8px 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.ra-notepad-status-info {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 0.78rem;

    color: #94a3b8;

}



.ra-notepad-status-badge {

    padding: 3px 8px;

    border-radius: 4px;

    font-weight: 600;

}



.ra-notepad-status-badge.is-dirty {

    background: rgba(245, 158, 11, 0.15);

    color: #f59e0b;

    border: 1px solid rgba(245, 158, 11, 0.3);

}



.ra-notepad-status-badge.is-saved {

    background: rgba(34, 197, 94, 0.15);

    color: #22c55e;

    border: 1px solid rgba(34, 197, 94, 0.3);

}



.ra-btn-notepad-save {

    background: linear-gradient(135deg, #0284c7, #2563eb);

    color: #fff;

    border: none;

    padding: 8px 18px;

    border-radius: 8px;

    font-size: 0.85rem;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-weight: bold;

    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);

    transition: all 0.2s ease;

}



.ra-btn-notepad-save:hover:not(:disabled) {

    transform: scale(1.03);

    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.5);

}



.ra-btn-notepad-save.is-success {

    background: #16a34a;

    box-shadow: 0 0 15px rgba(22, 163, 74, 0.5);

}



.ra-notepad-desktop-badge {

    margin: 8px auto 0;

    padding: 10px 16px;

    background: rgba(30, 41, 59, 0.8);

    border: 1px solid rgba(56, 189, 248, 0.4);

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 10px;

    animation: raFadeInUp 0.3s ease-out;

}



.ra-desktop-file-icon { font-size: 1.5rem; }

.ra-desktop-file-name { font-weight: bold; color: #38bdf8; font-size: 0.9rem; }

.ra-desktop-file-status { color: #94a3b8; font-size: 0.75rem; margin-left: auto; }



@keyframes raFadeInUp {

    from { opacity: 0; transform: translateY(8px); }

    to { opacity: 1; transform: translateY(0); }

}



/* =========================================================================

   PİKSEL BÜYÜTEÇ VE GÖRSEL GÖZLEM SİSTEMİ (Pixel Magnifier & Observation Lab)

   ========================================================================= */

.ra-magnifier-stage {

    background: linear-gradient(180deg, #09132b 0%, #0d1b3e 100%);

    border: 2px solid #1e3a8a;

    border-radius: 18px;

    padding: 18px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    width: 100%;

}



.ra-observe-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    gap: 10px;

    flex-wrap: wrap;

}



.ra-mag-status-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 12px;

    border-radius: 999px;

    font-size: 0.8rem;

    font-weight: 700;

    color: #94a3b8;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    transition: all 0.25s ease;

}



.ra-mag-status-pill.is-active {

    color: #00e5ff;

    background: rgba(0, 229, 255, 0.15);

    border-color: #00e5ff;

    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);

}



.ra-pixel-viewport {

    width: 100%;

    max-width: 440px;

    min-height: 230px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #060b17;

    border-radius: 16px;

    border: 2px solid #1e293b;

    padding: 16px;

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

    outline: none;

    user-select: none;

}



.ra-pixel-viewport:hover {

    border-color: #38bdf8;

    box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);

}



.ra-pixel-viewport:focus-visible {

    outline: 3px solid #fbbf24;

    outline-offset: 3px;

}



.ra-pixel-viewport.is-zoomed {

    border-color: #00e5ff;

    box-shadow: 0 0 24px rgba(0, 229, 255, 0.3);

    background: #040814;

}



.ra-pixel-view-normal,

.ra-pixel-view-zoomed {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    text-align: center;

    gap: 10px;

}



.ra-pixel-art-frame {

    display: flex;

    align-items: center;

    justify-content: center;

    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));

}



.ra-pixel-art-svg {

    max-width: 100%;

    height: auto;

}



.ra-pixel-view-tag {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 12px;

    border-radius: 999px;

    font-size: 0.82rem;

    font-weight: 700;

    color: #cbd5e1;

    background: rgba(255, 255, 255, 0.08);

}



.ra-pixel-view-tag.is-revealed {

    color: #00e5ff;

    background: rgba(0, 229, 255, 0.14);

    border: 1px solid rgba(0, 229, 255, 0.35);

}



.ra-pixel-view-hint {

    font-size: 0.85rem;

    color: #fbbf24;

    font-weight: 600;

}



.ra-pixel-zoomed-lens-frame {

    position: relative;

    width: 170px;

    height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #0b1329;

    border: 4px solid #00e5ff;

    box-shadow: 0 0 24px rgba(0, 229, 255, 0.45), inset 0 0 16px rgba(0, 0, 0, 0.8);

    overflow: hidden;

}



.ra-pixel-lens-ring {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

}



.ra-pixel-crosshair-h,

.ra-pixel-crosshair-v {

    position: absolute;

    pointer-events: none;

    opacity: 0.25;

    background: #00e5ff;

}



.ra-pixel-crosshair-h {

    left: 0;

    right: 0;

    height: 1px;

    top: 50%;

}



.ra-pixel-crosshair-v {

    top: 0;

    bottom: 0;

    width: 1px;

    left: 50%;

}



.ra-pixel-matrix-grid {

    display: grid;

    grid-template-columns: repeat(8, 1fr);

    width: 130px;

    height: 130px;

    gap: 2px;

    background: rgba(255, 255, 255, 0.2);

    padding: 2px;

    border-radius: 4px;

    box-shadow: 0 0 12px rgba(0,0,0,0.6);

}



.ra-pixel-cell {

    aspect-ratio: 1;

    border-radius: 1px;

    outline: 1px solid rgba(255, 255, 255, 0.35);

    transition: transform 0.15s ease;

}



.ra-pixel-cell:hover {

    transform: scale(1.2);

    z-index: 2;

    outline: 2px solid #ffffff;

}



.ra-pixel-matrix-note {

    font-size: 0.88rem;

    color: #f1f5f9;

    line-height: 1.45;

    max-width: 380px;

    margin-top: 4px;

}



.ra-pixel-matrix-note strong {

    color: #38bdf8;

}



.ra-mag-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 10px;

    width: 100%;

    flex-wrap: wrap;

}



.ra-btn-magnifier {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: 14px;

    font-size: 1rem;

    font-weight: 800;

    color: #0f172a;

    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

    border: 2px solid #fef08a;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}



.ra-btn-magnifier:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);

    filter: brightness(1.05);

}



.ra-btn-magnifier:active {

    transform: translateY(0);

}



.ra-btn-magnifier.is-active {

    background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);

    border-color: #bae6fd;

    color: #041226;

    box-shadow: 0 4px 14px rgba(0, 229, 255, 0.45);

}



.ra-zoom-pill {

    display: inline-block;

    padding: 6px 14px;

    border-radius: 999px;

    font-size: 0.82rem;

    font-weight: 800;

    color: #cbd5e1;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

}



.ra-gate-notice {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 16px;

    border-radius: 12px;

    font-size: 0.9rem;

    font-weight: 700;

    color: #94a3b8;

    background: rgba(255, 255, 255, 0.05);

    border: 1px dashed rgba(255, 255, 255, 0.2);

    width: 100%;

    text-align: center;

    margin-bottom: 12px;

    transition: all 0.25s ease;

}



.ra-gate-notice.is-warning {

    color: #f97316;

    background: rgba(249, 115, 22, 0.15);

    border-color: #f97316;

    border-style: solid;

    animation: raPulseAttention 0.4s ease-out;

}



.ra-gate-notice.is-unlocked {

    color: #10b981;

    background: rgba(16, 185, 129, 0.12);

    border-color: #10b981;

    border-style: solid;

}



.ra-choice-deck.is-gated .ra-select-card {

    opacity: 0.65;

    cursor: not-allowed;

}



.ra-choice-deck.is-unlocked .ra-select-card {

    opacity: 1;

    cursor: pointer;

    transition: all 0.2s ease;

}



.ra-pulse-attention {

    animation: raPulseAttention 0.4s 2 ease-out;

}



@keyframes raPulseAttention {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.08); box-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }

}



/* ---------- Grade 1 Oluşum Profili Sunum Kancaları ---------- */

[data-theme="grade-1"], [data-grade="1"], [data-profile="formation"], .ra-grade-1 {

    --ra-touch-target-min: 56px;

    --ra-type-instruction: 1.25rem;

}

.ra-grade-1 .ra-select-card {

    min-height: 84px;

}

.ra-grade-1 .ra-drop-box {

    min-height: 140px;

}

.ra-grade-1 .ra-drag-item {

    min-height: 58px;

}

.ra-grade-1 .ra-match-item,

.ra-grade-1 .ra-match-node {

    min-height: 58px;

}

.ra-grade-1 .ra-observe-stage {

    min-height: 220px;

}



@media (prefers-reduced-motion: reduce) {

    .ra-pixel-viewport,

    .ra-btn-magnifier,

    .ra-gate-notice,

    .ra-pulse-attention {

        transition: none !important;

        animation: none !important;

    }

}





/* TASK-001: pencere kontrolleri, karşılaştırma görseli, piksel ızgarası */

.ra-window-mock { width: min(100%, 460px); margin: 0 auto; border: 3px solid #126A8A; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 6px 18px rgba(16,42,67,.18); }

.ra-window-mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; background: #DCEBF5; }

.ra-window-mock-title { font-weight: 800; color: #102A43; }

.ra-window-mock-ctrls { display: flex; gap: 8px; }

.ra-window-mock-btn { min-width: 48px; min-height: 48px; border: 2px solid #102A43; border-radius: 10px; background: #fff; color: #102A43; font-size: 1.4rem; font-weight: 800; cursor: pointer; }

.ra-window-mock-btn.is-close { background: #E63946; color: #fff; border-color: #9B1C28; }

.ra-window-mock-body { padding: 22px 12px; text-align: center; color: #486581; font-weight: 600; }

.ra-compare-visual { display: block; width: 100%; max-width: 180px; height: auto; margin: 6px auto; }

.ra-compare-visual svg { display: block; width: 100%; max-width: 160px; height: auto; max-height: 80px; margin: 0 auto; }

.ra-paint-create { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.ra-paint-cell { position: relative; width: 72px; height: 72px; border: 2px solid #486581; border-radius: 8px; background: #CBD2D9; cursor: pointer; padding: 0; }

.ra-paint-cell.is-prefilled, .ra-paint-cell.is-painted { background: #E63946; border-color: #9B1C28; }

.ra-paint-cell.is-prefilled { cursor: default; opacity: .9; }

.ra-paint-cell:focus-visible { outline: 4px solid #F4B400; outline-offset: 2px; }

.ra-paint-num { position: absolute; top: 3px; left: 6px; font-size: .8rem; font-weight: 800; color: #102A43; }

.ra-paint-cell.is-prefilled .ra-paint-num, .ra-paint-cell.is-painted .ra-paint-num { color: #fff; }

.ra-paint-counter { font-weight: 800; color: #126A8A; }

@media (max-width: 480px) { .ra-paint-grid { grid-template-columns: repeat(var(--ra-paint-cols, 3), 64px); } .ra-paint-cell { width: 64px; height: 64px; } }



/* ==========================================================================

   TASK-002: Golden Lesson Pedagoji & İnteraktif Sahne Standartları

   ========================================================================== */



/* Multi-Target Drag & Drop (U18) */

.ra-multi-drop-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 16px;

    width: 100%;

    margin-bottom: 16px;

}

.ra-drop-column {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.ra-drop-column-title {

    font-size: 0.95rem;

    font-weight: 800;

    color: var(--ra-color-navy-dark, #102A43);

    text-align: center;

    padding: 4px 8px;

    background: rgba(18, 106, 138, 0.1);

    border-radius: 6px;

}

.ra-drop-column .ra-drop-box {

    min-height: 120px;

}



/* Compare Visuals (U21) */

.ra-compare-svg-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    width: 100%;

}

.ra-compare-visual-badge {

    font-size: 0.85rem;

    font-weight: 700;

    color: var(--ra-color-navy-dark, #102A43);

    text-align: center;

}



/* Mini Desktop & Window Cleanup Debug (U26) */

.ra-debug-windows-stage {

    display: flex;

    flex-direction: column;

    gap: 12px;

    width: 100%;

}

.ra-debug-windows-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    padding: 8px 12px;

    background: #e2e8f0;

    border-radius: 8px;

}

.ra-debug-windows-badge {

    font-weight: 800;

    color: #1e293b;

    font-size: 0.95rem;

}

.ra-debug-windows-status {

    font-weight: 700;

    color: #0284c7;

    font-size: 0.9rem;

}

.ra-mini-desktop {

    position: relative;

    width: 100%;

    min-height: 240px;

    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);

    border: 3px solid #334155;

    border-radius: 12px;

    overflow: hidden;

    padding: 16px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.ra-desktop-window-card {

    position: relative;

    width: min(100%, 340px);

    margin: -16px 0;

    background: #ffffff;

    border: 2px solid #64748b;

    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

    transition: transform 0.25s ease, opacity 0.25s ease;

    z-index: 2;

}

.ra-desktop-window-card.ra-win-pos-1 { z-index: 3; transform: translateX(-15px); }

.ra-desktop-window-card.ra-win-pos-2 { z-index: 2; transform: translateX(15px); }

.ra-desktop-window-card.ra-win-pos-3 { z-index: 1; transform: translateX(0); }

.ra-desktop-window-card.is-closing {

    transform: scale(0.7) translateY(-20px);

    opacity: 0;

}

.ra-desktop-window-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #cbd5e1;

    padding: 6px 10px;

    border-top-left-radius: 6px;

    border-top-right-radius: 6px;

    border-bottom: 1px solid #94a3b8;

}

.ra-desktop-window-title {

    font-size: 0.85rem;

    font-weight: 800;

    color: #1e293b;

}

.ra-win-close-btn {

    min-width: 44px;

    min-height: 44px;

    border: 2px solid #b91c1c;

    border-radius: 8px;

    background: #ef4444;

    color: #ffffff;

    font-size: 1.15rem;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: transform 0.15s ease, background-color 0.15s ease;

}

.ra-win-close-btn:hover {

    background: #dc2626;

    transform: scale(1.08);

}

.ra-win-close-btn:focus-visible {

    outline: 4px solid #f59e0b;

    outline-offset: 2px;

}

.ra-desktop-window-content {

    padding: 12px 14px;

    font-size: 0.85rem;

    color: #475569;

    font-weight: 600;

}

.ra-desktop-success-notice {

    text-align: center;

    color: #38bdf8;

    animation: raFadeIn 0.3s ease-out;

}

.ra-desktop-success-notice .ra-notice-icon {

    font-size: 2.8rem;

    margin-bottom: 6px;

}

.ra-desktop-success-notice .ra-notice-title {

    font-size: 1.25rem;

    font-weight: 800;

    color: #f8fafc;

}

.ra-desktop-success-notice .ra-notice-sub {

    font-size: 0.95rem;

    color: #94a3b8;

    margin-top: 4px;

}



/* Zoom Command Stages (U12 & U13) */

.ra-zoom-cmd-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}

.ra-zoom-viewport-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    width: 100%;

    max-width: 480px;

    background: #f8fafc;

    border: 3px solid #0284c7;

    border-radius: 14px;

    padding: 16px;

    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);

}

.ra-zoom-status-pill {

    font-size: 0.9rem;

    font-weight: 800;

    padding: 6px 14px;

    background: #e0f2fe;

    color: #0369a1;

    border-radius: 999px;

    text-align: center;

    border: 1px solid #bae6fd;

    transition: all 0.3s ease;

}

.ra-zoom-status-pill.is-active {

    background: #dcfce7;

    color: #15803d;

    border-color: #86efac;

}

.ra-zoom-ant-viewport, .ra-zoom-map-viewport {

    width: 220px;

    height: 160px;

    background: #f1f5f9;

    border: 2px dashed #94a3b8;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    position: relative;

}

.ra-zoom-ant-scene {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.ra-zoom-leaf {

    font-size: 4rem;

    user-select: none;

}

.ra-zoom-ant-figure {

    position: absolute;

    font-size: 2.2rem;

    user-select: none;

}

.ra-zoom-ant-viewport.is-zoomed-3x .ra-zoom-ant-scene {

    transform: scale(2.8);

}

.ra-zoom-pixel-overlay {

    position: absolute;

    inset: -30px;

    background-image: 

        linear-gradient(to right, rgba(2, 132, 199, 0.25) 1px, transparent 1px),

        linear-gradient(to bottom, rgba(2, 132, 199, 0.25) 1px, transparent 1px);

    background-size: 8px 8px;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

}

.ra-zoom-ant-viewport.is-zoomed-3x .ra-zoom-pixel-overlay {

    opacity: 1;

}



.ra-zoom-map-scene {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.ra-zoom-island-map {

    font-size: 3.2rem;

    letter-spacing: 4px;

    user-select: none;

}

.ra-zoom-tower-focus {

    position: absolute;

    font-size: 3rem;

    user-select: none;

}

.ra-zoom-map-viewport.is-zoomed-in .ra-zoom-map-scene {

    transform: scale(2.8);

}

.ra-zoom-map-viewport.is-zoomed-out .ra-zoom-map-scene {

    transform: scale(1.0);

}



.ra-zoom-cmd-controls {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    justify-content: center;

    width: 100%;

}

.ra-btn-zoom-action {

    min-height: 48px;

    padding: 10px 18px;

    border-radius: 10px;

    font-size: 0.95rem;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    border: 2px solid transparent;

    transition: transform 0.15s ease, background 0.15s ease;

}

.ra-btn-zoom-action.is-zoom-in {

    background: #0284c7;

    color: #ffffff;

    border-color: #0369a1;

}

.ra-btn-zoom-action.is-zoom-in:hover {

    background: #0369a1;

    transform: scale(1.04);

}

.ra-btn-zoom-action.is-zoom-out {

    background: #0d9488;

    color: #ffffff;

    border-color: #0f766e;

}

.ra-btn-zoom-action.is-zoom-out:hover {

    background: #0f766e;

    transform: scale(1.04);

}

.ra-btn-zoom-action:focus-visible {

    outline: 4px solid #f59e0b;

    outline-offset: 2px;

}



/* Rotate Command Stage (U22) */

.ra-rotate-cmd-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}

.ra-rotate-viewport-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    width: 100%;

    max-width: 420px;

    background: #f8fafc;

    border: 3px solid #6366f1;

    border-radius: 14px;

    padding: 16px;

    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);

}

.ra-rotate-status-pill {

    font-size: 0.9rem;

    font-weight: 800;

    padding: 6px 14px;

    background: #fef3c7;

    color: #b45309;

    border-radius: 999px;

    text-align: center;

    border: 1px solid #fde68a;

    transition: all 0.3s ease;

}

.ra-rotate-status-pill.is-active {

    background: #dcfce7;

    color: #15803d;

    border-color: #86efac;

}

.ra-rotate-screen-frame {

    width: 220px;

    height: 160px;

    background: #0f172a;

    border: 4px solid #334155;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}

.ra-rotate-target-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.ra-rotate-target-content.is-sideways {

    transform: rotate(90deg);

}

.ra-rotate-target-content.is-upright {

    transform: rotate(0deg);

}

.ra-rotate-robot-figure {

    font-size: 3.2rem;

}

.ra-rotate-sub-label {

    font-size: 0.8rem;

    font-weight: 700;

    color: #94a3b8;

}



/* Screenshot Command Stage (U23) */

.ra-screenshot-cmd-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}

.ra-screenshot-viewport-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    width: 100%;

    max-width: 440px;

    background: #f8fafc;

    border: 3px solid #ec4899;

    border-radius: 14px;

    padding: 16px;

    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.15);

}

.ra-screenshot-preview {

    position: relative;

    width: 240px;

    height: 150px;

    background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 70%, #86efac 70%, #4ade80 100%);

    border: 4px solid #475569;

    border-radius: 12px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ra-screenshot-artwork {

    display: flex;

    align-items: flex-end;

    gap: 14px;

    font-size: 2.5rem;

    margin-top: 20px;

}

.ra-camera-flash-overlay {

    position: absolute;

    inset: 0;

    background: #ffffff;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.1s ease;

}

.ra-camera-flash-overlay.is-flashing {

    opacity: 0.9;

}

.ra-polaroid-snapshot {

    position: absolute;

    bottom: -60px;

    background: #ffffff;

    border: 2px solid #cbd5e1;

    border-radius: 6px;

    padding: 6px 10px;

    display: flex;

    align-items: center;

    gap: 8px;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);

    transition: transform 0.3s ease-out;

}

.ra-polaroid-snapshot.is-visible {

    transform: translateY(-70px);

}

.ra-polaroid-label {

    font-size: 0.8rem;

    font-weight: 800;

    color: #15803d;

}



/* Common Command Stages (Audio, Device, File, Camera, Nav, Sensor, Wake) */

.ra-cmd-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}

.ra-cmd-viewport-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    width: 100%;

    max-width: 480px;

    background: #f8fafc;

    border-radius: 14px;

    padding: 16px;

    border: 3px solid #0284c7;

    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);

}

.ra-cmd-status-pill {

    font-size: 0.88rem;

    font-weight: 800;

    padding: 6px 14px;

    background: #e0f2fe;

    color: #0369a1;

    border-radius: 999px;

    text-align: center;

    border: 1px solid #bae6fd;

    transition: all 0.3s ease;

    width: 100%;

    max-width: 420px;

}

.ra-cmd-status-pill.is-active {

    background: #dcfce7;

    color: #15803d;

    border-color: #86efac;

}

.ra-cmd-controls {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    justify-content: center;

    width: 100%;

}



/* Audio Stage */

.ra-audio-viewport-box { border-color: #0ea5e9; }

.ra-audio-equalizer {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 20px;

    background: #0f172a;

    border: 2px solid #1e293b;

    border-radius: 12px;

    color: #38bdf8;

    width: 100%;

    max-width: 360px;

    justify-content: center;

}

.ra-eq-speaker { font-size: 2rem; }

.ra-eq-bars {

    display: flex;

    align-items: flex-end;

    gap: 4px;

    height: 32px;

}

.ra-eq-bar {

    width: 6px;

    background: #38bdf8;

    border-radius: 3px;

    animation: raEqBounce 0.8s ease-in-out infinite alternate;

}

.ra-eq-bar.bar-1 { height: 14px; animation-delay: 0.1s; }

.ra-eq-bar.bar-2 { height: 26px; animation-delay: 0.25s; }

.ra-eq-bar.bar-3 { height: 20px; animation-delay: 0.4s; }

.ra-eq-bar.bar-4 { height: 30px; animation-delay: 0.15s; }

.ra-eq-bar.bar-5 { height: 16px; animation-delay: 0.3s; }

.ra-audio-equalizer.is-muted .ra-eq-bar { height: 4px; animation: none; background: #64748b; }

@keyframes raEqBounce {

    0% { height: 8px; }

    100% { height: 28px; }

}

.ra-audio-level-text { font-size: 0.85rem; font-weight: 700; color: #94a3b8; }



/* Device & Power Stage */

.ra-device-viewport-box { border-color: #10b981; }

.ra-device-console {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 18px;

    background: #090d16;

    border: 2px solid #1e293b;

    border-radius: 12px;

    width: 100%;

    max-width: 360px;

}

.ra-device-screen {

    display: flex;

    align-items: center;

    gap: 10px;

}

.ra-device-icon { font-size: 2rem; }

.ra-device-label { font-size: 0.85rem; font-weight: 700; color: #cbd5e1; }

.ra-device-led {

    width: 16px;

    height: 16px;

    border-radius: 50%;

    box-shadow: 0 0 8px currentColor;

    transition: all 0.3s ease;

}

.ra-device-led.red { background: #ef4444; color: #ef4444; }

.ra-device-led.green { background: #10b981; color: #10b981; box-shadow: 0 0 12px #10b981; }



/* File & Desktop Stage */

.ra-file-viewport-box { border-color: #3b82f6; }

.ra-file-preview-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 18px;

    background: #ffffff;

    border: 2px solid #bfdbfe;

    border-radius: 12px;

    width: 100%;

    max-width: 360px;

    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);

}

.ra-file-icon { font-size: 2.2rem; }

.ra-file-info { display: flex; flex-direction: column; gap: 2px; }

.ra-file-title { font-size: 0.95rem; font-weight: 800; color: #1e293b; }

.ra-file-meta { font-size: 0.78rem; font-weight: 600; color: #64748b; }



/* Camera Stage */

.ra-camera-viewport-box { border-color: #f59e0b; }

.ra-camera-viewfinder-frame {

    position: relative;

    width: 240px;

    height: 150px;

    background: #020617;

    border: 3px solid #334155;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}

.ra-viewfinder-subject { font-size: 3rem; }

.ra-viewfinder-brackets span {

    position: absolute;

    width: 18px;

    height: 18px;

    border-color: #f59e0b;

    border-style: solid;

    pointer-events: none;

}

.ra-viewfinder-brackets .tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }

.ra-viewfinder-brackets .tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }

.ra-viewfinder-brackets .bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }

.ra-viewfinder-brackets .br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }



/* Navigation / D-Pad Stage */

.ra-nav-viewport-box { border-color: #8b5cf6; }

.ra-nav-track-scene {

    position: relative;

    width: 260px;

    height: 110px;

    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);

    border: 2px solid #4338ca;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 24px;

    overflow: hidden;

}

.ra-nav-robot-sprite {

    font-size: 2.4rem;

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.ra-nav-robot-sprite.is-reached { transform: translateX(110px) scale(1.15); }

.ra-nav-goal-marker { font-size: 2.2rem; }



/* Sensor & Security Stage */

.ra-sensor-viewport-box { border-color: #06b6d4; }

.ra-sensor-radar-scope {

    position: relative;

    width: 120px;

    height: 120px;

    border-radius: 50%;

    background: radial-gradient(circle, #083344 0%, #020617 100%);

    border: 2px solid #06b6d4;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}

.ra-radar-center { font-size: 2rem; position: relative; z-index: 2; }

.ra-radar-sweep {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.4) 60deg, transparent 65deg);

    animation: raRadarSpin 2.5s linear infinite;

    z-index: 1;

}

.ra-radar-sweep.is-active-ping {

    box-shadow: 0 0 24px #06b6d4, inset 0 0 20px #06b6d4;

}

@keyframes raRadarSpin {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



/* Screen Wake Stage */

.ra-wake-viewport-box { border-color: #f59e0b; }

.ra-wake-screen {

    width: 240px;

    height: 130px;

    background: #020617;

    border: 3px solid #1e293b;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    cursor: pointer;

    transition: all 0.3s ease;

}

.ra-wake-screen.is-awake {

    background: #083344;

    border-color: #22d3ee;

    box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);

}

.ra-wake-robot-face { font-size: 2.2rem; }

.ra-wake-hint { font-size: 0.75rem; font-weight: 700; color: #64748b; text-align: center; }





/* Cracked Tablet Stage (U16) */

.ra-cracked-tablet-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    width: 100%;

    margin-bottom: 14px;

}

.ra-cracked-banner {

    width: 100%;

    text-align: center;

}

.ra-cracked-badge {

    display: inline-block;

    padding: 6px 14px;

    background: #fee2e2;

    color: #b91c1c;

    border: 2px solid #f87171;

    border-radius: 999px;

    font-size: 0.9rem;

    font-weight: 800;

}

.ra-cracked-tablet-frame {

    width: min(100%, 360px);

    background: #334155;

    padding: 14px;

    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);

}

.ra-cracked-tablet-bezel {

    position: relative;

    background: #0f172a;

    border-radius: 12px;

    overflow: hidden;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ra-cracked-screen-glass {

    position: relative;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);

    display: flex;

    align-items: center;

    justify-content: center;

}

.ra-crack-svg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    filter: drop-shadow(0 0 3px rgba(186, 230, 253, 0.8));

    pointer-events: none;

}

.ra-cracked-glass-warning {

    position: relative;

    z-index: 2;

    font-size: 0.9rem;

    font-weight: 800;

    color: #f87171;

    background: rgba(15, 23, 42, 0.75);

    padding: 6px 12px;

    border-radius: 6px;

    border: 1px dashed #ef4444;

}



/* Screensaver Aquarium Stage (U19) */

.ra-screensaver-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    width: 100%;

}

.ra-aquarium-tank {

    width: min(100%, 380px);

    height: 160px;

    background: linear-gradient(180deg, #0284c7 0%, #0369a1 60%, #075985 100%);

    border: 4px solid #38bdf8;

    border-radius: 14px;

    position: relative;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);

}

.ra-tank-water {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: space-around;

}

.ra-fish {

    font-size: 2.2rem;

    animation: raFishSwim 4s ease-in-out infinite alternate;

}

.ra-fish-1 { animation-duration: 3.5s; transform: translateY(-10px); }

.ra-fish-2 { animation-duration: 4.8s; transform: translateY(15px); }

.ra-fish-3 { animation-duration: 4.2s; transform: translateY(-5px); }

.ra-bubble {

    font-size: 1.4rem;

    position: absolute;

    bottom: 5px;

    animation: raBubbleRise 3s infinite linear;

}

.ra-bubble-1 { left: 25%; animation-delay: 0.5s; }

.ra-bubble-2 { left: 75%; animation-delay: 1.8s; }

.ra-plant {

    font-size: 2.5rem;

    position: absolute;

    bottom: 2px;

    right: 15px;

}

.ra-screensaver-caption {

    font-size: 0.85rem;

    color: #475569;

    font-weight: 600;

    text-align: center;

    max-width: 440px;

}

@keyframes raFishSwim {

    0% { transform: translateX(-20px) translateY(0); }

    100% { transform: translateX(20px) translateY(-12px); }

}

@keyframes raBubbleRise {

    0% { transform: translateY(0); opacity: 0.8; }

    100% { transform: translateY(-130px); opacity: 0; }

}



/* Robot Face Customizer (U30) */

.ra-robot-face-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    width: 100%;

}

.ra-robot-chest-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

}

.ra-robot-head-antenna {

    font-size: 1.8rem;

    margin-bottom: -6px;

}

.ra-robot-body-chest {

    width: 170px;

    height: 130px;

    background: linear-gradient(135deg, #126A8A 0%, #102A43 100%);

    border: 4px solid #38bdf8;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 8px 24px rgba(18, 106, 138, 0.35);

}

.ra-robot-chest-screen {

    width: 120px;

    height: 85px;

    background: #0f172a;

    border: 3px solid #7dd3fc;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.6);

}

.ra-robot-face-emoji {

    font-size: 3rem;

    display: inline-block;

    transition: transform 0.25s ease;

}

.ra-face-bounce {

    animation: raFaceBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

@keyframes raFaceBounce {

    0% { transform: scale(0.6); }

    60% { transform: scale(1.3); }

    100% { transform: scale(1); }

}

.ra-robot-screen-caption {

    font-size: 0.85rem;

    font-weight: 700;

    color: #126A8A;

}

.ra-face-chips-deck {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    justify-content: center;

    width: 100%;

}

.ra-face-chip {

    min-height: 48px;

    padding: 8px 16px;

    border: 2px solid #cbd5e1;

    border-radius: 12px;

    background: #ffffff;

    font-size: 0.95rem;

    font-weight: 700;

    color: #1e293b;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    transition: all 0.15s ease;

}

.ra-face-chip.is-selected, .ra-face-chip.selected {

    background: #e0f2fe;

    border-color: #0284c7;

    color: #0369a1;

    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);

}

.ra-face-chip:hover {

    border-color: #0284c7;

    transform: translateY(-2px);

}

.ra-face-chip:focus-visible {

    outline: 4px solid #f59e0b;

    outline-offset: 2px;

}

.ra-face-chip-emoji {

    font-size: 1.4rem;

}



/* =========================================================================

   TASK 008: VISUAL-SEMANTIC FIDELITY & ACTION AFFORDANCE STYLES

   - Visual Match Cards (.ra-match-visual-card)

   - Real Draggable OS Window Mockups (.ra-os-window-frame)

   - Split-Screen Drag Drop Workspace (.ra-multi-drop-grid.is-split-screen)

   ========================================================================= */



/* Visual Match Cards */

.ra-learning-player .ra-match-grid.is-visual {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    width: 100%;

    max-width: 680px;

    margin: 0 auto;

}

.ra-learning-player .ra-match-col.is-visual {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.ra-learning-player .ra-match-node.ra-match-visual-card {

    min-height: 80px;

    padding: 12px 16px;

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 14px;

    border-radius: 16px;

    border: 2.5px solid #cbd5e1;

    background: #ffffff;

    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    position: relative;

    user-select: none;

}

.ra-learning-player .ra-match-node.ra-match-visual-card:hover {

    border-color: #0284c7;

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.15);

}

.ra-learning-player .ra-match-node.ra-match-visual-card.selected,

.ra-learning-player .ra-match-node.ra-match-visual-card.is-selected {

    border-color: #0284c7;

    background: #f0f9ff;

    outline: 3px solid #38bdf8;

    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25), 0 8px 24px rgba(2, 132, 199, 0.2);

}

.ra-learning-player .ra-match-node.ra-match-visual-card.matched {

    border-color: #10b981;

    background: #f0fdf4;

    color: #166534;

    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);

}

.ra-learning-player .ra-match-node.ra-match-action-card {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 6px;

    padding: 12px 16px;

}

.ra-learning-player .ra-match-visual-icon-box {

    width: 54px;

    height: 54px;

    min-width: 54px;

    border-radius: 12px;

    background: #f8fafc;

    border: 1.5px solid #e2e8f0;

    display: grid;

    place-items: center;

    overflow: hidden;

}

.ra-learning-player .ra-match-visual-icon-box svg {

    width: 44px;

    height: 44px;

}

.ra-learning-player .ra-match-visual-emoji {

    font-size: 2rem;

    line-height: 1;

}

.ra-learning-player .ra-match-visual-label {

    font-size: 1.05rem;

    font-weight: 800;

    color: #0f172a;

    flex: 1;

}

.ra-learning-player .ra-match-node.matched .ra-match-visual-label {

    color: #15803d;

}



/* OS Window Mockup Styles */

.ra-learning-player .ra-multi-drop-grid.is-split-screen {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;

    max-width: 100%;

    box-sizing: border-box;

    margin-top: 12px;

}

.ra-learning-player .ra-drop-box.is-split-screen-target {

    min-height: 140px;

    min-width: 0;

    max-width: 100%;

    box-sizing: border-box;

    border: 2.5px dashed #94a3b8;

    border-radius: 14px;

    background: rgba(248, 250, 252, 0.85);

    padding: 10px;

    display: flex;

    flex-direction: column;

    transition: all 0.2s ease;

}

.ra-learning-player .ra-drop-box.is-split-screen-target.is-dragover {

    border-color: #0284c7;

    background: #f0f9ff;

    outline: 3px solid #38bdf8;

    transform: scale(1.02);

}

.ra-learning-player .ra-os-window-frame {

    display: flex;

    flex-direction: column;

    border-radius: 12px;

    overflow: hidden;

    background: #ffffff;

    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);

    min-width: 0;

    width: 100%;

    cursor: grab;

    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);

    user-select: none;

    touch-action: none;

}

.ra-learning-player .ra-os-window-frame:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);

}

.ra-learning-player .ra-os-window-frame.is-dragging {

    opacity: 0.8;

    cursor: grabbing;

    transform: scale(1.04);

}

.ra-learning-player .ra-os-window-titlebar {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    color: #ffffff;

    font-size: 0.9rem;

    font-weight: 800;

}

.ra-learning-player .ra-window-dots {

    display: flex;

    gap: 5px;

    align-items: center;

}

.ra-learning-player .ra-window-dots .ra-dot {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    display: inline-block;

}

.ra-learning-player .ra-window-dots .dot-close { background: #ef4444; }

.ra-learning-player .ra-window-dots .dot-min { background: #f59e0b; }

.ra-learning-player .ra-window-dots .dot-max { background: #10b981; }

.ra-learning-player .ra-window-title {

    flex: 1;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.ra-learning-player .ra-drag-handle-hint {

    opacity: 0.7;

    font-size: 1rem;

    letter-spacing: -2px;

}

.ra-learning-player .ra-os-window-body {

    padding: 12px;

    background: #f8fafc;

    display: flex;

    flex-direction: column;

    gap: 6px;

}

.ra-learning-player .ra-doc-preview {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 6px 0;

}

.ra-learning-player .ra-doc-line {

    height: 6px;

    border-radius: 3px;

}

.ra-learning-player .ra-window-drag-callout {

    font-size: 0.75rem;

    font-weight: 700;

    color: #64748b;

    text-align: center;

    margin-top: 4px;

}



@media (prefers-reduced-motion: reduce) {

    .ra-fish,

    .ra-bubble,

    .ra-face-bounce,

    .ra-zoom-ant-scene,

    .ra-zoom-map-scene,

    .ra-rotate-target-content,

    .ra-os-window-frame,

    .ra-match-node.ra-match-visual-card {

        animation: none !important;

        transition: none !important;

    }

}







/* =========================================================================

 * 12. GEÇ VE BİLDİR (SKIP & REPORT) & ÇOCUK ODAKLI ÇAĞRI BUTONLARI

 * ========================================================================= */

.ra-q-footer-utility {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    margin-top: 14px;

    padding-top: 10px;

    border-top: 1px dashed rgba(59, 130, 246, 0.2);

}



.ra-btn-skip-main {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 66px;

    padding: 14px 28px;

    border-radius: 16px;

    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);

    border: 2.5px solid #f59e0b;

    color: #78350f;

    font-size: 1.15rem;

    font-weight: 800;

    letter-spacing: 0.04em;

    cursor: pointer;

    box-shadow: 0 4px 0 #d97706, 0 8px 20px rgba(245, 158, 11, 0.25);

    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);

    text-decoration: none;

}



.ra-btn-skip-main:hover {

    background: linear-gradient(180deg, #fffbeb, #fef3c7);

    border-color: #d97706;

    transform: translateY(-2px);

    box-shadow: 0 6px 0 #b45309, 0 10px 24px rgba(245, 158, 11, 0.35);

}



.ra-btn-skip-main:active {

    transform: translateY(2px);

    box-shadow: 0 1px 0 #b45309;

}



.ra-btn-skip-main:focus-visible {

    outline: 3px solid #f59e0b;

    outline-offset: 3px;

}



.ra-skip-main-icon {

    font-size: 1.35rem;

    line-height: 1;

}



.ra-skip-main-text {

    font-size: 1.125rem;

    font-weight: 800;

    text-transform: uppercase;

    display: inline-block;

}



.ra-btn-skip-report {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(245, 158, 11, 0.15);

    border: 1.5px solid rgba(245, 158, 11, 0.45);

    color: #fbbf24;

    padding: 7px 14px;

    border-radius: 9999px;

    font-size: 0.86rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    white-space: nowrap;

}



.ra-btn-skip-report:hover {

    background: rgba(245, 158, 11, 0.25);

    border-color: #f59e0b;

    color: #fef3c7;

    transform: translateY(-1px);

}



.ra-btn-skip-report:active {

    transform: translateY(0);

}



.ra-skip-icon {

    font-size: 1rem;

}



.ra-btn-skip-report .ra-skip-text {

    display: inline-block !important; /* Mobilde ve her ekranda ASLA gizlenmez */

    font-weight: 700;

}



.ra-skip-option {

    transition: all 0.18s ease;

}



.ra-skip-option:hover {

    border-color: #38bdf8 !important;

    background: rgba(56, 189, 248, 0.1) !important;

}



.ra-skip-option.active {

    border-color: #38bdf8 !important;

    background: rgba(56, 189, 248, 0.15) !important;

}



@media (max-width: 640px) {

    .ra-q-footer-utility {

        justify-content: stretch;

        margin-top: 10px;

        padding-top: 8px;

    }

    .ra-btn-skip-main {

        width: 100%;

        min-height: 58px;

        font-size: 1.125rem;

        padding: 12px 18px;

    }

    .ra-skip-main-text {

        font-size: 1.125rem;

        display: inline-block !important;

    }

    .ra-btn-skip-report {

        padding: 6px 10px;

        font-size: 0.8rem;

    }

    .ra-learning-player .ra-q-instruction-text {

        font-size: 1.25rem !important;

        line-height: 1.35;

    }

}



/* ==========================================================================

   ALS-PHASE-02: 4 SEMANTİK SAHNE ARKETİPİ — 14 MOTORUN TAMAMI

   ========================================================================== */



/* 1. ARENA ARKETİPİ (command: RA-G1-M01-D01-U05, U30 vb. Tek Odaklı Eylem Sahnesi) */

.ra-interaction-canvas[data-archetype="arena"],

.ra-interaction-canvas.ra-archetype-arena {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 24px;

    min-height: auto;

    padding: 20px 16px;

    width: 100%;

}

.ra-archetype-arena .ra-btn-command {

    width: min(100%, 560px);

    margin-inline: auto;

    min-height: 104px;

    padding: 20px 32px;

    font-size: 1.7rem;

    font-weight: 900;

    letter-spacing: 0.12em;

    border-radius: 20px;

    border: 3px solid #93c5fd;

    box-shadow: 0 6px 0 #1d4ed8, 0 12px 28px rgba(37, 99, 235, 0.45);

}

.ra-archetype-arena .ra-cmd-viewport-box {

    width: min(100%, 560px);

    margin-inline: auto;

}



/* 2. DECK ARKETİPİ (select, decision, compare, verify) */

.ra-interaction-canvas[data-archetype="deck"],

.ra-interaction-canvas.ra-archetype-deck {

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: center;

    gap: 20px;

    min-height: auto;

    padding: 16px;

    width: 100%;

}

/* select: ızgara ve kartlar */

.ra-archetype-deck .ra-select-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;

    width: 100%;

    max-width: 820px;

}

.ra-archetype-deck .ra-select-card {

    min-height: 96px;

    padding: 18px 24px;

    font-size: 1.25rem;

    font-weight: 700;

    border-radius: 18px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

}

.ra-archetype-deck .ra-badge-letter {

    flex: 0 0 58px;

    width: 58px;

    height: 58px;

    font-size: 1.45rem;

    border-radius: 14px;

}

/* decision: stratejik tercih kartları */

.ra-archetype-deck .ra-decision-deck {

    display: flex;

    flex-direction: column;

    gap: 18px;

    width: 100%;

    max-width: 720px;

}

.ra-archetype-deck .ra-decision-card {

    min-height: 96px;

    padding: 18px 24px;

    font-size: 1.2rem;

    font-weight: 700;

    border-radius: 18px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.ra-archetype-deck .ra-decision-metric {

    font-size: 1.05rem;

    font-weight: 800;

    color: #1e40af;

    background: #dbeafe;

    padding: 6px 14px;

    border-radius: 10px;

    display: inline-flex;

    gap: 8px;

    align-self: flex-start;

}

/* compare: model ve durum karşılaştırma */

.ra-archetype-deck .ra-compare-deck {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    width: 100%;

    max-width: 960px;

}

.ra-archetype-deck .ra-compare-card {

    min-height: 104px;

    padding: 18px 22px;

    font-size: 1.2rem;

    font-weight: 700;

    border-radius: 18px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.ra-archetype-deck .ra-compare-visual {

    width: 100%;

    max-width: 240px;

    height: auto;

    min-height: 90px;

    margin: 6px auto;

}

/* verify: önerme doğrulama ve ikili butonlar */

.ra-archetype-deck .ra-verify-card {

    width: 100%;

    max-width: 720px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

}

.ra-archetype-deck .ra-verify-statement {

    font-size: 1.35rem;

    font-weight: 800;

    line-height: 1.4;

    padding: 18px 24px;

    background: #f8fafc;

    border-radius: 18px;

    border: 2.5px solid #e2e8f0;

    color: #0f172a;

    text-align: center;

    width: 100%;

}

.ra-archetype-deck .ra-verify-deck {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    width: 100%;

}

.ra-archetype-deck .ra-verify-deck button {

    min-height: 100px;

    height: auto;

    font-size: 1.25rem;

    font-weight: 900;

    border-radius: 18px;

    border: 3px solid #94a3b8;

    box-shadow: 0 5px 0 #cbd5e1, 0 8px 18px rgba(0,0,0,0.08);

}



/* 3. BOARD ARKETİPİ (match, connect, classify, drag_drop, order) */

.ra-interaction-canvas[data-archetype="board"],

.ra-interaction-canvas.ra-archetype-board {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 22px;

    min-height: auto;

    padding: 16px;

    width: 100%;

}

/* drag_drop: sürükleme havuzu ve hedef kutuları */

.ra-archetype-board .ra-drag-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 24px;

    width: 100%;

}

.ra-archetype-board .ra-drag-pool {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 16px;

    width: 100%;

}

.ra-archetype-board .ra-drag-item {

    min-width: 240px;

    min-height: 76px;

    padding: 16px 24px;

    font-size: 1.25rem;

    font-weight: 800;

    border-radius: 16px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

}

.ra-archetype-board .ra-drop-box {

    min-width: 280px;

    min-height: 150px;

    padding: 20px;

    border: 3px dashed #3b82f6;

    border-radius: 18px;

    background: rgba(239, 246, 255, 0.85);

}

.ra-archetype-board .ra-target-zone > div:first-child {

    font-size: 1.2rem !important;

    font-weight: 800 !important;

}

.ra-archetype-board .ra-drop-prompt {

    font-size: 1.05rem !important;

    font-weight: 700 !important;

    color: #1e40af !important;

}

/* match: 2 sütunlu eşleştirme kartları */

.ra-archetype-board .ra-match-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

    width: 100%;

    max-width: 820px;

}

.ra-archetype-board .ra-match-col {

    display: flex;

    flex-direction: column;

    gap: 16px;

    width: 100%;

}

.ra-archetype-board .ra-match-node {

    min-height: 76px;

    padding: 16px 20px;

    font-size: 1.2rem;

    font-weight: 800;

    border-radius: 16px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

.ra-archetype-board .ra-match-visual-card {

    min-height: 88px;

    padding: 14px 20px;

    gap: 16px;

}

.ra-archetype-board .ra-match-visual-icon-box {

    width: 52px;

    height: 52px;

    font-size: 2rem;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}

.ra-archetype-board .ra-match-visual-label {

    font-size: 1.15rem;

    font-weight: 800;

}

/* classify: çoklu kova ve taşıma öğeleri */

.ra-archetype-board .ra-classify-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 24px;

    width: 100%;

    max-width: 860px;

}

.ra-archetype-board .ra-classify-buckets {

    display: flex;

    gap: 20px;

    width: 100%;

    flex-wrap: wrap;

    justify-content: center;

}

.ra-archetype-board .ra-classify-bucket {

    flex: 1 1 260px;

    min-height: 160px;

    padding: 18px 20px;

    border: 3px dashed #3b82f6;

    border-radius: 18px;

    background: rgba(239, 246, 255, 0.85);

}

.ra-archetype-board .ra-classify-bucket-title {

    font-size: 1.25rem !important;

    font-weight: 800 !important;

    color: #1e40af !important;

    margin-bottom: 12px;

}

.ra-archetype-board .ra-classify-bucket .ra-drag-item {

    min-width: 160px;

    min-height: 58px;

    font-size: 1.1rem;

    padding: 10px 16px;

}

/* connect: kablo ve yuva eşleme */

.ra-archetype-board .ra-connect-direct-container {

    width: 100%;

    max-width: 720px;

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.ra-archetype-board .ra-connect-source-card {

    min-height: 80px;

    padding: 18px 24px;

    font-size: 1.2rem;

    border-radius: 18px;

    border: 3px solid #93c5fd;

    background: #eff6ff;

}

.ra-archetype-board .ra-connect-targets-deck {

    display: flex;

    flex-direction: column;

    gap: 14px;

    width: 100%;

}

.ra-archetype-board .ra-connect-port-btn {

    min-height: 76px;

    padding: 16px 24px;

    font-size: 1.2rem;

    font-weight: 800;

    border-radius: 16px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

}

/* order: adımları sıralama */

.ra-archetype-board .ra-order-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

    width: 100%;

    max-width: 720px;

}

.ra-archetype-board .ra-order-item {

    min-height: 76px;

    padding: 14px 22px;

    font-size: 1.2rem;

    font-weight: 800;

    border-radius: 16px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

    display: flex;

    align-items: center;

    gap: 16px;

}

.ra-archetype-board .ra-order-num {

    width: 44px;

    height: 44px;

    font-size: 1.3rem;

    font-weight: 900;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--ra-accent-2, #2563eb);

    color: #fff;

    flex-shrink: 0;

}

.ra-archetype-board .ra-btn-arrow {

    min-width: 52px;

    min-height: 52px;

    font-size: 1.3rem;

    border-radius: 12px;

}



/* 4. STUDIO ARKETİPİ (create, build, debug, observe_and_choose) */

.ra-interaction-canvas[data-archetype="studio"],

.ra-interaction-canvas.ra-archetype-studio {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 22px;

    min-height: auto;

    padding: 16px;

    width: 100%;

}

/* create: piksel sanatı ve çizim */

.ra-archetype-studio .ra-paint-create {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 18px;

    width: 100%;

}

.ra-archetype-studio .ra-paint-grid {

    display: grid;

    grid-template-columns: repeat(var(--ra-paint-cols, 3), 96px);

    gap: 10px;

    padding: 16px;

    background: #0f172a;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.1);

}

.ra-archetype-studio .ra-paint-cell {

    width: 96px;

    height: 96px;

    border-radius: 14px;

    border: 2.5px solid #334155;

    background: #cbd5e1;

    cursor: pointer;

    transition: transform 0.12s ease, background-color 0.15s ease;

}

.ra-archetype-studio .ra-paint-cell:hover:not(:disabled) {

    transform: scale(1.04);

}

.ra-archetype-studio .ra-paint-num {

    font-size: 1.6rem;

    font-weight: 900;

    color: #1e293b;

}

.ra-archetype-studio .ra-paint-cell.is-prefilled,

.ra-archetype-studio .ra-paint-cell.is-painted {

    background: #ef4444;

    border-color: #b91c1c;

}

.ra-archetype-studio .ra-paint-cell.is-prefilled .ra-paint-num,

.ra-archetype-studio .ra-paint-cell.is-painted .ra-paint-num {

    color: #ffffff;

}

.ra-archetype-studio .ra-paint-counter {

    font-size: 1.15rem;

    font-weight: 800;

    color: #1e3a8a;

    background: rgba(219, 234, 254, 0.8);

    padding: 6px 18px;

    border-radius: 999px;

    border: 1.5px solid #93c5fd;

}

.ra-archetype-studio .ra-paint-create .ra-btn-next-step {

    min-height: 64px;

    padding: 0 32px;

    font-size: 1.25rem;

    font-weight: 800;

    border-radius: 16px;

    background: linear-gradient(180deg, #10b981 0%, #059669 100%);

    border: 2px solid #34d399;

    color: #ffffff;

    box-shadow: 0 4px 0 #047857, 0 8px 20px rgba(16, 185, 129, 0.35);

}

/* observe_and_choose: görsel inceleme ve büyüteç */

.ra-archetype-studio .ra-observe-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 22px;

    width: 100%;

    max-width: 760px;

}

.ra-archetype-studio .ra-observe-stage {

    width: 100%;

    min-height: 240px;

    padding: 22px;

    border-radius: 20px;

    border: 3px solid #38bdf8;

    background: #0f172a;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

}

.ra-archetype-studio .ra-observe-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

}

.ra-archetype-studio .ra-observe-badge {

    font-size: 1.15rem;

    font-weight: 800;

    color: #38bdf8;

}

.ra-archetype-studio .ra-mag-status-pill {

    font-size: 1.05rem;

    font-weight: 800;

    padding: 6px 16px;

    border-radius: 999px;

    background: rgba(56, 189, 248, 0.2);

    border: 1.5px solid #38bdf8;

    color: #e0f2fe;

}

.ra-archetype-studio .ra-pixel-viewport {

    width: 100%;

    min-height: 180px;

    display: flex;

    align-items: center;

    justify-content: center;

}

/* debug: masaüstü pencereler ve kod ayıklama */

.ra-archetype-studio .ra-debug-stage {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    width: 100%;

    max-width: 760px;

}

.ra-archetype-studio .ra-mini-desktop {

    width: 100%;

    min-height: 260px;

    padding: 20px;

    border-radius: 20px;

    border: 3px solid #cbd5e1;

    background: #f1f5f9;

    box-shadow: 0 6px 20px rgba(0,0,0,0.08);

}

.ra-archetype-studio .ra-desktop-window-card {

    min-height: 88px;

    padding: 12px 18px;

    border-radius: 14px;

    border: 2.5px solid #94a3b8;

    box-shadow: 0 4px 14px rgba(0,0,0,0.1);

}

.ra-archetype-studio .ra-win-close-btn {

    min-width: 48px;

    min-height: 48px;

    font-size: 1.3rem;

    font-weight: 900;

    border-radius: 10px;

    background: #ef4444;

    color: #ffffff;

    border: none;

    cursor: pointer;

}

.ra-archetype-studio .ra-debug-codeblock {

    width: 100%;

    font-size: 1.25rem;

    font-weight: 700;

    padding: 20px 24px;

    border-radius: 18px;

    border: 3px solid #334155;

    background: #0f172a;

    color: #38bdf8;

}

.ra-archetype-studio .ra-debug-options {

    display: flex;

    flex-direction: column;

    gap: 14px;

    width: 100%;

}

/* build: robot parçaları ve montaj yuvaları */

.ra-archetype-studio .ra-build-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 22px;

    width: 100%;

    max-width: 760px;

}

.ra-archetype-studio .ra-build-canvas {

    width: 100%;

    min-height: 180px;

    padding: 20px;

    border: 3px dashed #3b82f6;

    border-radius: 20px;

    background: rgba(239, 246, 255, 0.85);

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 18px;

}

.ra-archetype-studio .ra-build-slot {

    min-width: 150px;

    min-height: 84px;

    border: 2px dashed #93c5fd;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 10px;

}

.ra-archetype-studio .ra-build-toolbox {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 16px;

    width: 100%;

}

.ra-archetype-studio .ra-build-part {

    min-width: 180px;

    min-height: 74px;

    padding: 14px 22px;

    font-size: 1.2rem;

    font-weight: 800;

    border-radius: 16px;

    border: 3px solid var(--ra-stage-line);

    box-shadow: 0 5px 0 #c5d6f2, 0 8px 18px rgba(15, 35, 80, 0.12);

}



/* ==========================================================================

   RESPONSIVE KALİBRASYON (MOBİL 390px - 640px) — 14 MOTORUN TAMAMI

   ========================================================================== */

@media (max-width: 640px) {

    /* Genel Sahne */

    .ra-interaction-canvas[data-archetype] {

        min-height: auto;

        gap: 16px;

        padding: 16px 8px;

    }



    /* 1. ARENA */

    .ra-archetype-arena .ra-btn-command {

        min-height: 76px;

        font-size: 1.35rem;

        padding: 14px 20px;

    }



    /* 2. DECK */

    .ra-archetype-deck .ra-select-grid,

    .ra-archetype-deck .ra-compare-deck {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .ra-archetype-deck .ra-select-card,

    .ra-archetype-deck .ra-decision-card,

    .ra-archetype-deck .ra-compare-card {

        min-height: 72px;

        padding: 14px 18px;

        font-size: 1.15rem;

    }

    .ra-archetype-deck .ra-badge-letter {

        flex: 0 0 48px;

        width: 48px;

        height: 48px;

        font-size: 1.25rem;

    }

    .ra-archetype-deck .ra-verify-statement {

        font-size: 1.15rem;

        padding: 14px 16px;

    }

    .ra-archetype-deck .ra-verify-deck {

        grid-template-columns: 1fr 1fr;

        gap: 12px;

    }

    .ra-archetype-deck .ra-verify-deck button {

        min-height: 64px;

        font-size: 1.15rem;

    }



    /* 3. BOARD */

    .ra-archetype-board .ra-drag-item {

        min-width: 100%;

        min-height: 64px;

        padding: 12px 18px;

        font-size: 1.15rem;

    }

    .ra-archetype-board .ra-drop-box {

        min-height: 120px;

        width: 100%;

        padding: 14px;

    }

    .ra-archetype-board .ra-match-grid {

        grid-template-columns: 1fr 1fr;

        gap: 10px;

    }

    .ra-archetype-board .ra-match-node {

        min-height: 64px;

        padding: 10px 8px;

        font-size: 1.05rem;

    }

    .ra-archetype-board .ra-match-visual-card {

        min-height: 72px;

        padding: 8px 10px;

        gap: 8px;

    }

    .ra-archetype-board .ra-match-visual-icon-box {

        width: 38px;

        height: 38px;

        font-size: 1.5rem;

    }

    .ra-archetype-board .ra-classify-bucket {

        min-height: 130px;

        width: 100%;

        padding: 14px;

    }

    .ra-archetype-board .ra-connect-source-card {

        padding: 12px 16px;

        min-height: 68px;

    }

    .ra-archetype-board .ra-connect-port-btn {

        min-height: 64px;

        padding: 12px 16px;

        font-size: 1.1rem;

    }

    .ra-archetype-board .ra-order-item {

        min-height: 64px;

        padding: 10px 14px;

        font-size: 1.1rem;

    }

    .ra-archetype-board .ra-order-num {

        width: 38px;

        height: 38px;

        font-size: 1.15rem;

    }

    .ra-archetype-board .ra-btn-arrow {

        min-width: 44px;

        min-height: 44px;

        font-size: 1.1rem;

    }



    /* 4. STUDIO */

    .ra-archetype-studio .ra-paint-grid {

        grid-template-columns: repeat(var(--ra-paint-cols, 3), 78px);

        gap: 8px;

        padding: 12px;

    }

    .ra-archetype-studio .ra-paint-cell {

        width: 78px;

        height: 78px;

        border-radius: 10px;

    }

    .ra-archetype-studio .ra-paint-num {

        font-size: 1.3rem;

    }

    .ra-archetype-studio .ra-paint-create .ra-btn-next-step {

        min-height: 56px;

        font-size: 1.15rem;

        width: 100%;

        max-width: 320px;

    }

    .ra-archetype-studio .ra-observe-stage {

        min-height: 200px;

        padding: 14px;

    }

    .ra-archetype-studio .ra-mini-desktop {

        min-height: 220px;

        padding: 12px;

    }

    .ra-archetype-studio .ra-win-close-btn {

        min-width: 44px;

        min-height: 44px;

        font-size: 1.2rem;

    }

    .ra-archetype-studio .ra-debug-codeblock {

        font-size: 1.1rem;

        padding: 14px 16px;

    }

    .ra-archetype-studio .ra-build-canvas {

        min-height: 150px;

        padding: 14px;

    }

    .ra-archetype-studio .ra-build-slot {

        min-width: 120px;

        min-height: 70px;

    }

    .ra-archetype-studio .ra-build-part {

        min-width: 140px;

        min-height: 60px;

        font-size: 1.1rem;

        padding: 10px 16px;

    }

}



/* ==========================================================================

   GRAVITY MASTER EDUCATION STANDARD & DESIGN TOKENS (GRAVITY_02 - GRAVITY_16)

   ========================================================================== */



/* 1. GRAVITY_02 Design Tokens & Surfaces */

:root {

    --ra-color-deep-navy: #102A43;

    --ra-color-sea-blue: #126A8A;

    --ra-color-light-blue: #EAF4FA;

    --ra-color-white: #FFFFFF;

    --ra-color-controlled-cyan: #22B8D6;

    --ra-color-reward-gold: #C99326;



    --ra-space-xs: 4px;

    --ra-space-sm: 8px;

    --ra-space-md: 12px;

    --ra-space-lg: 16px;

    --ra-space-xl: 24px;

    --ra-space-2xl: 32px;

    --ra-space-3xl: 48px;



    --ra-touch-target-min: 48px;

    --ra-type-title: clamp(1.5rem, 2.5vw, 2rem);

    --ra-type-instruction: clamp(1.125rem, 1.8vw, 1.25rem);

    --ra-type-body: 1rem;

}



.ra-learning-scene-workspace {

    background: var(--ra-color-white, #FFFFFF);

    color: var(--ra-color-deep-navy, #102A43);

}



.ra-learning-instruction-area {

    background: var(--ra-color-light-blue, #EAF4FA);

}



.ra-btn-primary-action {

    background: var(--ra-color-sea-blue, #126A8A);

    min-height: 56px;

}



.ra-learning-body {

    grid-template-columns: 176px minmax(0, 1fr) 320px;

    overflow-x: hidden;

    max-width: 100vw;

    box-sizing: border-box;

}



/* 2. GRAVITY_03 Interaction Visual Grammar */

.ra-interactive-item {

    min-height: var(--ra-touch-target-min, 48px);

    min-width: 48px;

    box-sizing: border-box;

    cursor: pointer;

    user-select: none;

    transition: all 0.18s ease;

}

.ra-interactive-item:focus-visible {

    outline: 2px solid var(--ra-color-controlled-cyan, #22B8D6);

    outline-offset: 2px;

}



.ra-target-zone {

    border: 2px dashed var(--ra-accent, #38bdf8);

    transition: border-color 0.2s ease, background 0.2s ease;

}

.ra-target-zone.is-active-target,

.ra-drop-box.is-active-target {

    border-color: var(--ra-color-controlled-cyan, #22B8D6);

}



.is-selected {

    border-color: var(--ra-color-controlled-cyan, #22B8D6);

}



.is-working, .is-draft {

    opacity: 0.95;

}

.is-submitted {

    pointer-events: none;

}



.is-correct, .matched {

    border-color: #10B981;

    color: #10B981;

}



.is-retryable {

    cursor: pointer;

}

.is-disabled {

    opacity: 0.5;

    pointer-events: none;

}



.ra-decorative-element {

    pointer-events: none;

    user-select: none;

}



/* 3. GRAVITY_05 Hero Character Card & 9:16 Frame */

.ra-hero-portrait-frame {

    aspect-ratio: 9 / 16;

    overflow: hidden;

}

.ra-hero-portrait-img {

    width: 100%;

    height: 100%;

    object-position: top center;

    object-fit: cover;

}

.ra-modal-portrait-frame {

    aspect-ratio: 9 / 16;

}



/* 4. GRAVITY_06 Grade 2 Smart Profile Presentation Hooks */

[data-theme="grade-2"], [data-grade="2"], [data-profile="smart"], .ra-grade-2 {

    --ra-profile-name: 'smart';

}

.ra-grade-2 .ra-classify-bucket { min-height: 48px; border-radius: 12px; }

.ra-grade-2 .ra-order-item { min-height: 48px; border-radius: 10px; }

.ra-grade-2 .ra-compare-card { min-height: 48px; border-radius: 12px; }

.ra-grade-2 .ra-verify-card { min-height: 48px; border-radius: 12px; }

.ra-grade-2 .ra-decision-card { min-height: 48px; border-radius: 12px; }



/* 5. GRAVITY_07 Grade 3 Power Profile Presentation Hooks */

[data-theme="grade-3"], [data-grade="3"], [data-profile="power"], .ra-grade-3 {

    --ra-profile-name: 'power';

}

.ra-grade-3 .ra-build-container { min-height: 48px; }

.ra-grade-3 .ra-create-workspace { min-height: 48px; }

.ra-grade-3 .ra-btn-command { min-height: 48px; }

.ra-grade-3 .ra-debug-codeblock { min-height: 48px; }

.ra-grade-3 .ra-verify-card { min-height: 48px; }

.ra-grade-3.is-working { opacity: 0.95; }

.ra-grade-3.is-submitted { pointer-events: none; }



/* 6. GRAVITY_08 Grade 4 Mastery Profile Presentation Hooks */

[data-theme="grade-4"], [data-grade="4"], [data-profile="mastery"], .ra-grade-4, .ra-profile-mastery {

    --ra-profile-name: 'mastery';

}

.ra-grade4-decision-matrix { min-height: 48px; display: grid; gap: 8px; }

.ra-grade4-tradeoff-bar { height: 12px; border-radius: 6px; }

.ra-grade4-compare-grid { display: grid; gap: 12px; }

.ra-grade4-verify-panel { min-height: 48px; }

.ra-grade4-order-timeline { min-height: 48px; }

.ra-grade4-debug-console { font-family: monospace; font-size: 0.9rem; }

.ra-grade4-disclosure { margin-top: 8px; }

.ra-grade-4.is-working { opacity: 0.95; }

.ra-grade-4.is-submitted { pointer-events: none; }



/* 7. GRAVITY_12 Character Speech Motivation */

.ra-hero-speech-bubble {

    position: relative;

    border-radius: 14px;

}

.ra-hero-speech-bubble.ra-speech-appear {

    animation: raSpeechFadeIn 0.28s ease-out;

}

.ra-speech-close-btn {

    cursor: pointer;

    min-width: 32px;

    min-height: 32px;

}



/* 8. GRAVITY_16 Mobile & Tablet Experience Standards */

.ra-touch-target {

    min-height: 48px;

    min-width: 48px;

    box-sizing: border-box;

}



.ra-hero-sidebar {

    position: sticky;

    top: 0;

}



.ra-hero-sidebar.is-mobile-open {

    position: fixed;

    z-index: 1000;

}



.ra-compare-container {

    display: grid;

    gap: 12px;

}



/* NX-QUALITY-13: Touch Targets & Accessibility on Mobile & Tablet */

@media (max-width: 900px) {

    .ra-learning-player .ra-topbar-btn {

        min-height: 44px;

        min-width: 44px;

        padding: 0 12px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        font-size: 0.95rem;

    }

    .ra-learning-player .ra-btn-mobile-hero {

        min-height: 44px;

        min-width: 44px;

    }

    .ra-learning-player .ra-hero-mobile-close {

        min-height: 44px;

        min-width: 44px;

    }

    .ra-learning-player .ra-btn-skip-report {

        min-height: 44px;

        padding: 0 14px;

    }

    .ra-learning-player .ra-deck-previous,

    .ra-learning-player .ra-btn-next-step {

        min-height: 44px;

    }

}



/* NX-QUALITY-13: Broken Media Distinction */

.ra-learning-player .ra-portrait-empty.is-media-error,

.ra-learning-player .ra-chamber-empty.is-media-error {

    border-color: rgba(245, 158, 11, 0.4);

    color: #fde68a;

    background:

        radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.12), transparent 70%),

        rgba(15, 23, 42, 0.85);

}



@media (max-width: 768px) {

    .ra-compare-container {

        grid-template-columns: 1fr !important;

    }

    input.ra-input, textarea.ra-input, input, select, textarea {

        font-size: 16px !important;

        scroll-margin-bottom: 80px;

    }

}



/* =========================================================================

   VIS-01: GÖRÜNÜR OYUN KALİTESİ GELİŞTİRMELERİ (U01, U02, U08, U17, U23, U30)

   ========================================================================= */



/* 1. U01: LAPTOP CHASSIS & MEKANİK GÜÇ DÜĞMESİ */

.ra-learning-player .ra-laptop-chassis-stage {

    display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 580px; margin: 0 auto;

}

.ra-learning-player .ra-laptop-screen-unit {

    width: 100%;

}

.ra-learning-player .ra-laptop-screen-bezel {

    border-radius: 12px 12px 2px 2px; background: #0b152d; border: 2px solid #334155;

    padding: 6px 10px 8px 10px; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,.4);

}

.ra-learning-player .ra-laptop-webcam {

    width: 5px; height: 5px; border-radius: 50%; background: #475569; margin: 0 auto 5px auto;

}

.ra-learning-player .ra-laptop-screen-display {

    height: 125px; border-radius: 6px; display: flex; align-items: center; justify-content: center;

    text-align: center; transition: all .35s ease; padding: 10px; overflow: hidden;

}

.ra-learning-player .ra-laptop-screen-display.is-standby {

    background: radial-gradient(circle, #0e1e40 0%, #030816 100%); border: 1px solid rgba(34,211,238,.2);

}

.ra-learning-player .ra-laptop-standby-logo {

    display: flex; flex-direction: column; align-items: center; gap: 4px; color: #64748b;

}

.ra-learning-player .ra-standby-power-glyph {

    color: #38bdf8; animation: ra-pulse-slow 2s infinite ease-in-out;

}

@keyframes ra-pulse-slow { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.ra-learning-player .ra-standby-title {

    font-size: .85rem; font-weight: 800; color: #94a3b8; letter-spacing: .08em;

}

.ra-learning-player .ra-standby-desc {

    font-size: .75rem; color: #475569;

}

.ra-learning-player .ra-laptop-screen-display.is-booted {

    background: radial-gradient(circle, #102a5e 0%, #071330 100%);

    border: 1px solid var(--ra-accent); box-shadow: inset 0 0 20px rgba(34,211,238,.35), 0 0 16px rgba(34,211,238,.2);

}

.ra-learning-player .ra-screen-active-header {

    font-size: .75rem; font-weight: 800; color: var(--ra-accent); letter-spacing: .1em; display: flex; align-items: center; justify-content: center; gap: 6px;

}

.ra-learning-player .ra-screen-pulse-dot {

    color: #10b981; animation: ra-blink 1s infinite;

}

@keyframes ra-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.ra-learning-player .ra-screen-welcome-body {

    display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 4px;

}

.ra-learning-player .ra-screen-neximus-core {

    font-size: 1.3rem;

}

.ra-learning-player .ra-screen-welcome-title {

    margin: 2px 0 0; font-size: 1rem; font-weight: 900; color: #fff; text-shadow: 0 0 10px var(--ra-accent);

}

.ra-learning-player .ra-screen-welcome-desc {

    margin: 0; font-size: .76rem; color: #cfe3ff;

}



/* Laptop Gövde / Klavye Tablası */

.ra-learning-player .ra-laptop-base-deck {

    width: 100%;

}

.ra-learning-player .ra-laptop-keyboard-surface {

    background: linear-gradient(180deg, #1e293b, #0f172a);

    border-radius: 2px 2px 14px 14px; border: 2px solid #475569;

    padding: 8px 12px; display: flex; flex-direction: column; gap: 8px;

    box-shadow: 0 8px 20px rgba(0,0,0,.45);

}

.ra-learning-player .ra-laptop-top-panel {

    display: flex; justify-content: space-between; align-items: center; min-height: 40px;

}

.ra-learning-player .ra-laptop-chassis-brand {

    font-size: .72rem; font-weight: 900; letter-spacing: .14em; color: #94a3b8;

}

.ra-learning-player .ra-laptop-power-area {

    display: flex; align-items: center; gap: 8px;

}

.ra-learning-player .ra-power-led {

    width: 9px; height: 9px; border-radius: 50%; background: #334155; border: 1px solid rgba(255,255,255,.2); transition: all .3s ease;

}

.ra-learning-player .ra-power-led.is-on {

    background: #10b981; box-shadow: 0 0 10px #10b981, 0 0 4px #fff;

}

.ra-learning-player .ra-laptop-power-button {

    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 14px;

    border-radius: 10px; background: linear-gradient(180deg, #334155, #1e293b);

    border: 2px solid #64748b; color: #fff; font-size: .95rem; font-weight: 800; cursor: pointer;

    box-shadow: 0 3px 0 #0f172a, 0 4px 10px rgba(0,0,0,.4); transition: all .15s ease;

}

.ra-learning-player .ra-laptop-power-button:hover {

    border-color: var(--ra-accent); transform: translateY(-1px); box-shadow: 0 4px 0 #0f172a, 0 0 12px rgba(34,211,238,.4);

}

.ra-learning-player .ra-laptop-power-button:active,

.ra-learning-player .ra-laptop-power-button.is-pressed {

    transform: translateY(2px); box-shadow: 0 1px 0 #0f172a; border-color: #10b981; background: #064e3b;

}

.ra-learning-player .ra-power-symbol-icon {

    width: 28px; height: 28px; display: grid; place-items: center; color: #38bdf8;

}

.ra-learning-player .ra-laptop-power-button.is-pressed .ra-power-symbol-icon {

    color: #10b981;

}



/* Dekoratif Klavye Tuşları */

.ra-learning-player .ra-laptop-keys-grid {

    display: flex; flex-direction: column; gap: 3px; background: rgba(0,0,0,.25); padding: 5px; border-radius: 6px;

}

.ra-learning-player .ra-kb-row {

    display: flex; gap: 3px; justify-content: center;

}

.ra-learning-player .ra-kb-k {

    font-size: .62rem; font-weight: 700; color: #64748b; background: #1e293b; border: 1px solid #334155;

    border-radius: 3px; padding: 2px 5px; flex: 1; text-align: center; box-shadow: 0 1px 0 #0f172a;

}

.ra-learning-player .ra-k-space {

    flex: 6; font-size: .6rem; color: #475569;

}

.ra-learning-player .ra-laptop-accessory-deck {

    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.08);

}

.ra-learning-player .ra-deck-subprompt {

    font-size: .72rem; font-weight: 800; color: #64748b; letter-spacing: .04em;

}

.ra-learning-player .ra-deck-decoy-grid {

    display: flex; gap: 8px;

}

.ra-learning-player .ra-laptop-decoy-btn {

    min-height: 38px; padding: 4px 10px; font-size: .8rem; font-weight: 700;

}



/* 2. U02: LAPTOP YAN PORTLARI & ŞARJ KABLOSU */

.ra-learning-player .ra-laptop-ports-stage {

    display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 600px; margin: 0 auto;

}

.ra-learning-player .ra-laptop-chassis-side {

    background: linear-gradient(180deg, #1e293b, #0f172a);

    border: 2px solid #475569; border-radius: 14px; padding: 12px 14px;

    box-shadow: 0 6px 20px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 10px;

}

.ra-learning-player .ra-chassis-titlebar {

    display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 800; color: #94a3b8;

}

.ra-learning-player .ra-ports-deck {

    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;

}

.ra-learning-player .ra-port-slot {

    background: #ffffff; border: 2.5px solid #cbd5e1; border-radius: 12px; padding: 12px 8px;

    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;

    cursor: pointer; transition: all .18s ease; position: relative; width: 100%;

}

.ra-learning-player .ra-port-slot:hover {

    border-color: #38bdf8; background: #f0f9ff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(56,189,248,.2);

}

.ra-learning-player .ra-port-slot.is-dragover {

    border-color: var(--ra-accent); background: #e0f2fe; transform: scale(1.03);

}

.ra-learning-player .ra-port-slot.is-connected {

    border-color: #10b981; background: #ecfdf5; box-shadow: 0 0 16px rgba(16,185,129,.35);

}

.ra-learning-player .ra-port-visual {

    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: #f1f5f9;

}

.ra-learning-player .ra-dc-outer-ring {

    width: 30px; height: 30px; border-radius: 50%; border: 3.5px solid #475569; background: #0f172a; display: grid; place-items: center;

}

.ra-learning-player .ra-dc-center-pin {

    width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 4px #f59e0b;

}

.ra-learning-player .ra-audio-outer-ring {

    width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid #64748b; background: #1e293b; display: grid; place-items: center;

}

.ra-learning-player .ra-audio-inner-hole {

    width: 9px; height: 9px; border-radius: 50%; background: #020617;

}

.ra-learning-player .ra-usb-socket-rect {

    width: 34px; height: 16px; border: 2px solid #475569; background: #0f172a; position: relative; border-radius: 2px;

}

.ra-learning-player .ra-usb-tongue-bar {

    position: absolute; top: 0; left: 0; right: 0; height: 7px; background: #2563eb;

}

.ra-learning-player .ra-port-info {

    display: flex; flex-direction: column; gap: 2px;

}

.ra-learning-player .ra-port-title {

    font-size: .88rem; font-weight: 800; color: #0f172a; line-height: 1.1;

}

.ra-learning-player .ra-port-desc {

    font-size: .72rem; font-weight: 600; color: #64748b;

}



/* Kablo Aksamı */

.ra-learning-player .ra-cable-assembly-card {

    background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 12px; padding: 12px 16px;

    display: flex; align-items: center; justify-content: space-between; gap: 14px;

}

.ra-learning-player .ra-cable-kicker {

    font-size: .7rem; font-weight: 900; letter-spacing: .08em; color: #2563eb; text-transform: uppercase;

}

.ra-learning-player .ra-cable-title {

    margin: 2px 0 0; font-size: 1rem; font-weight: 800; color: #0f172a;

}

.ra-learning-player .ra-cable-connector-unit {

    display: flex; align-items: center; gap: 10px; cursor: grab; padding: 6px 12px; border-radius: 10px;

    background: #ffffff; border: 2px dashed #93c5fd; user-select: none; transition: all .15s ease;

}

.ra-learning-player .ra-cable-connector-unit:hover,

.ra-learning-player .ra-cable-connector-unit.is-selected {

    border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 10px rgba(37,99,235,.25);

}

.ra-learning-player .ra-plug-wire {

    width: 24px; height: 5px; background: #334155; border-radius: 2px;

}

.ra-learning-player .ra-plug-barrel {

    display: flex; align-items: center;

}

.ra-learning-player .ra-plug-grip {

    width: 20px; height: 14px; background: #1e293b; border-radius: 3px 0 0 3px;

}

.ra-learning-player .ra-plug-metal-tip {

    width: 14px; height: 9px; background: linear-gradient(180deg, #e2e8f0, #94a3b8); border: 1px solid #64748b; border-radius: 0 2px 2px 0;

}

.ra-learning-player .ra-plug-action-hint {

    font-size: .8rem; font-weight: 800; color: #2563eb;

}



/* 3. U08: DÜĞME HASSASİYETİ (TACTILE BENCH & SIFIR TAŞMA) */

.ra-learning-player .ra-tactile-decision-stage {

    display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 540px; margin: 0 auto;

}

.ra-learning-player .ra-tactile-bench-preview {

    width: 100%; display: flex; justify-content: center;

}

.ra-learning-player .ra-bench-case {

    background: linear-gradient(180deg, #1e293b, #0f172a); border: 2px solid #475569;

    border-radius: 14px; padding: 10px 20px; display: flex; align-items: center; gap: 16px;

    box-shadow: 0 4px 14px rgba(0,0,0,.35);

}

.ra-learning-player .ra-bench-led {

    width: 12px; height: 12px; border-radius: 50%; background: #334155; border: 1px solid rgba(255,255,255,.2); transition: all .25s ease;

}

.ra-learning-player .ra-bench-led.is-green {

    background: #10b981; box-shadow: 0 0 12px #10b981;

}

.ra-learning-player .ra-bench-led.is-red {

    background: #ef4444; box-shadow: 0 0 12px #ef4444;

}

.ra-learning-player .ra-bench-switch-unit {

    width: 50px; height: 50px; border-radius: 50%; background: #0f172a; border: 3px solid #64748b;

    display: grid; place-items: center; box-shadow: inset 0 2px 6px rgba(0,0,0,.6); transition: all .15s ease;

}

.ra-learning-player .ra-switch-cap {

    width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, #38bdf8, #0284c7);

    display: grid; place-items: center; color: #fff; box-shadow: 0 3px 0 #0369a1; transition: all .15s ease;

}

.ra-learning-player .ra-bench-switch-unit.is-pressed-gentle .ra-switch-cap {

    transform: translateY(2px); box-shadow: 0 1px 0 #0369a1; background: linear-gradient(180deg, #34d399, #059669);

}

.ra-learning-player .ra-bench-switch-unit.is-hit .ra-switch-cap {

    animation: ra-shake .4s ease-in-out; background: #ef4444; box-shadow: 0 0 14px #ef4444;

}

@keyframes ra-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.ra-learning-player .ra-bench-label {

    font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: #94a3b8;

}

.ra-learning-player .ra-tactile-choices-deck {

    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%;

}

.ra-learning-player .ra-tactile-card {

    min-height: 95px; max-height: 125px; padding: 10px 12px; display: flex; flex-direction: column;

    align-items: center; text-align: center; gap: 4px; border-radius: 12px; cursor: pointer; transition: all .15s ease;

}

.ra-learning-player .ra-tactile-card-header {

    width: 100%; display: flex; justify-content: space-between; align-items: center;

}

.ra-learning-player .ra-tactile-tag {

    font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: #64748b;

}

.ra-learning-player .ra-tactile-label {

    font-size: .95rem; font-weight: 800; color: #0f172a; line-height: 1.15;

}

.ra-learning-player .ra-tactile-detail {

    font-size: .72rem; color: #475569;

}



/* 4. U17: DUVAR PRİZİ VE GERÇEK ADAPTÖR SNAP ALANI */

.ra-learning-player .ra-wall-outlet-stage {

    display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto;

}

.ra-learning-player .ra-outlet-instruction-bar {

    display: flex; justify-content: space-between; align-items: center; font-size: .76rem; font-weight: 800; color: #475569;

}

.ra-learning-player .ra-outlet-grid {

    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start;

}

.ra-learning-player .ra-power-plug-card {

    background: #ffffff; border: 2.5px solid #3b82f6; border-radius: 14px; padding: 14px;

    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;

    cursor: grab; box-shadow: 0 4px 12px rgba(37,99,235,.15); transition: all .15s ease;

}

.ra-learning-player .ra-power-plug-card:hover,

.ra-learning-player .ra-power-plug-card.is-selected {

    transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 6px 16px rgba(37,99,235,.25);

}

.ra-learning-player .ra-plug-icon-box {

    width: 60px; height: 60px; display: grid; place-items: center;

}

.ra-learning-player .ra-plug-label {

    font-size: .95rem; font-weight: 800; color: #0f172a;

}

.ra-learning-player .ra-plug-subhint {

    font-size: .74rem; font-weight: 600; color: #2563eb;

}

.ra-learning-player .ra-outlet-targets-zone {

    display: flex; flex-direction: column; gap: 10px;

}

.ra-learning-player .ra-outlet-receptacle {

    background: #ffffff; border: 2.5px dashed #94a3b8; border-radius: 14px; padding: 12px 14px;

    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;

    cursor: pointer; min-height: 110px; transition: all .15s ease;

}

.ra-learning-player .ra-outlet-receptacle:hover,

.ra-learning-player .ra-outlet-receptacle.hovered {

    border-color: #38bdf8; background: #f0f9ff;

}

.ra-learning-player .ra-outlet-receptacle.is-correct {

    border-color: #10b981; border-style: solid; background: #ecfdf5;

}

.ra-learning-player .ra-receptacle-face {

    display: flex; flex-direction: column; align-items: center; gap: 4px;

}

.ra-learning-player .ra-receptacle-badge {

    font-size: .7rem; font-weight: 900; letter-spacing: .06em; color: #2563eb;

}

.ra-learning-player .ra-receptacle-badge.is-audio {

    color: #8b5cf6;

}

.ra-learning-player .ra-receptacle-holes {

    display: flex; gap: 10px; padding: 6px 12px; background: #f1f5f9; border-radius: 999px; border: 2px solid #cbd5e1;

}

.ra-learning-player .ra-prong-hole {

    width: 8px; height: 8px; border-radius: 50%; background: #0f172a; display: block;

}

.ra-learning-player .ra-audio-pinhole {

    width: 10px; height: 10px; border-radius: 50%; background: #0f172a; border: 2px solid #64748b;

}



/* 5. U23: TABLET KİLİT EKRANI & SWIPE-UP GESTURE */

.ra-learning-player .ra-tablet-lockscreen-stage {

    display: flex; justify-content: center; width: 100%;

}

.ra-learning-player .ra-tablet-frame-bezel {

    width: 100%; max-width: 400px; border-radius: 24px; background: #0f172a; border: 3.5px solid #334155;

    padding: 12px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05); margin: 0 auto;

}

.ra-learning-player .ra-tablet-webcam-dot {

    width: 6px; height: 6px; border-radius: 50%; background: #475569; margin: 0 auto 8px auto;

}

.ra-learning-player .ra-tablet-screen-surface {

    min-height: 290px; height: clamp(280px, 38vh, 340px); border-radius: 16px; background: linear-gradient(180deg, #09132e, #04091a);

    padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between;

    position: relative; overflow: hidden; border: 1px solid rgba(34,211,238,.2);

}

.ra-learning-player .ra-tablet-screen-surface.is-unlocked-surface {

    background: radial-gradient(circle, #0e2a5e 0%, #06112c 100%);

    border-color: #10b981; box-shadow: inset 0 0 20px rgba(16,185,129,.25);

}

.ra-learning-player .ra-tablet-status-bar {

    display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; color: #94a3b8;

}

.ra-learning-player .ra-tablet-lock-header {

    display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 4px;

}

.ra-learning-player .ra-lock-badge-icon {

    width: 40px; height: 40px; display: grid; place-items: center; color: #38bdf8;

}

.ra-learning-player .ra-tablet-subdate {

    font-size: .75rem; color: #64748b; font-weight: 700;

}

.ra-learning-player .ra-swipe-gesture-rail {

    height: 120px; width: 68px; margin: 0 auto; border-radius: 34px;

    background: rgba(255,255,255,.06); border: 1.5px dashed rgba(34,211,238,.35);

    position: relative; display: flex; flex-direction: column; justify-content: space-between;

    align-items: center; padding: 4px;

}

.ra-learning-player .ra-lock-unlock-zone {

    width: 100%; min-height: 24px; padding: 0; border: 0; background: transparent; text-align: center;

}

.ra-learning-player .ra-unlock-target-text {

    font-size: .62rem; font-weight: 900; color: var(--ra-accent); letter-spacing: .06em;

}

.ra-learning-player .ra-swipe-chevrons {

    display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .65rem; color: rgba(34,211,238,.5); animation: ra-chevs 1.5s infinite;

}

@keyframes ra-chevs { 0%, 100% { opacity: .2; transform: translateY(3px); } 50% { opacity: 1; transform: translateY(-3px); } }

.ra-learning-player .ra-swipe-puck {

    width: 50px; height: 42px; border-radius: 21px; background: linear-gradient(180deg, #38bdf8, #0284c7);

    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;

    color: #fff; cursor: grab; box-shadow: 0 0 10px rgba(56,189,248,.6); touch-action: none;

    transition: transform .12s ease-out; min-height: 42px; padding: 0; border: 0;

}

.ra-learning-player .ra-puck-icon {

    font-size: .85rem; line-height: 1;

}

.ra-learning-player .ra-puck-label {

    font-size: .55rem; font-weight: 800; letter-spacing: .02em;

}

.ra-learning-player .ra-tablet-a11y-unlock-btn {

    min-height: 44px; padding: 6px 14px; border-radius: 10px; background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.2); color: #cbd5e1; font-size: .78rem; font-weight: 700; cursor: pointer;

}

.ra-learning-player .ra-tablet-unlocked-toast {

    position: absolute; inset: 20px; border-radius: 12px; background: rgba(6,78,59,.92); border: 2px solid #10b981;

    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; font-size: .85rem; box-shadow: 0 0 16px rgba(16,185,129,.4);

}



/* 6. U30: AURA UYANIŞ KAPSÜLÜ & DÜRÜST BLOCKED_MEDIA BİLDİRİMİ */

.ra-learning-player .ra-awakening-chamber-stage {

    display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 620px; margin: 0 auto;

}

.ra-learning-player .ra-awakening-capsule-box {

    width: 100%; border-radius: 16px; border: 2px solid rgba(34,211,238,.4);

    background: linear-gradient(180deg, #0d1b46, #07102e); padding: 18px; text-align: center;

    box-shadow: 0 0 24px rgba(34,211,238,.18); display: flex; flex-direction: column; gap: 14px; align-items: center;

}

.ra-learning-player .ra-awakening-status-pill {

    display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px;

    background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); font-size: .8rem; font-weight: 800; color: var(--ra-accent);

}

.ra-learning-player .ra-status-dot.is-active {

    color: #10b981; text-shadow: 0 0 8px #10b981;

}

.ra-learning-player .ra-awakening-capsule-pod {

    width: 100%; min-height: 150px; display: grid; place-items: center; border-radius: 14px;

    background: rgba(0,0,0,.35); border: 1px dashed rgba(34,211,238,.3); padding: 16px;

}

.ra-learning-player .ra-chamber-empty.is-blocked-media {

    border-color: rgba(245,158,11,.45);

    background: radial-gradient(ellipse at 50% 50%, rgba(245,158,11,.1), transparent 70%), rgba(15,23,42,.85);

    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; text-align: center;

}

.ra-learning-player .ra-chamber-media-pill {

    padding: 3px 10px; border-radius: 999px; background: rgba(245,158,11,.2); border: 1px solid #f59e0b;

    color: #fbbf24; font-size: .74rem; font-weight: 900; letter-spacing: .06em;

}

.ra-learning-player .ra-chamber-empty-desc {

    margin: 0; font-size: .75rem; color: #cbd5e1; line-height: 1.35;

}



/* =========================================================================

   ROBO NEXİMUS AKILLI SAHNE SİSTEMİ (SMART SCENE SYSTEM v1)

   Yeniden Kullanılabilir Sahne Düzenleri, Görsel Hiyerarşi & Ölçek Standartları

   ========================================================================= */



/* 1. ORTAK TASARIM SİSTEMİ TOKENS & GÖRSEL HİYERARŞİ */

.ra-learning-player {

    --ra-smart-badge-size: 26px;

    --ra-smart-badge-font: 0.74rem;

    --ra-smart-hero-height: 120px;

    --ra-smart-card-radius: 16px;

    --ra-smart-card-border: 2.5px solid var(--ra-stage-line, #bcd0f0);

    --ra-smart-card-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    --ra-smart-card-shadow: 0 4px 0 #c5d6f2, 0 6px 16px rgba(15,35,80,.08);

}



/* KÜÇÜK VE İKİNCİL HARF ROZETİ (A/B/C) - ORTAK TASARIM SİSTEMİ STANDARDI */

.ra-learning-player .ra-smart-badge,

.ra-learning-player .ra-badge-letter,

.ra-learning-player .ra-select-card .ra-badge-letter,

.ra-learning-player .ra-compare-card .ra-badge-letter {

    flex: 0 0 var(--ra-smart-badge-size, 26px) !important;

    width: var(--ra-smart-badge-size, 26px) !important;

    height: var(--ra-smart-badge-size, 26px) !important;

    min-height: var(--ra-smart-badge-size, 26px) !important;

    padding: 0 !important;

    font-size: var(--ra-smart-badge-font, 0.74rem) !important;

    font-weight: 900 !important;

    border-radius: 8px !important;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 4px rgba(0,0,0,.15) !important;

}



/* ANA EĞİTİM NESNESİ (HERO VISUAL): BÜYÜK, ANLAŞILIR, MERKEZİ */

.ra-learning-player .ra-card-hero-visual,

.ra-learning-player .ra-select-card .ra-card-icon,

.ra-learning-player .ra-compare-card .ra-compare-visual {

    width: 100% !important;

    height: var(--ra-smart-hero-height, 120px) !important;

    max-height: var(--ra-smart-hero-height, 120px) !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    margin: 4px 0 !important;

}



.ra-learning-player .ra-card-hero-visual svg,

.ra-learning-player .ra-select-card .ra-card-icon svg,

.ra-learning-player .ra-compare-card .ra-compare-visual svg,

.ra-learning-player .ra-card-hero-visual img,

.ra-learning-player .ra-select-card .ra-card-icon img,

.ra-learning-player .ra-compare-card .ra-compare-visual img {

    max-width: 100% !important;

    max-height: 100% !important;

    width: auto !important;

    height: 100% !important;

    object-fit: contain !important;

}



/* 2. YENİDEN KULLANILABİLİR SAHNE SINIFLARI */



/* --- SAHNE 1: KARŞILAŞTIRMA & KART IZGARASI (.ra-smart-scene--comparison) --- */

.ra-learning-player .ra-smart-scene--comparison {

    width: 100%;

    max-width: 820px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 14px;

}



.ra-learning-player .ra-smart-scene--comparison .ra-select-grid,

.ra-learning-player .ra-smart-scene--comparison .ra-compare-deck {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 14px;

    width: 100%;

}



.ra-learning-player .ra-smart-card,

.ra-learning-player .ra-smart-scene .ra-select-card,

.ra-learning-player .ra-smart-scene .ra-compare-card,

.ra-learning-player .ra-smart-scene .ra-decision-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 8px;

    padding: 12px 14px;

    min-height: 140px;

    background: var(--ra-smart-card-bg);

    border: var(--ra-smart-card-border);

    border-radius: var(--ra-smart-card-radius);

    box-shadow: var(--ra-smart-card-shadow);

    cursor: pointer;

    position: relative;

    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;

}



.ra-learning-player .ra-smart-card:hover,

.ra-learning-player .ra-smart-scene .ra-select-card:hover,

.ra-learning-player .ra-smart-scene .ra-compare-card:hover,

.ra-learning-player .ra-smart-scene .ra-decision-card:hover {

    transform: translateY(-2px);

    border-color: var(--ra-accent-2, #3b82f6);

    box-shadow: 0 6px 0 #9bb8ec, 0 10px 20px rgba(37,99,235,.15);

}



.ra-learning-player .ra-smart-card.selected,

.ra-learning-player .ra-smart-card.is-selected,

.ra-learning-player .ra-smart-scene .ra-select-card.selected,

.ra-learning-player .ra-smart-scene .ra-select-card.is-selected,

.ra-learning-player .ra-smart-scene .ra-compare-card.selected,

.ra-learning-player .ra-smart-scene .ra-compare-card.is-selected,

.ra-learning-player .ra-smart-scene .ra-decision-card.selected,

.ra-learning-player .ra-smart-scene .ra-decision-card.is-selected {

    border-color: var(--ra-accent-2, #3b82f6);

    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);

    box-shadow: 0 0 0 3px rgba(59,130,246,.3), 0 3px 0 #7da4ea;

}



.ra-learning-player .ra-card-topbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

}



.ra-learning-player .ra-smart-scene .ra-card-label,

.ra-learning-player .ra-smart-scene .ra-smart-title {

    font-size: 1.05rem;

    font-weight: 800;

    color: var(--ra-stage-ink, #0f172a);

    line-height: 1.25;

    margin-top: 2px;

}



/* --- SAHNE 2: GÖZLEM & DURUM İNCELEME (.ra-smart-scene--inspection) --- */

.ra-learning-player .ra-smart-scene--inspection {

    display: flex;

    flex-direction: column;

    gap: 12px;

    width: 100%;

    max-width: 720px;

    margin: 0 auto;

}



.ra-learning-player .ra-inspection-focal {

    background: linear-gradient(180deg, #1e293b, #0f172a);

    border: 2px solid #475569;

    border-radius: 14px;

    padding: 12px 16px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    box-shadow: 0 6px 18px rgba(0,0,0,.35);

}



.ra-learning-player .ra-inspection-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    font-size: .74rem;

    font-weight: 800;

    color: #94a3b8;

}



.ra-learning-player .ra-inspection-status-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 3px 10px;

    border-radius: 999px;

    background: rgba(34,211,238,.12);

    border: 1px solid rgba(34,211,238,.3);

    color: var(--ra-accent, #38bdf8);

    font-size: .72rem;

    font-weight: 900;

    letter-spacing: .06em;

}



.ra-learning-player .ra-inspection-bezel {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px 24px;

    background: #090e1c;

    border: 2px solid #334155;

    border-radius: 12px;

    box-shadow: inset 0 2px 8px rgba(0,0,0,.6);

    min-height: 70px;

}



.ra-learning-player .ra-inspection-bezel .ra-inspection-glow-icon {

    width: 54px;

    height: 54px;

    display: grid;

    place-items: center;

    filter: drop-shadow(0 0 10px rgba(16,185,129,.7));

}



.ra-learning-player .ra-inspection-bezel .ra-inspection-glow-icon svg {

    max-width: 100%;

    max-height: 100%;

}



.ra-learning-player .ra-inspection-caption {

    font-size: .84rem;

    color: #cbd5e1;

    font-weight: 600;

    text-align: center;

}



.ra-learning-player .ra-inspection-deck {

    width: 100%;

}



.ra-learning-player .ra-inspection-deck .ra-select-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 10px;

}



/* --- SAHNE 3: İNTERAKTİF EKRAN & KOMUT (.ra-smart-scene--display) --- */

.ra-learning-player .ra-smart-scene--display {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    width: 100%;

    max-width: 560px;

    margin: 0 auto;

}



.ra-learning-player .ra-display-bezel {

    width: 100%;

    border-radius: 14px;

    background: #0b152d;

    border: 2px solid #334155;

    padding: 8px 10px;

    box-shadow: 0 8px 22px rgba(0,0,0,.45);

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.ra-learning-player .ra-display-status-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: .72rem;

    font-weight: 800;

    color: #64748b;

    padding: 0 4px;

}



.ra-learning-player .ra-display-surface {

    height: 140px;

    border-radius: 8px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 12px;

    cursor: pointer;

    transition: all .35s ease;

    user-select: none;

}



.ra-learning-player .ra-display-surface.is-sleep {

    background: radial-gradient(circle, #0e1e40 0%, #030816 100%);

    border: 1px solid rgba(34,211,238,.2);

    color: #94a3b8;

}



.ra-learning-player .ra-display-surface.is-sleep .ra-display-glyph {

    font-size: 2.2rem;

    animation: ra-pulse-slow 2s infinite ease-in-out;

}



.ra-learning-player .ra-display-surface.is-awake {

    background: radial-gradient(circle, #102a5e 0%, #071330 100%);

    border: 1.5px solid var(--ra-accent);

    box-shadow: inset 0 0 24px rgba(34,211,238,.35), 0 0 18px rgba(34,211,238,.25);

    color: #ffffff;

}



.ra-learning-player .ra-display-surface.is-awake .ra-display-glyph {

    font-size: 2.2rem;

    text-shadow: 0 0 12px var(--ra-accent);

}



.ra-learning-player .ra-display-prompt {

    font-size: .82rem;

    font-weight: 700;

    margin-top: 4px;

}



.ra-learning-player .ra-display-controls {

    width: 100%;

}



.ra-learning-player .ra-btn-display-wake {

    width: 100%;

    min-height: 48px;

    border-radius: 12px;

    background: linear-gradient(180deg, var(--ra-accent-2, #3b82f6), #1d4ed8);

    border: 2px solid #93c5fd;

    color: #ffffff;

    font-size: 1rem;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(37,99,235,.35);

    transition: all .15s ease;

}



.ra-learning-player .ra-btn-display-wake:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(37,99,235,.45);

    border-color: #ffffff;

}



.ra-learning-player .ra-btn-display-wake.is-active {

    background: linear-gradient(180deg, #10b981, #059669);

    border-color: #6ee7b7;

    box-shadow: 0 0 16px rgba(16,185,129,.45);

}



/* --- SAHNE 4: FİZİKSEL TEZGAH & PORTLAR (.ra-smart-scene--workbench) --- */

.ra-learning-player .ra-smart-scene--workbench {

    width: 100%;

    max-width: 600px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 10px;

}



/* --- AŞAMA 3B: CİHAZ İNCELEME TEZGAHI (U03 Device Workstation) --- */

.ra-learning-player .ra-device-workstation-focal {

    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);

    border: 2px solid #334155;

    border-radius: 16px;

    padding: 14px 18px;

    width: 100%;

    max-width: 580px;

    margin: 0 auto;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

}



.ra-learning-player .ra-device-chassis-bezel {

    width: 100%;

    max-width: 420px;

    background: #0b1329;

    border: 3px solid #1e293b;

    border-radius: 14px;

    padding: 10px 12px;

    margin: 6px auto;

    box-shadow: inset 0 2px 10px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);

}



.ra-learning-player .ra-device-chassis-screen {

    background: #020617;

    border: 2px solid #1e3a8a;

    border-radius: 8px;

    padding: 14px 12px;

    margin-bottom: 8px;

    display: flex;

    justify-content: center;

    align-items: center;

    box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.15);

}



.ra-learning-player .ra-device-screen-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

}



.ra-learning-player .ra-device-boot-logo {

    animation: ra-pulse 2s infinite ease-in-out;

}



.ra-learning-player .ra-device-boot-text {

    font-size: 0.76rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    color: #38bdf8;

    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);

}



.ra-learning-player .ra-device-chassis-deck {

    background: #0f172a;

    border: 1.5px solid #334155;

    border-radius: 8px;

    padding: 8px 12px;

}



.ra-learning-player .ra-device-power-strip {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}



.ra-learning-player .ra-device-chassis-btn {

    width: 32px;

    height: 32px;

    border-radius: 8px;

    background: #1e293b;

    border: 1.5px solid #475569;

    color: #94a3b8;

    display: grid;

    place-items: center;

}



.ra-learning-player .ra-device-led-callout {

    display: flex;

    align-items: center;

    gap: 8px;

    background: rgba(15, 23, 42, 0.8);

    border: 1.5px solid #334155;

    border-radius: 20px;

    padding: 4px 12px;

}



.ra-learning-player .ra-device-indicator-led {

    width: 28px;

    height: 28px;

    display: grid;

    place-items: center;

}



.ra-learning-player .ra-device-indicator-led svg {

    max-width: 100%;

    max-height: 100%;

}



.ra-learning-player .ra-device-indicator-led.is-active-pulse {

    filter: drop-shadow(0 0 8px #10b981);

    animation: ra-pulse 1.8s infinite ease-in-out;

}



.ra-learning-player .ra-device-callout-text {

    font-size: 0.78rem;

    font-weight: 800;

    color: #e2e8f0;

}



/* --- AŞAMA 3B: GÜVENLİK VE GİZLİLİK KARTLARI (U13 & U20) --- */

.ra-learning-player .ra-safety-card--electric {

    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);

    border: 2px solid #f59e0b;

    border-radius: 14px;

    padding: 12px 14px;

    width: 100%;

    max-width: 520px;

    margin: 0 auto;

    text-align: center;

    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);

}



.ra-learning-player .ra-safety-banner,

.ra-learning-player .ra-privacy-banner {

    margin-bottom: 8px;

}



.ra-learning-player .ra-safety-badge {

    display: inline-block;

    padding: 3px 12px;

    border-radius: 999px;

    background: #d97706;

    color: #fff;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.04em;

}



.ra-learning-player .ra-safety-frame {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    background: #fff;

    border: 1.5px dashed #f59e0b;

    border-radius: 12px;

    padding: 10px 16px;

    margin-bottom: 8px;

}



.ra-learning-player .ra-safety-danger-item,

.ra-learning-player .ra-safety-target-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

}



.ra-learning-player .ra-safety-icon {

    font-size: 1.7rem;

    line-height: 1;

}



.ra-learning-player .ra-safety-label {

    font-size: 0.75rem;

    font-weight: 800;

    color: #78350f;

}



.ra-learning-player .ra-safety-cross {

    font-size: 1rem;

    font-weight: 900;

    color: #ef4444;

    padding: 4px 8px;

    background: #fee2e2;

    border-radius: 8px;

}



.ra-learning-player .ra-safety-caption,

.ra-learning-player .ra-privacy-caption {

    font-size: 0.8rem;

    font-weight: 600;

    color: #78350f;

    line-height: 1.35;

    margin: 0;

}



.ra-learning-player .ra-privacy-card--shield {

    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);

    border: 2px solid #10b981;

    border-radius: 14px;

    padding: 12px 14px;

    width: 100%;

    max-width: 520px;

    margin: 0 auto;

    text-align: center;

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);

}



.ra-learning-player .ra-privacy-badge {

    display: inline-block;

    padding: 3px 12px;

    border-radius: 999px;

    background: #059669;

    color: #fff;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.04em;

}



.ra-learning-player .ra-privacy-frame {

    display: flex;

    justify-content: center;

    background: #fff;

    border: 1.5px dashed #10b981;

    border-radius: 12px;

    padding: 10px 16px;

    margin-bottom: 8px;

}



.ra-learning-player .ra-privacy-lock-box {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 1.2rem;

}



.ra-learning-player .ra-privacy-dots {

    font-size: 0.85rem;

    font-weight: 900;

    letter-spacing: 0.12em;

    color: #065f46;

    background: #ecfdf5;

    padding: 4px 10px;

    border-radius: 6px;

    border: 1px solid #a7f3d0;

}



.ra-learning-player .ra-privacy-caption {

    color: #065f46;

}



/* --- AŞAMA 3B: EŞLEŞTİRME EYLEM / ANLAM ROZETİ (U14 & U29) --- */

.ra-learning-player .ra-match-action-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    padding: 3px 10px;

    border-radius: 8px;

    background: #f1f5f9;

    border: 1px solid #cbd5e1;

    color: #475569;

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.05em;

    margin-bottom: 4px;

}



.ra-learning-player .ra-match-node.selected .ra-match-action-badge {

    background: #dbeafe;

    border-color: #93c5fd;

    color: #1d4ed8;

}



.ra-learning-player .ra-match-node.matched .ra-match-action-badge {

    background: #e0f2fe;

    border-color: #7dd3fc;

    color: #0369a1;

}



.ra-learning-player .ra-match-node.matched.is-correct .ra-match-action-badge {

    background: #d1fae5;

    border-color: #6ee7b7;

    color: #065f46;

}



/* --- AŞAMA 3B: ENERJİ ODASI VE STANDBY ÇEKİRDEĞİ (U30) --- */

.ra-learning-player .ra-chamber-standby {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 16px 12px;

    text-align: center;

    gap: 8px;

}



.ra-learning-player .ra-energy-core-beacon {

    position: relative;

    width: 60px;

    height: 60px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: radial-gradient(circle, #38bdf8 0%, #0369a1 70%, transparent 100%);

    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);

}



.ra-learning-player .ra-energy-ring {

    position: absolute;

    inset: -6px;

    border-radius: 50%;

    border: 2px dashed rgba(56, 189, 248, 0.7);

    animation: ra-spin 8s linear infinite;

}



.ra-learning-player .ra-energy-icon {

    font-size: 1.8rem;

    filter: drop-shadow(0 0 6px #fff);

    animation: ra-pulse 1.5s infinite ease-in-out;

}



.ra-learning-player .ra-chamber-standby-title {

    font-size: 0.95rem;

    font-weight: 900;

    color: #38bdf8;

    letter-spacing: 0.05em;

    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);

}



.ra-learning-player .ra-chamber-standby-desc {

    font-size: 0.78rem;

    color: #cbd5e1;

    line-height: 1.4;

    margin: 0;

    max-width: 320px;

}



/* 3. ORTAK RESPONSİVE STANDARTLARI (1440px, 768px, 430px, 390px) */



@media (max-width: 768px) {

    .ra-learning-player {

        --ra-smart-hero-height: 100px;

    }

    .ra-learning-player .ra-smart-scene--comparison .ra-select-grid,

    .ra-learning-player .ra-smart-scene--comparison .ra-compare-deck {

        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

        gap: 10px;

    }

}



@media (max-width: 480px) {

    .ra-learning-player {

        --ra-smart-hero-height: 80px;

        --ra-smart-badge-size: 22px;

        --ra-smart-badge-font: 0.68rem;

    }



    /* Mobilde Üst Menü: Logo, Başlık ve Kontrol Alanları Sıkışmadan Geniş ve Ferah */

    .ra-learning-player .ra-topbar {

        display: grid !important;

        grid-template-columns: auto 1fr auto !important;

        align-items: center !important;

        gap: 4px 8px !important;

        padding: 6px 10px !important;

        min-height: auto !important;

        max-height: none !important;

    }

    .ra-learning-player .ra-topbar-left {

        grid-column: 1 !important;

        grid-row: 1 !important;

        display: flex !important;

        align-items: center !important;

        gap: 6px !important;

        min-width: 0 !important;

    }

    .ra-learning-player .ra-topbar-logo-slot {

        display: flex !important;

        width: 28px !important;

        height: 28px !important;

        flex: 0 0 28px !important;

        border-radius: 8px !important;

    }

    .ra-learning-player .ra-topbar-brand {

        display: flex !important;

        align-items: center !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-topbar-brand-name {

        font-size: 0.85rem !important;

        font-weight: 900 !important;

        white-space: nowrap !important;

        line-height: 1.1 !important;

        display: inline-block !important;

    }

    .ra-learning-player .ra-topbar-brand-name small {

        display: none !important;

    }

    .ra-learning-player .ra-topbar-right {

        grid-column: 3 !important;

        grid-row: 1 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: flex-end !important;

        gap: 6px !important;

        min-width: 0 !important;

    }

    .ra-learning-player .ra-topbar-right .ra-btn-skip-report {

        min-height: 44px !important;

        min-width: 44px !important;

        padding: 0 8px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

    }

    .ra-learning-player .ra-topbar-right .ra-btn-skip-report .ra-skip-text {

        display: none !important;

    }

    .ra-learning-player .ra-topbar-right .ra-topbar-btn {

        min-height: 44px !important;

        min-width: 44px !important;

        padding: 0 8px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

    }

    .ra-learning-player .ra-topbar-right .ra-topbar-btn .ra-btn-text {

        display: none !important;

    }

    .ra-learning-player .ra-topbar-center {

        grid-column: 1 / -1 !important;

        grid-row: 2 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 2px !important;

        min-width: 0 !important;

        overflow: hidden !important;

        width: 100% !important;

        margin-top: 2px !important;

    }

    .ra-learning-player .ra-topbar-lesson-title {

        font-size: 0.85rem !important;

        line-height: 1.2 !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        text-align: center !important;

    }

    .ra-learning-player .ra-topbar-grade-badge {

        display: none !important;

    }

    .ra-learning-player .ra-topbar-progress-box {

        width: 100% !important;

        gap: 2px !important;

    }

    .ra-learning-player .ra-topbar-progress-rail {

        height: 4px !important;

    }

    .ra-learning-player .ra-topbar-progress-meta {

        font-size: 0.65rem !important;

        line-height: 1 !important;

    }



    /* Doğrulama Butonları (Verify Choice Buttons): Metinler Kart Sınırları İçinde Eksiksiz ve Okunabilir */

    .ra-learning-player .ra-verify-deck {

        display: flex !important;

        flex-direction: column !important;

        gap: 8px !important;

        width: 100% !important;

        max-width: 100% !important;

    }

    .ra-learning-player .ra-verify-choice-btn {

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        justify-content: flex-start !important;

        gap: 12px !important;

        padding: 10px 14px !important;

        min-height: 48px !important;

        width: 100% !important;

        border-radius: 14px !important;

        box-sizing: border-box !important;

    }

    .ra-learning-player .ra-verify-choice-btn .ra-badge-letter {

        width: 30px !important;

        height: 30px !important;

        min-width: 30px !important;

        font-size: 0.85rem !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        margin: 0 !important;

    }

    .ra-learning-player .ra-verify-choice-icon {

        font-size: 1.2rem !important;

        line-height: 1 !important;

    }

    .ra-learning-player .ra-verify-choice-label {

        font-size: 0.95rem !important;

        font-weight: 800 !important;

        line-height: 1.3 !important;

        color: #1e293b !important;

        white-space: normal !important;

        text-align: left !important;

        flex: 1 !important;

    }



    /* Mobilde Alt Kontrol Çubuğu (Command Deck) & Oyun Dışı Kontroller */

    .ra-learning-player .ra-command-deck {

        min-height: 52px !important;

        padding: 6px 10px !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-command-deck > * + * {

        border-left: none !important;

        padding-left: 0 !important;

    }

    .ra-learning-player .ra-btn-skip-report {

        min-height: 44px !important;

        padding: 0 10px !important;

        font-size: 0.76rem !important;

        white-space: nowrap !important;

    }

    .ra-learning-player .ra-deck-previous {

        min-height: 44px !important;

        min-width: 44px !important;

        padding: 0 10px !important;

    }

    .ra-learning-player .ra-btn-next-step {

        min-height: 44px !important;

        padding: 0 16px !important;

        font-size: 0.95rem !important;

    }



    /* Mobilde Merkez Çalışma Alanına Maksimum Öncelik & Sıfır Çarpışma */

    .ra-learning-player .ra-center-workspace {

        padding: 6px 8px 8px !important;

        order: 1 !important;

        max-height: calc(100dvh - 138px) !important;

        overflow-y: auto !important;

        -webkit-overflow-scrolling: touch !important;

    }



    .ra-learning-player .ra-interaction-canvas {

        padding: 4px 2px !important;

        min-height: auto !important;

        width: 100% !important;

    }

    .ra-learning-player .ra-interaction-canvas[data-layout-profile="compact"],

    .ra-learning-player .ra-interaction-canvas:has(.ra-verify-deck, .ra-privacy-card--shield, .ra-safety-card--electric) {

        min-height: auto !important;

        padding: 4px 2px !important;

    }

    .ra-learning-player .ra-interaction-canvas[data-layout-profile="focal"] {

        min-height: 220px !important;

    }

    .ra-learning-player .ra-interaction-canvas[data-layout-profile="multi_object"] {

        min-height: 220px !important;

    }

    .ra-learning-player .ra-interaction-canvas[data-layout-profile="workspace"] {

        min-height: 270px !important;

    }

    .ra-learning-player .ra-interaction-canvas[data-layout-profile="result"] {

        min-height: 240px !important;

    }

    .ra-learning-player .ra-tablet-frame-bezel {

        max-width: 340px !important;

        padding: 8px 10px !important;

    }

    .ra-learning-player .ra-tablet-screen-surface {

        min-height: 260px !important;

        height: auto !important;

        padding: 10px 12px !important;

    }



    /* Mobilde Başlık ve Yönerge Alanı: Kompakt & Gereksiz Butonlardan Arındırılmış */

    .ra-learning-player .ra-q-header {

        margin-bottom: 4px !important;

    }

    .ra-learning-player .ra-q-top-row {

        gap: 4px !important;

    }

    .ra-learning-player .ra-q-instruction-text {

        font-size: 0.92rem !important;

        line-height: 1.25 !important;

        margin: 2px 0 4px !important;

    }

    .ra-learning-player .ra-q-actions {

        display: inline-flex !important;

    }

    .ra-learning-player .ra-q-footer {

        display: flex !important;

        flex-direction: column !important;

    }



    /* Sol Görev Listesi: Mobilde Sadeleşir, Oyunun Önüne Geçmez */

    .ra-learning-player .ra-left-flow-panel {

        order: 2 !important;

        margin-top: 4px !important;

    }

    .ra-learning-player .ra-flow-card {

        padding: 8px 12px !important;

    }

    .ra-learning-player .ra-flow-stepper {

        max-height: 18vh !important;

    }



    /* Akıllı Sahne Kartları: 390px ve 430px Ekranlarda Dengeli Yerleşim */

    .ra-learning-player .ra-smart-scene .ra-select-grid,

    .ra-learning-player .ra-smart-scene .ra-compare-deck,

    .ra-learning-player .ra-smart-scene .ra-choice-deck,

    .ra-learning-player .ra-smart-scene .ra-decision-deck {

        grid-template-columns: repeat(3, 1fr) !important;

        gap: 6px !important;

    }



    .ra-learning-player .ra-smart-scene .ra-select-card,

    .ra-learning-player .ra-smart-scene .ra-compare-card,

    .ra-learning-player .ra-smart-scene .ra-decision-card,

    .ra-learning-player .ra-smart-card {

        padding: 8px 4px !important;

        min-height: 105px !important;

    }



    /* Mobilde dar alanda taşan ikincil metin etiketlerini gizle */

    .ra-learning-player .ra-card-topbar span:not(.ra-badge-letter) {

        display: none !important;

    }



    .ra-learning-player .ra-smart-scene .ra-card-label,

    .ra-learning-player .ra-smart-scene .ra-smart-title {

        font-size: 0.82rem !important;

        word-break: break-word !important;

    }



    /* Pencereler ve Bölünmüş Ekran (Split-Screen Windows Drag Drop) */

    .ra-learning-player .ra-multi-drop-grid.is-split-screen {

        gap: 8px !important;

        margin-top: 8px !important;

    }

    .ra-learning-player .ra-drop-box.is-split-screen-target {

        min-height: 120px !important;

        padding: 8px !important;

    }

    .ra-learning-player .ra-os-window-frame {

        min-width: 0 !important;

        width: 100% !important;

    }

    .ra-learning-player .ra-os-window-title {

        font-size: 0.78rem !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

    }



    /* Mini Masaüstü Pencereleri (U26 Debug Stage) */

    .ra-learning-player .ra-debug-windows-stage {

        gap: 8px !important;

    }

    .ra-learning-player .ra-mini-desktop {

        min-height: 200px !important;

        padding: 8px !important;

    }



    /* Çizim & Şekil Ekleme (U28 Build Stage) */

    .ra-learning-player .ra-build-container {

        gap: 10px !important;

    }

    .ra-learning-player .ra-build-canvas {

        min-height: 100px !important;

        padding: 8px !important;

        gap: 8px !important;

    }

    .ra-learning-player .ra-build-toolbox {

        gap: 8px !important;

    }

    .ra-learning-player .ra-build-part {

        min-height: 48px !important;

        padding: 8px 12px !important;

        font-size: 0.88rem !important;

    }



    /* Robot Yüzü Sahnesi (U30 Create Stage) */

    .ra-learning-player .ra-robot-face-stage {

        gap: 6px !important;

    }

    .ra-learning-player .ra-robot-chest-screen {

        width: 95px !important;

        height: 65px !important;

    }

    .ra-learning-player .ra-robot-face-emoji {

        font-size: 2.2rem !important;

    }

    .ra-learning-player .ra-face-chip {

        min-height: 44px !important;

        padding: 4px 10px !important;

        font-size: 0.82rem !important;

    }



    /* Piksel Büyüteç Sahnesi (U02 Magnifier Stage) */

    .ra-learning-player .ra-magnifier-stage {

        padding: 6px 8px !important;

        gap: 4px !important;

    }

    .ra-learning-player .ra-pixel-viewport {

        min-height: 105px !important;

        max-height: 125px !important;

        padding: 4px !important;

    }

    .ra-learning-player .ra-pixel-art-svg {

        width: 85px !important;

        height: 65px !important;

    }

    .ra-learning-player .ra-pixel-view-tag {

        font-size: 0.68rem !important;

        padding: 2px 6px !important;

    }

    .ra-learning-player .ra-pixel-view-hint {

        display: none !important;

    }

    .ra-learning-player .ra-mag-controls {

        margin: 2px 0 !important;

        gap: 4px !important;

    }

    .ra-learning-player .ra-btn-magnifier {

        min-height: 44px !important;

        padding: 4px 12px !important;

        font-size: 0.82rem !important;

    }

    .ra-learning-player .ra-gate-notice {

        padding: 4px 8px !important;

        font-size: 0.72rem !important;

        margin-bottom: 4px !important;

    }

    .ra-learning-player .ra-gate-text {

        font-size: 0.72rem !important;

    }

    .ra-learning-player .ra-choice-deck {

        gap: 4px !important;

    }



    /* Çatlak Ekran Sahnesi (U16 Cracked Tablet) */

    .ra-learning-player .ra-cracked-tablet-box {

        gap: 4px !important;

    }

    .ra-learning-player .ra-cracked-tablet-frame {

        padding: 6px !important;

        border-radius: 12px !important;

        width: 100% !important;

    }

    .ra-learning-player .ra-cracked-tablet-bezel {

        height: 70px !important;

    }

    .ra-learning-player .ra-cracked-badge {

        font-size: 0.68rem !important;

        padding: 2px 8px !important;

    }

    .ra-learning-player .ra-verify-statement {

        font-size: 0.9rem !important;

        margin-bottom: 2px !important;

    }

    .ra-learning-player .ra-verify-subtitle {

        display: none !important;

    }



    /* Ekran Koruyucu Akvaryum (U19 Screensaver) */

    .ra-learning-player .ra-screensaver-stage {

        gap: 4px !important;

    }

    .ra-learning-player .ra-aquarium-tank {

        height: 70px !important;

        border-width: 2px !important;

    }

    .ra-learning-player .ra-screensaver-caption {

        font-size: 0.7rem !important;

        line-height: 1.2 !important;

    }

    .ra-learning-player .ra-fish {

        font-size: 1.2rem !important;

    }

    .ra-learning-player .ra-plant {

        font-size: 1.4rem !important;

    }



    /* Piksel Sanatı Kare Izgarası (U11 Paint Grid) */

    .ra-learning-player .ra-paint-grid {

        grid-template-columns: repeat(var(--ra-paint-cols, 3), 56px) !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-paint-cell {

        width: 56px !important;

        height: 56px !important;

    }

    .ra-learning-player .ra-paint-counter {

        font-size: 0.82rem !important;

        margin: 2px 0 !important;

    }



    /* Gözlem Sahnesi: Mobilde Kompakt */

    .ra-learning-player .ra-inspection-focal {

        padding: 8px 12px;

    }

    .ra-learning-player .ra-inspection-bezel {

        min-height: 56px;

        padding: 4px 16px;

    }

    .ra-learning-player .ra-inspection-bezel .ra-inspection-glow-icon {

        width: 44px;

        height: 44px;

    }

    .ra-learning-player .ra-inspection-deck .ra-select-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 6px;

    }

    .ra-learning-player .ra-inspection-deck .ra-select-card {

        padding: 8px 4px !important;

        min-height: 105px !important;

    }



    /* Fiziksel Tezgah & Portlar (Workbench): Mobilde Kompakt & Taşmasız */

    .ra-learning-player .ra-smart-scene--workbench {

        gap: 6px;

    }

    .ra-learning-player .ra-laptop-chassis-stage {

        gap: 4px;

    }

    .ra-learning-player .ra-laptop-screen-display {

        height: 75px !important;

        padding: 4px !important;

    }

    .ra-learning-player .ra-laptop-keys-grid {

        display: none !important;

    }

    .ra-learning-player .ra-laptop-keyboard-surface {

        padding: 6px 8px !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-laptop-power-button {

        min-height: 38px !important;

        padding: 4px 10px !important;

    }

    .ra-learning-player .ra-laptop-accessory-deck {

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 4px !important;

    }

    .ra-learning-player .ra-deck-decoy-grid {

        justify-content: stretch !important;

    }

    .ra-learning-player .ra-deck-decoy-grid > * {

        flex: 1 !important;

    }

    .ra-learning-player .ra-laptop-ports-stage {

        gap: 8px !important;

    }

    .ra-learning-player .ra-laptop-chassis-side {

        padding: 8px 10px !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-port-slot {

        padding: 8px 4px !important;

    }

    .ra-learning-player .ra-port-visual {

        width: 36px !important;

        height: 36px !important;

    }

    .ra-learning-player .ra-cable-dock {

        padding: 6px 10px !important;

    }

    .ra-learning-player .ra-cable-assembly-card {

        padding: 6px 10px !important;

        gap: 8px !important;

    }

    .ra-learning-player .ra-cable-title {

        font-size: 0.85rem !important;

    }

    .ra-learning-player .ra-cable-connector-unit {

        padding: 4px 8px !important;

    }

    .ra-learning-player .ra-plug-action-hint {

        font-size: 0.72rem !important;

    }

    .ra-learning-player .ra-port-info .ra-port-title {

        font-size: 0.75rem !important;

    }

    .ra-learning-player .ra-port-info .ra-port-desc {

        display: none !important;

    }



    /* İşitsel Görev Kartı: Mobilde Kompakt */

    .ra-learning-player .ra-audio-stimulus-card {

        padding: 8px 10px !important;

        gap: 8px !important;

    }

    .ra-learning-player .ra-audio-main {

        flex: 1 1 auto !important;

        gap: 8px !important;

    }

    .ra-learning-player .ra-audio-icon {

        flex: 0 0 36px !important;

        width: 36px !important;

        height: 36px !important;

    }

    .ra-learning-player .ra-audio-label {

        font-size: 0.9rem !important;

        margin: 2px 0 4px !important;

    }

    .ra-learning-player .ra-btn-play-stimulus {

        min-height: 40px !important;

        padding: 0 14px !important;

        font-size: 0.88rem !important;

    }



    /* Eşleştirme Kartları (Match Grid): 390px Ekranlarda Taşmasız 2 Sütun, Dikeyleşmeyen Okunabilir Metinler */

    .ra-learning-player .ra-match-grid,

    .ra-learning-player .ra-match-grid.is-visual {

        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        gap: 8px !important;

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

    }

    .ra-learning-player .ra-match-col,

    .ra-learning-player .ra-match-col.is-visual {

        display: flex !important;

        flex-direction: column !important;

        gap: 8px !important;

        min-width: 0 !important;

        width: 100% !important;

        box-sizing: border-box !important;

    }

    .ra-learning-player .ra-match-node.ra-match-visual-card {

        padding: 8px 8px !important;

        min-height: 56px !important;

        gap: 6px !important;

        box-sizing: border-box !important;

        width: 100% !important;

        min-width: 0 !important;

    }

    /* Sol kart (Görsel Simge + İsim): Yatay akış */

    .ra-learning-player .ra-match-node:not(.ra-match-action-card) {

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

    }

    /* Sağ kart (Görev Rozeti Üstte, Anlam Altta): Dikey akış, metin asla 9px'e sıkışmaz */

    .ra-learning-player .ra-match-node.ra-match-action-card {

        display: flex !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        justify-content: center !important;

        gap: 3px !important;

    }

    .ra-learning-player .ra-match-action-badge {

        display: inline-flex !important;

        font-size: 0.62rem !important;

        font-weight: 800 !important;

        padding: 1px 6px !important;

        border-radius: 6px !important;

        line-height: 1.1 !important;

        white-space: nowrap !important;

        margin-bottom: 0 !important;

    }

    .ra-learning-player .ra-match-visual-icon-box {

        width: 32px !important;

        height: 32px !important;

        min-width: 32px !important;

        flex: 0 0 32px !important;

    }

    .ra-learning-player .ra-match-visual-label {

        font-size: 0.82rem !important;

        font-weight: 800 !important;

        line-height: 1.25 !important;

        color: #0f172a !important;

        width: 100% !important;

        min-width: 0 !important;

        white-space: normal !important;

        word-break: normal !important;

        overflow-wrap: break-word !important;

        text-align: left !important;

    }



    /* Sınıflandırma Kovaları (Classify Buckets): Mobilde Taşmasız Yan Yana */

    .ra-learning-player .ra-classify-container {

        gap: 8px !important;

    }

    .ra-learning-player .ra-classify-buckets {

        flex-wrap: nowrap !important;

        gap: 8px !important;

        width: 100% !important;

    }

    .ra-learning-player .ra-classify-bucket {

        flex: 1 1 0 !important;

        min-width: 0 !important;

        min-height: 80px !important;

        padding: 6px 8px !important;

    }

    .ra-learning-player .ra-classify-bucket-title {

        font-size: 0.8rem !important;

        margin-bottom: 4px !important;

    }

    .ra-learning-player .ra-drag-pool {

        gap: 6px !important;

    }

    .ra-learning-player .ra-drag-item {

        min-height: 44px !important;

        padding: 6px 8px !important;

        font-size: 0.82rem !important;

    }



    /* Uyanış Odası ve Komut Butonu (Awakening / Display): Mobilde Dikey Taşmasız */

    .ra-learning-player .ra-awakening-chamber-stage {

        padding: 6px 8px !important;

        gap: 6px !important;

    }

    .ra-learning-player .ra-chamber-pod {

        min-height: 70px !important;

        padding: 6px !important;

    }

    .ra-learning-player .ra-awakening-chamber-stage .ra-btn-command {

        min-height: 46px !important;

        padding: 6px 12px !important;

        font-size: 0.92rem !important;

    }

    .ra-learning-player .ra-chamber-speech-balloon {

        padding: 6px 10px !important;

        font-size: 0.78rem !important;

    }



    /* AŞAMA 3B: Mobil Uyarlamalar (U03, U13, U14, U20, U29, U30) */

    .ra-learning-player .ra-device-workstation-focal {

        padding: 8px 10px !important;

        max-width: 100% !important;

    }

    .ra-learning-player .ra-device-chassis-bezel {

        max-width: 100% !important;

        padding: 6px 8px !important;

    }

    .ra-learning-player .ra-device-chassis-screen {

        padding: 8px 6px !important;

        margin-bottom: 6px !important;

    }

    .ra-learning-player .ra-device-boot-text {

        font-size: 0.68rem !important;

    }

    .ra-learning-player .ra-safety-card--electric,

    .ra-learning-player .ra-privacy-card--shield {

        padding: 8px 10px !important;

        max-width: 100% !important;

    }

    .ra-learning-player .ra-safety-frame,

    .ra-learning-player .ra-privacy-frame {

        padding: 6px 10px !important;

        gap: 8px !important;

    }

    .ra-learning-player .ra-safety-caption,

    .ra-learning-player .ra-privacy-caption {

        font-size: 0.72rem !important;

    }

    .ra-learning-player .ra-chamber-standby {

        padding: 8px 6px !important;

    }

    .ra-learning-player .ra-energy-core-beacon {

        width: 48px !important;

        height: 48px !important;

    }

    .ra-learning-player .ra-energy-icon {

        font-size: 1.4rem !important;

    }

    .ra-learning-player .ra-chamber-standby-title {

        font-size: 0.85rem !important;

    }

    .ra-learning-player .ra-chamber-standby-desc {

        font-size: 0.72rem !important;

    }

}



@media (max-width: 360px) {

    .ra-learning-player .ra-smart-scene--comparison .ra-select-grid,

    .ra-learning-player .ra-smart-scene--comparison .ra-compare-deck,

    .ra-learning-player .ra-inspection-deck .ra-select-grid {

        grid-template-columns: 1fr;

    }

}



/* Rehberli yazma: mevcut oyun yüzeyinin içinde, mobil klavyede kaydırılabilir. */

.ra-guided-prompt { width: min(100%, 680px); margin: auto; padding: 16px; box-sizing: border-box; display: grid; gap: 12px; text-align: left; }

.ra-guided-prompt p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

.ra-guided-prompt-example { color: #94a3b8; font-size: 1rem; line-height: 1.6; }

.ra-guided-prompt textarea { width: 100%; box-sizing: border-box; min-height: 100px; resize: vertical; padding: 12px; font: inherit; font-size: 16px; line-height: 1.5; color: #f8fafc; background: #0f172a; border: 1px solid #94a3b8; border-radius: 10px; }

.ra-guided-prompt textarea::placeholder { color: #94a3b8; opacity: 1; }

.ra-guided-prompt textarea:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; }

.ra-guided-prompt button { min-height: 44px; white-space: normal; }

.ra-guided-prompt button:disabled { opacity: .55; }



.ra-test-answer-tools { padding: 10px; display: grid; gap: 6px; flex: 0 0 auto; }

@media (min-width: 1100px) {

    .ra-learning-player .ra-flow-card:has(.ra-test-answer-tools) .ra-flow-stepper { min-height: 0; max-height: calc(100vh - 275px); }

}

.ra-test-answer-button { min-height: 44px; width: 100%; border: 2px solid #f59e0b; border-radius: 10px; color: #78350f; background: linear-gradient(180deg, #fef3c7, #fde68a); box-shadow: 0 3px 0 #b45309; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }

.ra-test-answer-button:hover { background: linear-gradient(180deg, #fffbeb, #fef3c7); }

.ra-test-answer-button:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }

.ra-test-answer-button:disabled { opacity: .6; cursor: wait; }

.ra-test-answer-button[hidden] { display: none; }

.ra-test-answer-note { color: #bae6fd; font-size: .78rem; line-height: 1.4; }

.ra-learning-player .ra-smart-scene .ra-select-card.ra-test-answer-highlight.is-selected { border-color: #16a34a; background: #dcfce7; box-shadow: 0 0 0 3px rgba(22,163,74,.45); }





/* ==========================================================================

   AKADEMİK ÖĞRENME ALANI: YENİ EYLEM VE SESLENDİRME BİLEŞENLERİ

   1. Doğru Cevabı Göster (Soru-Cevap Çalışma Alanı İçi)

   2. Sonraki Adım (Soru-Cevap Çalışma Alanı İçi / Geri Bildirim Altı)

   3. Görevi Geç ve Bildir (Alt Komuta Güvertesi)

   4. Her Soruda Otomatik Dinleme (Auto-TTS Butonu)

   ========================================================================== */



/* 1. Her Soruda Otomatik Seslendirme Butonu (Desktop & Ortak) */

.ra-learning-player .ra-q-actions {

    display: inline-flex !important;

    align-items: center !important;

    gap: 8px !important;

    margin-left: auto !important;

    flex: 0 0 auto !important;

}



.ra-learning-player .ra-auto-speak-btn {

    min-height: 38px;

    height: 38px;

    padding: 0 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    border-radius: 999px;

    font-size: 0.78rem;

    font-weight: 800;

    color: #94a3b8;

    background: rgba(15, 23, 42, 0.7);

    border: 1.5px solid rgba(148, 163, 184, 0.3);

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    user-select: none;

    -webkit-user-select: none;

    flex: 0 0 auto;

}



.ra-learning-player .ra-auto-speak-btn .ra-auto-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 0.68rem;

    font-weight: 900;

    padding: 2px 6px;

    border-radius: 4px;

    background: rgba(148, 163, 184, 0.2);

    color: #94a3b8;

    letter-spacing: 0.05em;

    transition: all 0.2s ease;

}



.ra-learning-player .ra-auto-speak-btn .ra-auto-state {

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.03em;

    transition: all 0.2s ease;

}



.ra-learning-player .ra-auto-speak-btn:hover {

    border-color: rgba(56, 189, 248, 0.6);

    color: #e0f2fe;

    background: rgba(15, 23, 42, 0.9);

}



.ra-learning-player .ra-auto-speak-btn.is-active {

    color: #0369a1;

    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);

    border-color: #38bdf8;

    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);

}



.ra-learning-player .ra-auto-speak-btn.is-active .ra-auto-badge {

    background: #0284c7;

    color: #ffffff;

}



.ra-learning-player .ra-auto-speak-btn.is-active .ra-auto-state {

    color: #0369a1;

}



/* 2. Soru ve Seçeneklerin Altındaki Yardım Bölgesi (Doğru Cevabı Göster) */

.ra-learning-player .ra-workspace-help-zone {

    width: 100%;

    margin-top: 14px;

    display: flex;

    flex-direction: column;

}



.ra-learning-player .ra-workspace-help-zone .ra-test-answer-tools {

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 8px;

    width: 100%;

}



.ra-learning-player .ra-test-answer-button {

    min-height: 46px;

    width: 100%;

    border: 2px solid #f59e0b;

    border-radius: 12px;

    color: #78350f;

    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);

    box-shadow: 0 3px 0 #b45309, 0 4px 14px rgba(245, 158, 11, 0.25);

    font: inherit;

    font-size: 0.88rem;

    font-weight: 800;

    letter-spacing: 0.03em;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}



.ra-learning-player .ra-test-answer-button:hover {

    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);

    border-color: #fbbf24;

    transform: translateY(-1px);

    box-shadow: 0 4px 0 #b45309, 0 6px 18px rgba(245, 158, 11, 0.35);

}



.ra-learning-player .ra-test-answer-button:active {

    transform: translateY(2px);

    box-shadow: 0 1px 0 #b45309;

}



.ra-learning-player .ra-test-answer-button:focus-visible {

    outline: 3px solid #fbbf24;

    outline-offset: 3px;

}



.ra-learning-player .ra-test-answer-button:disabled {

    opacity: 0.6;

    cursor: wait;

}



.ra-learning-player .ra-test-answer-button[hidden] {

    display: none !important;

}



.ra-learning-player .ra-test-answer-note {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-left: 4px solid #10b981;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    margin-top: 6px;
}

.ra-learning-player .ra-select-card.ra-test-answer-highlight,
.ra-learning-player .ra-smart-scene .ra-select-card.ra-test-answer-highlight,
.ra-learning-player .ra-select-card.ra-test-answer-highlight.is-selected,
.ra-learning-player .ra-smart-scene .ra-select-card.ra-test-answer-highlight.is-selected {
    border-color: #10b981 !important;
    background: linear-gradient(180deg, #ecfdf5 0%, #c9f7e0 100%) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.45), 0 3px 0 #6ee7b7 !important;
    color: #064e3b !important;
}

.ra-learning-player .ra-select-card.ra-test-answer-highlight .ra-badge-letter,
.ra-learning-player .ra-smart-scene .ra-select-card.ra-test-answer-highlight .ra-badge-letter {
    background: linear-gradient(145deg, #10b981, #059669) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.4) !important;
}

.ra-learning-player .ra-select-card.ra-test-answer-highlight .ra-card-label,
.ra-learning-player .ra-smart-scene .ra-select-card.ra-test-answer-highlight .ra-card-label {
    color: #064e3b !important;
    font-weight: 700 !important;
}



.ra-learning-player .ra-test-answer-note:empty {

    display: none !important;

}



/* 3. Soru ve Seçeneklerin Altındaki İlerleme Bölgesi (Sonraki Adım) */

.ra-learning-player .ra-workspace-next-zone {

    width: 100%;

    margin-top: 10px;

    display: flex;

}



.ra-learning-player .ra-workspace-next-zone .ra-btn-next-step {

    width: 100%;

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 1.02rem;

    font-weight: 800;

    letter-spacing: 0.02em;

    border-radius: 12px;

    background: linear-gradient(135deg, #10b981 0%, #059669 100%);

    border: 1.5px solid rgba(52, 211, 153, 0.8);

    color: #ffffff;

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}



.ra-learning-player .ra-workspace-next-zone .ra-btn-next-step:hover {

    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);

    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);

    transform: translateY(-1px);

}



.ra-learning-player .ra-workspace-next-zone .ra-btn-next-step:active {

    transform: translateY(1px);

    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);

}



.ra-learning-player .ra-workspace-next-zone .ra-btn-next-step .ra-arrow {

    font-size: 1.15rem;

    transition: transform 0.2s ease;

}



.ra-learning-player .ra-workspace-next-zone .ra-btn-next-step:hover .ra-arrow {

    transform: translateX(4px);

}



/* 4. Alt Komuta Güvertesindeki Görevi Geç ve Bildir Butonu */

.ra-learning-player .ra-btn-skip-deck {

    min-height: 42px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 10px;

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.02em;

    color: #94a3b8;

    background: rgba(30, 41, 59, 0.65);

    border: 1px solid rgba(148, 163, 184, 0.28);

    cursor: pointer;

    transition: all 0.2s ease;

    white-space: nowrap;

}



.ra-learning-player .ra-btn-skip-deck:hover {

    color: #f1f5f9;

    background: rgba(51, 65, 85, 0.85);

    border-color: rgba(148, 163, 184, 0.5);

    transform: translateY(-1px);

}



.ra-learning-player .ra-btn-skip-deck:active {

    transform: translateY(1px);

}





/* Asama Tamamlandi (is-graduation) durumunda soru ici yardim ve sonraki adim alanlarini gizle */

.ra-player-shell.is-graduation .ra-workspace-help-zone,

.ra-player-shell.is-graduation .ra-workspace-next-zone,

.ra-player-shell.is-graduation #ra-btn-test-answer,

.ra-player-shell.is-graduation #ra-test-answer-note {

    display: none !important;

}





/* ==========================================================================

   ROBOT AKADEMİ — 15. GÖREV ROBOT KUTLAMA SAHNESİ

   ========================================================================== */

.ra-celebration-overlay {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;

}



.ra-celebration-overlay.is-active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}



.ra-celebration-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(3, 7, 18, 0.94);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

}



.ra-celebration-container {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 90vw;

    max-width: 980px;

    margin: auto;

    padding: 16px;

    box-sizing: border-box;

    transform: scale(0.96);

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



.ra-celebration-overlay.is-active .ra-celebration-container {

    transform: scale(1);

}



/* Landscape Mode (Desktop 16:9) */

.ra-celebration-container.is-landscape {

    max-width: 960px;

    width: min(92vw, 960px);

}



.ra-celebration-container.is-landscape .ra-celebration-stage {

    width: 100%;

    aspect-ratio: 16 / 9;

    max-height: 82vh;

}



/* Portrait Mode (Mobile 9:16) */

.ra-celebration-container.is-portrait {

    max-width: 440px;

    width: min(88vw, 440px);

}



.ra-celebration-container.is-portrait .ra-celebration-stage {

    width: 100%;

    aspect-ratio: 9 / 16;

    max-height: 80vh;

}



.ra-celebration-stage {

    position: relative;

    border-radius: 20px;

    overflow: hidden;

    background: #020617;

    box-shadow: 0 0 50px rgba(56, 189, 248, 0.3), 0 25px 50px -12px rgba(0, 0, 0, 0.85);

    border: 1px solid rgba(56, 189, 248, 0.35);

    display: flex;

    align-items: center;

    justify-content: center;

}



.ra-celebration-video {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    background: #020617;

}



/* Skip Button */

.ra-celebration-skip-btn {

    position: absolute;

    top: 24px;

    right: 24px;

    z-index: 10;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 8px 18px;

    background: rgba(15, 23, 42, 0.85);

    border: 1px solid rgba(56, 189, 248, 0.45);

    border-radius: 9999px;

    color: #f8fafc;

    font-size: 0.88rem;

    font-weight: 700;

    letter-spacing: 0.02em;

    cursor: pointer;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    transition: all 0.2s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

}



.ra-celebration-skip-btn:hover {

    background: rgba(56, 189, 248, 0.25);

    border-color: #38bdf8;

    color: #ffffff;

    transform: translateY(-1px) scale(1.03);

    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);

}



.ra-celebration-skip-btn:active {

    transform: translateY(1px) scale(0.98);

}





/* ==========================================================================

   ROBO NEXIMUS AKADEMİ — FLASHCARD & CEVABI GÖR STİLLERİ

   ========================================================================== */

.ra-flashcard-stage {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    padding: 1.5rem 1rem;

    box-sizing: border-box;

}



.ra-flashcard-card {

    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.90) 100%);

    border: 2px solid rgba(56, 189, 248, 0.4);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.18);

    border-radius: 20px;

    padding: 2rem 2.5rem;

    width: 100%;

    max-width: 620px;

    text-align: center;

    position: relative;

    backdrop-filter: blur(12px);

    transition: transform 0.25s ease, border-color 0.25s ease;

}



.ra-flashcard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1.5rem;

    padding-bottom: 0.75rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.ra-flashcard-badge {

    background: linear-gradient(135deg, #0284c7, #0369a1);

    color: #ffffff;

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    padding: 0.35rem 0.85rem;

    border-radius: 999px;

    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);

}



.ra-flashcard-pronunciation {

    color: #94a3b8;

    font-size: 0.9rem;

    font-family: monospace;

    letter-spacing: 0.05em;

}



.ra-flashcard-body {

    margin: 2rem 0;

}



.ra-flashcard-term {

    font-size: 2.5rem;

    font-weight: 800;

    color: #38bdf8;

    letter-spacing: -0.01em;

    line-height: 1.25;

    text-shadow: 0 0 25px rgba(56, 189, 248, 0.4);

}



.ra-flashcard-actions {

    margin: 1.5rem 0;

    display: flex;

    justify-content: center;

}



.ra-btn-see-answer {

    background: linear-gradient(135deg, #10b981 0%, #059669 100%);

    color: #ffffff;

    font-size: 1.15rem;

    font-weight: 700;

    border: none;

    border-radius: 14px;

    padding: 0.9rem 2.25rem;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 0.65rem;

    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    min-height: 52px;

}



.ra-btn-see-answer:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);

    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);

}



.ra-btn-see-answer.is-active,

.ra-btn-see-answer:disabled {

    background: rgba(30, 41, 59, 0.8);

    color: #94a3b8;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: none;

    cursor: default;

    transform: none;

}



.ra-flashcard-reveal {

    margin-top: 1.75rem;

    padding-top: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    animation: raRevealFadeIn 0.3s ease-out;

}



@keyframes raRevealFadeIn {

    from { opacity: 0; transform: translateY(8px); }

    to { opacity: 1; transform: translateY(0); }

}



.ra-flashcard-meaning-box {

    background: rgba(16, 185, 129, 0.12);

    border: 1px solid rgba(16, 185, 129, 0.35);

    border-radius: 14px;

    padding: 1.25rem;

    margin-bottom: 1rem;

}



.ra-flashcard-meaning-label {

    display: block;

    font-size: 0.75rem;

    font-weight: 700;

    color: #6ee7b7;

    letter-spacing: 0.08em;

    margin-bottom: 0.35rem;

}



.ra-flashcard-meaning {

    font-size: 1.75rem;

    font-weight: 700;

    color: #f0fdf4;

}



.ra-flashcard-hint-box {

    display: flex;

    align-items: center;

    gap: 0.65rem;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.2);

    border-radius: 12px;

    padding: 0.85rem 1.15rem;

    text-align: left;

}



.ra-flashcard-hint-icon {

    font-size: 1.25rem;

    flex-shrink: 0;

}



.ra-flashcard-hint-text {

    font-size: 0.95rem;

    color: #cbd5e1;

    line-height: 1.45;

}



@media (max-width: 768px) {

    .ra-flashcard-card {

        padding: 1.25rem 1rem;

        max-width: 100%;

        border-radius: 16px;

    }

    .ra-flashcard-term {

        font-size: 1.85rem;

    }

    .ra-flashcard-meaning {

        font-size: 1.45rem;

    }

    .ra-btn-see-answer {

        width: 100%;

        justify-content: center;

    }

}



/* ==========================================================================

   FLASHCARD — MASAÜSTÜ KOMPAKT ÖLÇÜ (yalnızca min-width: 769px)

   İngilizce "Cevabı Gör / İncelendi" kartının boyut ve boşluk dengesi.

   Mobil (<=768px) bu blokla değişmez; mobil ölçüler mobile/learning-runtime-mobile.css'te kalır.

   Hiyerarşi: ana kelime > Türkçe anlamı > ipucu (yardımcı, daha hafif).

   ========================================================================== */

@media (min-width: 769px) {

    /* Dış çerçeve: 640px -> 540px; iç boşluk 22px -> 12px; başlığa daha dengeli mesafe */

    .ra-learning-player .ra-interaction-canvas:has(.ra-flashcard-stage) {

        max-width: 540px;

        padding: 12px;

        margin: clamp(6px, 2.2vh, 20px) auto 8px;

    }



    .ra-learning-player .ra-flashcard-stage {

        padding: 0.5rem;

    }



    /* Kart: 620px (gerçekte ~562px) -> 500px; dikey padding 2rem -> ~1.1rem */

    .ra-learning-player .ra-flashcard-card {

        max-width: 500px;

        padding: 1.35rem 1.75rem 1.5rem;

        border-width: 1.5px;

        border-radius: 16px;

        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(56, 189, 248, 0.16);

    }



    .ra-learning-player .ra-flashcard-header {

        margin-bottom: 0.8rem;

        padding-bottom: 0.6rem;

    }



    .ra-learning-player .ra-flashcard-badge {

        font-size: 0.72rem;

        padding: 0.22rem 0.7rem;

        box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);

    }



    .ra-learning-player .ra-flashcard-pronunciation {

        font-size: 0.8rem;

    }



    /* Ana kelime hâlâ en baskın öğe: 2.5rem -> 2.1rem */

    .ra-learning-player .ra-flashcard-body {

        margin: 1.15rem 0 1rem;

    }



    .ra-learning-player .ra-flashcard-term {

        font-size: 2.25rem;

        line-height: 1.2;

        overflow-wrap: break-word;

        text-shadow: 0 0 18px rgba(56, 189, 248, 0.35);

    }



    .ra-learning-player .ra-flashcard-actions {

        margin: 1rem 0 0.3rem;

    }



    /* "Cevabı Gör" / "İncelendi": 52px -> 42px */

    .ra-learning-player .ra-btn-see-answer {

        min-height: 46px;

        padding: 0.55rem 1.7rem;

        font-size: 1rem;

        border-radius: 12px;

        gap: 0.5rem;

        box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);

    }



    /* Açılan bölüm */

    .ra-learning-player .ra-flashcard-reveal {

        margin-top: 1rem;

        padding-top: 1rem;

        border-top-color: rgba(255, 255, 255, 0.1);

    }



    /* Türkçe anlamı: ikinci seviye, net ve kısa */

    .ra-learning-player .ra-flashcard-meaning-box {

        padding: 0.8rem 1rem 0.85rem;

        margin-bottom: 0.6rem;

        border-radius: 12px;

    }



    .ra-learning-player .ra-flashcard-meaning-label {

        font-size: 0.66rem;

        margin-bottom: 0.1rem;

    }



    .ra-learning-player .ra-flashcard-meaning {

        font-size: 1.5rem;

        line-height: 1.25;

    }



    /* İpucu: yardımcı unsur, daha hafif */

    .ra-learning-player .ra-flashcard-hint-box {

        gap: 0.5rem;

        padding: 0.6rem 0.9rem;

        border-radius: 10px;

        background: rgba(56, 189, 248, 0.05);

        border-color: rgba(56, 189, 248, 0.14);

    }



    .ra-learning-player .ra-flashcard-hint-icon {

        font-size: 1rem;

    }



    .ra-learning-player .ra-flashcard-hint-text {

        font-size: 0.84rem;

        line-height: 1.4;

        color: #94a3b8;

    }

}

