/* BurakDincer.com resmi palet uyarlamasi — yalnizca gorunum; uygulama motoruna dokunmaz.
   Site kaynagi: assets/style.css (--navy #06182d, --gold #eeb85f, --cream #f6f2ea).
   Prompter'in gercek okuma alani bilerek siyahtir. */
:root {
  color-scheme:dark;
  --bd-navy:#06182d;--bd-navy2:#0b2742;--bd-gold:#eeb85f;--bd-cream:#f6f2ea;
  --bg:#f6f2ea;--card:#10253c;--edge:#29405c;--txt:#f6f8fc;--muted:#b8c7d8;
  --accent:#eeb85f;--accent2:#ffe1ac;
}
body {background:radial-gradient(circle at 80% 0%,#fffdf8 0%,#f6f2ea 48%,#ede9e1 100%);color:var(--txt);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body:not(.reading)>header.bd-site-header {background:#06182d;color:#fff;border-bottom:3px solid #eeb85f;box-shadow:0 5px 20px #06182d22;display:flex;gap:14px;min-height:77px;padding:12px clamp(12px,3vw,42px);flex-wrap:wrap}
.bd-brand-link {display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0}
.bd-brand-link:hover .bd-monogram {background:#eeb85f;color:#06182d}
.bd-monogram {font-family:Georgia,"Times New Roman",serif;font-weight:900;display:grid;place-content:center;width:45px;height:45px;border:1px solid #eeb85f;border-radius:12px;color:#eeb85f;letter-spacing:-2px;flex:none;transition:background .15s,color .15s}
.bd-wordmark {display:flex;flex-direction:column;min-width:0;line-height:1.25}
.bd-wordmark strong {font:700 17px Georgia,"Times New Roman",serif;white-space:nowrap;letter-spacing:.3px}
.bd-wordmark em {font-style:normal;color:#eeb85f}
.bd-wordmark small {font-size:9px;color:#c5d6e7;letter-spacing:.8px;white-space:nowrap;margin-top:4px}
.bd-header-rule {height:37px;width:1px;background:#ffffff2b;flex:none}
.bd-site-header .logo {font-size:20px;color:#fff;letter-spacing:-.4px;display:flex;flex-direction:column;line-height:1.1}
.bd-site-header .logo b {color:#eeb85f}
.bd-site-header .logo .bd-product-caption {font-size:9px;letter-spacing:1.7px;color:#c6d2dc;margin-top:5px;font-weight:600}
.bd-site-header .pill {border-color:#3a5874;color:#e5edf4;background:#ffffff09;letter-spacing:.2px}
.bd-site-header .btn {background:#183452;border-color:#476481;color:#fff}
.bd-site-header .btn:hover {background:#254969}
.bd-site-header #readingToggle {background:#eeb85f;color:#06182d;border-color:#eeb85f}
.bd-site-header #readingToggle:hover {background:#ffcf7e}
.app {max-width:1500px;padding-top:24px}
.hero {background:linear-gradient(100deg,#fff 50%,#fff9ef 100%);border:1px solid #e8dcc8;border-left:5px solid #eeb85f;padding:17px 19px;border-radius:16px;box-shadow:0 7px 25px #06182d0c;margin-bottom:16px}
.hero h1 {font-size:clamp(20px,2.1vw,29px);color:#06182d;line-height:1.2;letter-spacing:-.45px}
.hero p {color:#52677c;font-size:13px;line-height:1.5}
.hero .status {background:#e8f4ef;border:1px solid #b1d6c9;color:#155e51;white-space:nowrap}
.modebar {background:#fff;padding:9px;border:1px solid #e9e1d3;border-radius:14px;box-shadow:0 6px 22px #06182d0b;margin-bottom:16px;scrollbar-width:thin}
.modebar .btn {background:#f7f8fa;color:#15314b;border:1px solid #dbe3ec;border-radius:10px;white-space:nowrap}
.modebar .btn:hover {background:#e8edf4;color:#06182d}
.modebar .btn.active {background:#06182d;color:#ffe1ac;border-color:#06182d;box-shadow:inset 0 -2px 0 #eeb85f}
.panel {background:#10253c;border-color:#29405c;box-shadow:0 12px 25px #06182d14;border-radius:17px}
.paneltitle {background:linear-gradient(90deg,#10283f,#16324e);border-color:#314963;padding:15px 17px}
.paneltitle strong {letter-spacing:.1px}
.paneltitle .muted {color:#b6c9dc}
.btn {border-radius:10px;transition:background .15s ease,border-color .15s ease;min-height:39px}
.btn.primary {background:#eeb85f;border-color:#eeb85f;color:#06182d}
.btn.primary:hover {background:#ffd38c;border-color:#ffd38c}
.btn:not(.primary):hover {border-color:#b9a171}
.editor {background:#091b2e;border-color:#43607e;line-height:1.65}
.editor:focus {border-color:#eeb85f}
.setting input[type=range],input[type=checkbox] {accent-color:#eeb85f}
.setting select,.setting input[type=number],.setting input[type=text] {border-color:#43607e;background:#0a1d30}
.setting label {color:#e0eaf4}
.stage {background:#020407;outline:1px solid #263f59;outline-offset:-1px}
.stage .guide {background:#58ded2;box-shadow:0 0 12px #4fd8cc}
.stage .guide:before,.stage .guide:after {color:#58ded2}
.stage .script .token.current {background:#eeb85f;color:#091827}
.stage .scroll-area {background-color:transparent}
.progress>div {background:#eeb85f}
.statrow {background:#091c30;border-color:#274562}
.statrow b {color:#fff}
.help {background:#fff;color:#55687b;border:1px solid #e8dfd1;box-shadow:0 8px 24px #06182d08;border-radius:15px;line-height:1.7}
.help strong,.help h2 {color:#06182d}
.help a {color:#153d6f}
.p360-overlay .p360-top {background:linear-gradient(#06182df2,#06182db5 76%,transparent)}
.p360-overlay .p360-bottom {background:linear-gradient(transparent,#06182df3 24%,#06182df9)}
.p360-overlay button {border-color:#708398;background:#102c45ee;color:#fff}
.p360-overlay button[aria-pressed=true] {background:#366b66;border-color:#6be0d4}
.p360-overlay .p360-bottom .primary {background:#eeb85f;color:#06182d;border-color:#eeb85f}
.p360-overlay .p360-status {color:#f6e0b9}
.p360-overlay button:focus-visible {outline-color:#eeb85f}
.stage.video-active .p360-overlay .p360-bottom {background:linear-gradient(transparent,#06182d 35%,#06182dfb)}
.record-panel {border-color:#4e5870;background:linear-gradient(145deg,#142d45,#091d31)}
.record-title .small-chip {border-color:#d8ab6f;color:#fbe2ba}
.p360-tools {background:#0c2035;border-color:#3d5167}
.p360-tools input[type=checkbox] {accent-color:#eeb85f}
.p360-tools .p360-pacing {color:#efdcbd}
.voice-health {background:#0d293d;border-color:#446174}
.voice-metrics,.voice-feedback,.status {border-radius:9px}
.dialog {background:#10253c;border-color:#617187}
body.reading {background:#020407}
body.reading .app {background:#020407}
body.reading .stage {outline:none}
/* Do not hide the controls in full screen or mobile. */
.stage:fullscreen {background:#020407}
@media (max-width:970px) {
 body:not(.reading)>header.bd-site-header {gap:10px;min-height:70px}
 .bd-header-rule {display:none}
 .bd-site-header .logo {font-size:17px}
 .bd-brand-link .bd-wordmark small {font-size:8px}
}
@media (max-width:700px){
 body:not(.reading)>header.bd-site-header{padding:11px 12px;gap:8px}
 .bd-monogram {width:39px;height:39px;font-size:14px}
 .bd-wordmark strong {font-size:14px}
 .bd-wordmark small {letter-spacing:.1px;font-size:7px}
 .bd-site-header .logo {font-size:14px}
 .bd-site-header .logo .bd-product-caption {font-size:7px;letter-spacing:.5px}
 .bd-site-header .pill {display:none}
 .bd-site-header .top-home {display:none}
 .bd-site-header #readingToggle {font-size:11px;padding:7px 8px;min-height:38px}
 .hero {padding:13px;border-radius:12px;align-items:flex-start}
 .hero .status {display:none}
 .hero h1 {font-size:20px}
 .modebar {border-radius:11px;padding:6px;gap:5px}
 .modebar .btn {font-size:12px;padding:8px 9px}
 .app {padding-top:11px}
 .panel {border-radius:12px}
 .p360-overlay .p360-bottom button {font-size:11px}
}
@media (max-width:400px) {
 body:not(.reading)>header.bd-site-header {flex-wrap:wrap}
 body:not(.reading)>header.bd-site-header .spacer {display:none}
 body:not(.reading)>header.bd-site-header #readingToggle {margin-left:auto}
 .bd-wordmark small {display:none}
}
@media (prefers-reduced-motion:reduce){.btn,.bd-monogram{transition:none}}

/* Kamera+ses tanılama, metinden ayrık; mobilde kontrol şeridiyle çakışmaz. */
.p360-camera-audio{display:none;position:absolute;top:94px;left:10px;right:10px;z-index:24;pointer-events:none;text-align:center;font-size:11px;line-height:1.3;color:#eafff9;background:#092630e8;border:1px solid #3d8581;border-radius:9px;padding:5px 9px;max-height:3.8em;overflow:hidden}
.stage.video-active .p360-camera-audio{display:block}
.p360-camera-audio[data-state="fallback"]{background:#674709e8;border-color:#f4c05b;color:#fff1cf}
.p360-camera-audio[data-state="error"]{background:#681e28e8;border-color:#ff8c98;color:#fff}
.p360-guide{color:#c5e8db;font-size:12px;line-height:1.5;padding:7px 9px;border:1px solid #3a5f63;border-radius:9px;background:#091c29}
@media(max-width:680px){.p360-camera-audio{top:89px;font-size:10px;left:6px;right:6px}.stage.video-active .script{padding-top:44px;}.stage.video-active .p360-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom))}}

/* Gerçek ses seviyesini, duyarlılık ve tempo ayarını video panelinde gösterir. */
.mic-diagnostics{display:grid;gap:10px;background:#0a1c2f;border:1px solid #4c6783;border-radius:12px;padding:12px;margin:8px 0}
.mic-diagnostics-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;font-size:12px}
.mic-diagnostics-head strong{color:#ffe0a6}.mic-diagnostics-head span{color:#b4d9e6;font-size:11px}
.mic-meter{height:12px;border-radius:100px;background:#091323;overflow:hidden;border:1px solid #3c5d7b}
#micLevelBar{height:100%;width:0;background:linear-gradient(90deg,#41b7a5,#b8e984,#f7b357);border-radius:100px;transition:width 90ms linear}
.mic-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mic-controls label{display:flex;flex-direction:column;gap:7px;color:#e3eaf1;font-size:12px;min-width:0}
.mic-controls b{color:#f8cb82;font-size:11px;font-variant-numeric:tabular-nums}
.mic-controls input{width:100%;accent-color:#eeb85f}
.mic-explain{font-size:11px;color:#b6cddd;line-height:1.5;margin:0}
#micRepairBtn{width:100%;min-height:41px}
@media(max-width:620px){.mic-controls{grid-template-columns:1fr}.mic-diagnostics{padding:10px}.mic-diagnostics-head{display:grid}}


/* Kamera-göz hizası: konuşmacı kelimesi hep ön kamera altındaki üst çizgide kalır. */
.stage.cameraFocus .guide{height:2px;opacity:.85;background:#eeb85f;box-shadow:0 0 8px #eeb85f70}
.stage.cameraFocus .guide::after{content:'◀';color:#eeb85f}
.stage.cameraFocus .guide::before{content:'▶';color:#eeb85f}
/* Kamera mikrofonu durumunu saklamadan göz hizasından uzağa taşı. */
.stage.cameraFocus.video-active .p360-camera-audio{display:block!important;top:auto!important;bottom:82px!important;left:12px;right:12px;max-width:520px;margin:auto;opacity:.93}
@media(max-width:680px){.stage.cameraFocus.video-active .p360-camera-audio{bottom:105px!important;left:6px;right:6px;font-size:10px}}
#eyeLockToggle{border-color:#d9ad65;background:#32452eeb;color:#ffedc8}
#eyeLockToggle[aria-pressed="true"]{background:#735323;color:#fff1d0;border-color:#eeb85f}
.stage.cameraFocus .script .token.current{background:#eeb85f;color:#06182d;border-radius:5px}
@media(max-width:680px){.stage .p360-top{gap:5px;min-height:49px}.stage .p360-top button{font-size:11px;padding:6px 7px;white-space:normal;line-height:1.15}.stage .p360-status{max-width:39%;font-size:10px}.stage.cameraFocus.video-active .script{padding-top:0!important}.stage.cameraFocus .script{max-width:100%;text-align:center}}
/* Eski zorunlu 65px üst boşluk, kısa kamera bakış mesafesini bozuyordu. */
.stage.cameraFocus .script>[data-pad="top"]{min-height:0!important}

/* Opt-in local video recovery and a frame-to-PNG export. */
.p360-vault{display:grid;gap:9px;background:#0c2635;border:1px solid #42606d;border-radius:12px;padding:11px;margin:8px 0;color:#d9e9ef;font-size:12px}
.p360-vault .checkline{display:flex;gap:8px;align-items:flex-start}.p360-vault .checkline input{width:18px;height:18px;flex:none;accent-color:#d3a15c;margin-top:1px}
.p360-vault .p360-vault-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.p360-vault button{min-width:0;white-space:normal;min-height:41px}.p360-vault-status{line-height:1.5;color:#a7cede;overflow-wrap:anywhere}
@media(max-width:440px){.p360-vault .p360-vault-actions{grid-template-columns:1fr}}
