/* Renkler: lacivert mürekkep, kâğıt zemin, kobalt sinyal, fosforlu kalem */
:root {
    --ink: #14213D;
    --paper: #F6F8FB;
    --sheet: #FFFFFF;
    --cobalt: #2F6FDE;
    --mist: #DCE5F3;
    --slate: #4A5568;
    --marker: #FFE27A;
    --ok: #1F8A55;
}
/* Flexbox layout for full height */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* body'ye sabit yükseklik verilince yapışkan menü yalnız ilk ekran boyunca yapışıyor, sonra kayıp gidiyordu */
html {
    height: 100%;
}
body {
    min-height: 100%;
}
html, body {
    font-family: 'Onest', 'Onest Fallback', system-ui, sans-serif;  /* yedek: partial/fonts.html (ölçüleri Onest'e uydurulmuş) */
    background-color: var(--paper);
    color: var(--ink);
}

body {
    display: flex;
    flex-direction: column;
}
/* Üst menü: sayfayla aynı zeminde, kaydırınca gizlenir (main.js) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 0;
    background: rgba(246, 248, 251, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--mist);
    transition: box-shadow 0.2s, background-color 0.2s;
}
.navbar.is-scrolled { background: rgba(246, 248, 251, 0.98); box-shadow: 0 8px 24px -16px rgba(20, 33, 61, 0.45); }
.nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; gap: 3px; align-items: center; height: 22px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px; background: var(--cobalt); }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 14px; }
.brand-mark i:nth-child(4) { height: 22px; }
.brand-mark i:nth-child(5) { height: 8px; }
.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
}
.navbar ul a {
    color: var(--slate);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}
.navbar ul a:hover { color: var(--ink); }
/* 861–1159 px: 14 dilde menü tek satıra sığmıyordu, "Sign up" hapı iki satıra bölünüyordu (Clarity).
   Satır kırılmaz; About/Contact (≤1159) ve Blog (≤959) gizlenir, üçü de alt bilgide var. */
.navbar ul a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1159px) {
    .navbar ul { gap: 18px; }
    .navbar ul li.nav-more { display: none; }
}
@media (min-width: 861px) and (max-width: 959px) {
    .navbar ul li.nav-blog { display: none; }
}
.navbar ul a.sign-up {
    color: var(--ink);
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 600;
}
.menu-icon {
    display: none;
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink);
    padding: 6px 8px;
    cursor: pointer;
}
@media (max-width: 860px) {
    .menu-icon { display: block; }
    .navbar ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
        background: var(--paper);
        border-bottom: 1px solid var(--mist);
    }
    .navbar ul.active { display: flex; }
    .navbar ul li a { display: block; padding: 10px 0; }
    .navbar ul a.sign-up { display: inline-block; margin-top: 8px; padding: 7px 16px; }
}

.container {
    flex: 1;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Hero'lu (stage) sayfalar ekrandan uzun: dikey ortalama gereksiz. Ortalarken tarayıcı sayfayı yarı ayrıştırılmışken çizince kısa
   içerik ortada duruyor, gerisi gelince yukarı zıplıyordu (CLS, GSC 2026-11-23) */
main.container:has(.stage) { justify-content: flex-start; }
.hero {
    padding: 40px 20px;
    background: linear-gradient(135deg, #d0e1f9, #e0f7fa);
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #333;
}
.hero-min {
    background: linear-gradient(135deg, #d0e1f9, #e0f7fa);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 40px 20px;
}
.hero h1 {
    font-size: 3em;
    font-weight: 600;
    margin: 0;
    color: #222;
}
.hero p {
    font-size: 1.2em;
    margin: 15px 0 30px;
    color: #555;
}
.hero button {
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 30px;
    background-color: #4a90e2;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero button:hover {
    background-color: #357ABD;
}
.custom-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 30px;
    background-color: #4a90e2;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.custom-btn:hover {
    background-color: #357ABD;
}
.upload-section {
    margin: 30px 0;
    padding: 30px;
    border: 2px dashed #0072ff;
    border-radius: 12px;
}
.upload-section input[type="file"] {
    padding: 10px;
    font-size: 1em;
    color: #0072ff;
    cursor: pointer;
}
.features {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}
.feature-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    width: 270px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}
.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5em;
    color: #0072ff;
    margin: 10px 0;
}
.feature-card p {
    color: #666;
    font-size: 1em;
    line-height: 1.5em;
}
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: #fafafa;
    width: 100%;
}
footer a {
    color: #357ABD;
    text-decoration: none;
}
.upload-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.upload-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #343a40;
}
.btn-upload {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
.btn-upload:hover {
    background-color: #0056b3;
}
@media (max-width: 768px) {
    .upload-container {
        padding: 20px;
    }
}
/* Yükleme ilerlemesi (partial/upload_box.html, main.js uploadProgress): ince renkli çubuk + yıldızlı ışıltılı yazı;
   "İşleniyor…" aşamasında çubuk dolu ve üstünden ışıltı akar */
.upload-progress { margin-top: 16px; }
.upload-progress[hidden] { display: none; }
#progressBarContainer { position: relative; height: 8px; border-radius: 999px; background: #E6ECF7; overflow: hidden; }
#progressBar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6, #3D6BFF); background-size: 300% 100%; animation: ai-border 2.4s linear infinite; transition: width 0.3s ease-out; }
.upload-progress.is-processing #progressBarContainer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%); background-size: 250% 100%; animation: ai-sheen 1.4s linear infinite; }
#progressText .ai-label { transition: opacity 0.18s; }
#progressText .ai-label.is-swap { opacity: 0; }
#progressText { display: flex; justify-content: center; margin-top: 10px; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.upload-progress.is-failed #progressBarContainer, .upload-progress.is-failed .ai-spark { display: none; }
.upload-progress.is-failed .ai-label { animation: none; background: none; color: #9B1C1C; }
.btn-upload.is-busy, .btn-upload.is-busy:hover, .btn-upload.is-busy:disabled {
    cursor: progress; opacity: 1; color: #fff; border-color: transparent;
    background: linear-gradient(110deg, #14213D 0%, #2F6FDE 35%, #7C5CFF 55%, #2F6FDE 75%, #14213D 100%);
    background-size: 250% 100%; animation: tts-flow 2.4s linear infinite; box-shadow: 0 6px 22px -6px rgba(124, 92, 255, .55);
}
@media (prefers-reduced-motion: reduce) {
    #progressBar, .upload-progress.is-processing #progressBarContainer::after, .btn-upload.is-busy { animation: none; }
}
.checkmark {
    display: inline-block;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background-color: #4a90e2;
    margin-bottom: 10px;
    position: relative;
}

.checkmark::before {
    content: '';
    display: block;
    width: 25px;
    height: 15px;
    border-left: 5px solid #fff;
    border-bottom: 5px solid #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 34%;
    left: 34%;
}

.result {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: start;
    overflow-y: auto;
    max-height: 334px;
}

.loading {
    font-size: 14px;
    color: #999;
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
}

.progress-bar {
    height: 20px;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 255, 0, 0.7), rgba(255, 255, 255, 0.5));
    background-size: 200% 100%;
    animation: progressAnimation 1.5s linear infinite;
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.4s ease;
}

@keyframes progressAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.circle {
    width: 80px; /* Çemberin çapı */
    height: 80px; /* Çemberin çapı */
    border-radius: 50%; /* Çember oluşturmak için */
    background-color: #4a90e2; /* Çember rengi */
    position: relative; /* İçindeki noktalara konum vermek için */
    overflow: hidden; /* Taşmayı önlemek için */
    display: flex; /* Noktaları yan yana yerleştirmek için */
    justify-content: space-around; /* Noktalar arasında boşluk bırakmak için */
    align-items: center; /* Dikey ortalamak için */
    margin: 0 auto 10px; /* Ortalamak için */
}

.dot {
    width: 15px; /* Noktanın boyutu */
    height: 15px; /* Noktanın boyutu */
    background-color: white; /* Nokta rengi */
    border-radius: 50%; /* Nokta oluşturmak için */
    animation: bounce 1s infinite; /* Zıplama animasyonu */
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px); /* Zıplama yüksekliği */
    }
}

/* !important: .result-actions/.result-tools (display:flex) sonra tanımlı; döküm bitmeden düğmeler görünmesin */
.hide {
    display: none !important;
}

.container-result {
     text-align: center;
     background-color: #fff;
     padding: 40px;
     border-radius: 12px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }

#about .features {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

#about .feature-icon {
    font-size: 40px;
    color: #2a2a72;
    margin-bottom: 10px;
}

#about .feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

#about .feature-description {
    font-size: 0.95rem;
    color: #666;
}

a.sign-up {
    border: 1px solid gold;
    padding: 5px 10px;
    font-weight: 700;
    color: gold;
}
a.sign-up:hover {
    border: 1px solid gold;
    padding: 5px 10px;
    color: #d7ab1f;
}
/* Modal styling */
.modal-content {
    border-radius: 1.2rem;
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
}
.modal-footer {
    border-top: none;
}
.btn-close-white {
    filter: brightness(0) invert(1);
}
.custom-cancel-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ana container hizalama */
.badge-container {
    display: flex;
    justify-content: flex-end;
}
.badge-container {
    width: 100%;
    padding-inline-start: 15px;
    padding-inline-end: 15px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

@media (min-width: 576px) {
    .badge-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .badge-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .badge-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .badge-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .badge-container {
        max-width: 1320px;
    }
}

/* Kullanıcı adı için alttan yarım daire outline badge tasarımı */
.user-badge {
    padding: 10px 20px;
    font-size: 14px;
    color: #0072ff;
    border: 2px solid #0072ff;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 10px;
    border-top: none;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Logout linki için tasarım */
.logout-link {
    color: #0072ff;
    text-decoration: none;
    font-weight: bold;
    margin-inline-start: 5px;
    transition: color 0.3s ease-in-out;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.logout-link:hover {
    text-decoration: none;
    color: #0056b3; /* darker color for hover effect */
}

/* İlk ekran — sesten sayfaya: solda araç, sağda sesin metne dönüştüğü sayfa */
.stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
    text-align: start;
    padding: 28px 4px 64px;
}
@media (min-width: 1000px) {
    .stage { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-top: 48px; }
}
.stage h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 16ch;
    margin: 0;
}
.stage .lede {
    margin: 20px 0 0;
    max-width: 46ch;
    color: var(--slate);
    font-size: 1.12rem;
    line-height: 1.55;
}
.tool { margin-top: 32px; }
.strip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 112px;
    padding: 22px 24px;
    background: var(--sheet);
    border: 2px dashed #A9C0E6;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s, background-color 0.15s;
}
.strip:hover, .strip.is-dragover { border-color: var(--cobalt); background: #F3F7FF; }
.strip.has-file { border-style: solid; border-color: var(--ok); background: #F2FAF5; }
.strip.has-file .strip-btn { background: var(--ok); }
.strip-bars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    opacity: 0.5;
    pointer-events: none;
}
.strip-bars i { flex: 1; background: var(--mist); border-radius: 3px; }
.strip-btn {
    position: relative;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cobalt);
    display: grid;
    place-items: center;
    transition: background-color 0.15s;
}
.strip-btn svg { width: 24px; height: 24px; }
.strip-text { position: relative; display: flex; flex-direction: column; min-width: 0; }
.strip-title { font-weight: 700; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.strip-hint { color: var(--slate); font-size: 0.95rem; }
.strip-formats { margin-top: 6px; color: var(--slate); font-size: 0.8rem; opacity: 0.85; }
/* Dosya alanı görünmez ama tarayıcının "dosya seçin" uyarısı çalışsın diye DOM'da */
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 0; left: 50%; }
.tool .formats { margin: 10px 0 0; font-size: 0.85rem; color: var(--slate); }
.controls { margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .controls { grid-template-columns: 1fr auto; } }
.controls .select, .tts-voice-b .select {
    appearance: none;
    width: 100%;
    font: inherit;
    font-weight: 500;
    color: var(--ink);
    padding: 15px 44px 15px 18px;
    border: 1.5px solid #C9D5EA;
    border-radius: 12px;
    background: var(--sheet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.controls .go {
    width: auto;
    font: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: var(--ink);
    border: 0;
    border-radius: 12px;
    padding: 15px 30px;
    cursor: pointer;
}
.controls .go:hover { background: #22325A; }
.facts {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    color: var(--slate);
    font-size: 0.95rem;
}
.facts li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    margin-inline-end: 8px;
    vertical-align: middle;
}
/* Bugün yazıya döküm yapmış ziyaretçi: kalan ücretsiz dakika (main.js, views.stt_today) */
.facts li.facts-left { color: var(--ink); font-weight: 600; }
.facts li.facts-left::before { background: linear-gradient(135deg, #3D6BFF, #9B5CFF); }
.facts li.facts-left.is-empty { color: var(--slate); font-weight: 500; }
.facts li.facts-left.is-empty::before { background: var(--mist); }
/* Sonuç ekranı yapay zekâ araçlarının altında aynı not (paragraf) */
.usage-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.usage-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #3D6BFF, #9B5CFF); flex: none; }
.usage-note.is-empty { color: var(--slate); font-weight: 500; }
.usage-note.is-empty::before { background: var(--mist); }
.usage-note[hidden] { display: none; }
.sheet {
    background: var(--sheet);
    border: 1px solid var(--mist);
    border-radius: 20px;
    padding: 28px 30px 30px;
    box-shadow: 0 30px 60px -30px rgba(20, 33, 61, 0.35);
}
.sheet-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--slate); }
.sheet-label { font-weight: 600; color: var(--ink); }
.wave { margin-top: 16px; height: 64px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; border-radius: 2px; background: var(--cobalt); opacity: 0.25; transition: opacity 0.2s; }
.wave i.on { opacity: 1; }
.transcript {
    margin: 22px 0 0;
    font-family: 'Literata', Georgia, serif;
    font-size: 1.22rem;
    line-height: 1.7;
    color: var(--ink);
}
.sheet mark { background: linear-gradient(transparent 55%, var(--marker) 55%); color: inherit; padding: 0 1px; }
.caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-inline-start: 1px;
    vertical-align: -0.15em;
    background: var(--cobalt);
    animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.sheet .note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--mist); font-size: 0.9rem; color: var(--slate); }
@media (max-width: 576px) {
    .stage { padding-top: 12px; }
    .sheet { padding: 22px 20px; }
    .transcript { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* Sayfanın geri kalanı: bölümler, özellikler, adımlar, SSS */
.band {
    text-align: start;
    padding: 56px 4px;
    border-top: 1px solid var(--mist);
}
.band h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    max-width: 26ch;
    margin: 0 0 24px;
}
.band-intro { color: var(--slate); max-width: 60ch; margin: -8px 0 28px; font-size: 1.05rem; }
.specs { display: grid; grid-template-columns: 1fr; gap: 0 56px; margin: 0; }
@media (min-width: 768px) { .specs { grid-template-columns: 1fr 1fr; } }
.specs > div { padding: 20px 0; border-top: 1px solid var(--mist); }
.specs dt { font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.specs dd { margin: 0; color: var(--slate); max-width: 52ch; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 32px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; color: var(--slate); }
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}
.steps strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
    display: inline-block;
    padding: 9px 18px;
    border: 1.5px solid #C9D5EA;
    border-radius: 999px;
    background: var(--sheet);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}
.chips a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--mist); }
.faq details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary {
    list-style: none;
    position: relative;
    padding: 18px 44px 18px 0;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cobalt);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--slate); max-width: 68ch; }
.faq a, .prose a { color: var(--cobalt); }
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 68ch; color: #2D3748; font-size: 1.05rem; line-height: 1.7; }
.compare { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare figure { margin: 0; padding: 24px; border-radius: 16px; background: #EAF0F8; }
.compare figure.is-result { background: var(--sheet); border: 1px solid var(--mist); box-shadow: 0 30px 60px -36px rgba(20, 33, 61, 0.35); }
.compare figcaption { font-size: 0.9rem; font-weight: 600; color: var(--slate); margin-bottom: 10px; }
.compare blockquote { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.compare .is-result blockquote { font-family: 'Literata', Georgia, serif; font-size: 1.15rem; }
.compare mark { background: linear-gradient(transparent 55%, var(--marker) 55%); color: inherit; padding: 0 1px; }

/* Alt bilgi: logo + ücretsiz cümlesi, Araçlar / Speecher / Yasal sütunları, diller, © + ödeme bandı */
footer {
    background: var(--ink);
    color: #B9C4D8;
    text-align: start;
    padding: 56px 24px 28px;
    margin-top: 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 32px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .brand, footer .brand:hover { color: #fff; text-decoration: none; }
footer .brand-mark i { background: #8FB2F0; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) {
    .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
    .footer-top.has-cases { grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1fr; }
    .footer-about { grid-column: auto; }
}
.footer-tagline { margin: 12px 0 0; max-width: 34ch; line-height: 1.55; font-size: 0.95rem; }
.footer-h { margin: 0 0 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8FB2F0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; }
.footer-langs a { color: #D5DDEC; }
.footer-globe { width: 16px; height: 16px; color: #8FB2F0; flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }

/* Sonuç ekranı: döküm, örnekteki gibi bir sayfada */
.result-page { text-align: start; max-width: 860px; margin: 0 auto; padding: 32px 4px 56px; }
.result-head { display: flex; align-items: center; gap: 18px; }
.result-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.result-sub { margin: 4px 0 0; color: var(--slate); }
/* Sonuç ekranı alt başlığı: telefonda 'işleniyor, tahmini süre' 2 satır, 'bitti' 1 satır → bitince altındaki her şey yukarı kayıyordu (CLS) */
@media (max-width: 640px) { #titleChild { min-height: 3em; } }
.status-bars { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 44px; }
.status-bars i { display: block; width: 6px; height: 100%; border-radius: 3px; background: var(--cobalt); transform: scaleY(0.4); animation: status-wave 1s ease-in-out infinite; }
.status-bars i:nth-child(2) { animation-delay: 0.1s; }
.status-bars i:nth-child(3) { animation-delay: 0.2s; }
.status-bars i:nth-child(4) { animation-delay: 0.3s; }
.status-bars i:nth-child(5) { animation-delay: 0.4s; }
.status-bars.is-done i { animation: none; transform: scaleY(0.7); background: var(--ok); }
/* Yükseklik değil transform: height animasyonu her karede düzen kayması (CLS) sayılıyordu */
@keyframes status-wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .status-bars i { animation: none; transform: scaleY(0.6); } }
/* Sonradan görünen öğe yerini baştan tutar (görünmez): metin kutusu aşağı itilmez (GSC CLS 2026-11-23) */
.is-reserved { visibility: hidden; }
.meter { margin-top: 28px; height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--cobalt); border-radius: 999px; transition: width 0.4s ease; }
.meter-text { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 0.9rem; color: var(--slate); }
.result-sheet { margin-top: 24px; }
.result-text { font-family: 'Literata', Georgia, serif; font-size: 1.15rem; line-height: 1.75; color: var(--ink); min-height: 4em; max-height: 60vh; overflow-y: auto; }
.result-text p { margin: 0 0 1em; }
.part-label { display: block; font-family: 'Onest', system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--slate); margin-bottom: 2px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.go, .go-outline {
    display: inline-block;
    font: inherit;
    font-weight: 700;
    border-radius: 12px;
    padding: 13px 26px;
    cursor: pointer;
    text-decoration: none;
}
.go { color: #fff; background: var(--ink); border: 1.5px solid var(--ink); }
.go:hover { color: #fff; background: #22325A; }
.go-outline { color: var(--ink); background: var(--sheet); border: 1.5px solid #C9D5EA; }
.go-outline:hover { border-color: var(--ink); color: var(--ink); }
.navbar ul a.sign-up:hover { color: var(--ink); border-color: var(--cobalt); }
#registerSaveModal .modal-header { background: var(--sheet); color: var(--ink); border-bottom: 1px solid var(--mist); }
#registerSaveModal .modal-title { font-weight: 700; }
#registerSaveModal .modal-footer { background: var(--paper); gap: 8px; }
#toTop { background: var(--ink); border-color: var(--ink); }

/* İç sayfalar: başlık, okunur metin, iletişim formu, blog */
.page-head { text-align: start; padding: 48px 4px 32px; }
.page-head h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    max-width: 18ch;
    margin: 0;
}
.page-head .lede { margin: 18px 0 0; max-width: 56ch; color: var(--slate); font-size: 1.15rem; line-height: 1.55; }
.prose ul { max-width: 68ch; color: #2D3748; padding-inline-start: 1.2em; }
.prose ul.chips { padding-inline-start: 0; margin: 8px 0 8px; }

/* 404: "4 ∿ 4", ortadaki dalga sönüp düz çizgiye iner */
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 9vh, 96px) 0 72px; }
.nf-code { display: flex; align-items: center; gap: clamp(8px, 2vw, 18px); font-size: clamp(5.5rem, 18vw, 9.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--ink); }
.nf-wave { flex: none; width: 1.15em; height: 0.7em; overflow: visible; }
.nf-flat { stroke: var(--mist); stroke-width: 3; stroke-linecap: round; }
.nf-bars rect { fill: var(--cobalt); transform-box: fill-box; transform-origin: center; animation: nf-fade 2.8s ease-in-out infinite; }
.nf-bars rect:nth-child(2n) { animation-delay: -0.4s; }
.nf-bars rect:nth-child(3n) { animation-delay: -0.9s; }
.nf-bars rect:nth-child(5), .nf-bars rect:nth-child(6), .nf-bars rect:nth-child(7) { fill: #8FB2F0; }
@keyframes nf-fade { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }
@media (prefers-reduced-motion: reduce) { .nf-bars rect { animation: none; } }
.nf h1 { margin: 28px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.nf .lede { margin: 12px auto 0; max-width: 44ch; color: var(--slate); font-size: 1.1rem; line-height: 1.55; }
.nf-home { margin: 28px 0 0; }
.nf-tools { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--mist); width: min(100%, 520px); }
.nf-tools-h { margin: 0 0 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.nf-tools .chips { justify-content: center; }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 8px 56px; align-items: start; padding-bottom: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } .contact-form { margin-top: 56px; } }
.contact-form { text-align: start; }
.contact-form .field { margin-bottom: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
    display: block;
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: 14px 16px;
    border: 1.5px solid #C9D5EA;
    border-radius: 12px;
    background: var(--sheet);
}
.contact-form textarea { min-height: 160px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.contact-form .go { width: 100%; }
.post-list { display: grid; grid-template-columns: 1fr; gap: 40px 32px; }
@media (min-width: 700px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { text-align: start; }
.post-card a { display: block; color: inherit; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--mist); }
.post-card h2 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--ink); margin: 16px 0 8px; }
.post-card p { margin: 0; color: var(--slate); }
.post-card a:hover h2 { color: var(--cobalt); }
.article { width: 100%; max-width: 760px; margin: 0 auto; text-align: start; padding: 48px 4px 56px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin: 0; }
.article .meta { margin: 14px 0 28px; color: var(--slate); font-size: 0.95rem; }
.article .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 32px; }
.article .content { font-size: 1.08rem; line-height: 1.75; color: #2D3748; }
.article .content p { margin: 0 0 1.1em; }
.article .content h2, .article .content h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 12px; }
.article .content img { max-width: 100%; height: auto; border-radius: 12px; }
.article .content a { color: var(--cobalt); }
.post-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--mist); }
.post-nav-pair { display: flex; flex-wrap: wrap; gap: 12px; }

/* Blog: solda arama ve kategoriler, kaydırınca sabit */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 32px; text-align: start; padding: 8px 4px 56px; border-top: 1px solid var(--mist); }
@media (min-width: 992px) {
    .blog-layout { grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
    .blog-side { position: sticky; top: 96px; }
}
.blog-side { padding-top: 32px; }
.blog-main { padding-top: 32px; }
.blog-search input {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: 12px 14px 12px 40px;
    border: 1.5px solid #C9D5EA;
    border-radius: 12px;
    background: var(--sheet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
}
.blog-search input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.category-list { list-style: none; padding: 0; margin: 20px 0 0; }
.category-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--slate);
    font-weight: 500;
    text-decoration: none;
}
.category-list a:hover { background: #EAF0F8; color: var(--ink); }
.category-list a.active { background: var(--ink); color: #fff; }
.category-list .count { font-size: 0.85rem; opacity: 0.75; }
.blog-main .post-list { grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-main .post-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .blog-main .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-category { display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 600; color: var(--cobalt); }
.post-category + h2 { margin-top: 4px; }
.blog-main .empty { color: var(--slate); }
.article .meta a { color: var(--cobalt); text-decoration: none; font-weight: 600; }
.cta-row { margin: 32px 0 0; }

/* İlk ekran: iki sütun her içerikte aynı boyda; örnek sayfa soldaki sütun kadar uzar, not dibe oturur */
@media (min-width: 1000px) {
    .stage { align-items: stretch; }
    .stage .sheet { display: flex; flex-direction: column; }
    .stage .sheet .transcript { margin-bottom: 18px; }
    .stage .sheet .note { margin-top: auto; }
    /* Örnek kart kendi boyunda (forma gerilince ortası boş kalıyordu; seslendirmede form uzayınca kart da uzuyordu)
       ve kaydırınca ekranda kalır (FAQ görseli gibi) — ses yazıya ve seslendirme sayfalarının hepsinde */
    .stage > .sheet { align-self: start; position: sticky; top: 110px; }
    /* Alt satır (Ücretsiz · Üyelik gerekmez · kalan hak notu) normal akışta: kalan hak notu ikinci satıra inince
       mutlak konumlu liste ilk ekranın dışına taşıp ayırıcının üstüne biniyordu */
}

/* Giriş, kayıt, profil */
/* Kart dar kalıyordu, uzun e-posta adresleri kesiliyordu */
/* .container flex sütun: auto margin içeriğe göre daraltıyordu, genişlik açıkça veriliyor */
.auth { width: 100%; max-width: 560px; margin: 64px auto 96px; text-align: start; }
.auth h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin: 0; }
.auth .lede { margin: 10px 0 24px; color: var(--slate); }
.auth-card { background: var(--sheet); border: 1px solid var(--mist); border-radius: 20px; padding: 36px; box-shadow: 0 30px 60px -36px rgba(20, 33, 61, 0.35); }
.auth .field { margin-bottom: 16px; }
.auth label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.auth input[type="email"], .auth input[type="password"], .auth input[type="text"], .auth select {
    display: block;
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: 13px 16px;
    border: 1.5px solid #C9D5EA;
    border-radius: 12px;
    background: var(--sheet);
}
.auth input:focus, .auth select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.auth .check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-weight: 400; color: var(--slate); }
.auth .check input { margin-top: 4px; }
.auth .legal-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--slate); }
.auth .legal-note + .legal-note { margin-top: 6px; }
.auth-switch { margin: 12px 0 0; font-size: 0.9rem; text-align: center; }
.code-resend { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; font-size: 0.85rem; color: var(--slate); }
.code-resend .link-btn { padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--cobalt); }
.auth .field input[readonly] { background: #F1F4F9; color: var(--slate); }
.auth .go { width: 100%; }
.auth a { color: var(--cobalt); }
.auth-alt { margin: 18px 0 0; color: var(--slate); }
.auth-forgot { margin: 8px 0 0; font-size: 0.9rem; text-align: end; }
.auth-forgot a { color: var(--cobalt); font-weight: 600; }
.form-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 0.92rem; }
.profile-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 48px 4px 24px; text-align: start; }
.profile-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin: 0; }
.profile-head p { margin: 8px 0 0; color: var(--slate); }
.text-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); text-align: start; }
.text-item { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--mist); }
@media (min-width: 768px) { .text-item { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.text-meta { margin: 0 0 6px; font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.text-excerpt { margin: 0; font-family: 'Literata', Georgia, serif; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.text-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.text-actions form { margin: 0; }
.btn-sm-go {
    display: inline-block;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border: 1.5px solid #C9D5EA;
    border-radius: 10px;
    background: var(--sheet);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}
.btn-sm-go:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm-go.danger { color: #B42318; border-color: #F3C5C0; }
.btn-sm-go.danger:hover { background: #FDECEC; border-color: #B42318; color: #B42318; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 28px 0 56px; color: var(--slate); }
.empty-state { padding: 32px 4px 64px; text-align: start; color: var(--slate); }
.empty-state p { margin: 0 0 18px; }
#transcriptionModal .modal-header { border-bottom: 1px solid var(--mist); }
#transcriptionModal .modal-title { font-weight: 700; color: var(--ink); }
#transcriptionModal .modal-body { font-family: 'Literata', Georgia, serif; font-size: 1.05rem; line-height: 1.7; color: var(--ink); white-space: pre-wrap; }
#transcriptionModal .modal-footer { background: var(--paper); }
@media (max-width: 576px) { .auth { margin: 32px auto 56px; } .auth-card { padding: 24px 20px; } }

/* Metin seslendirme */
.tts-box { position: relative; }
.tts-box textarea {
    display: block;
    width: 100%;
    min-height: 168px;
    resize: vertical;
    font: inherit;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink);
    padding: 18px 20px 34px;
    border: 2px dashed #A9C0E6;
    border-radius: 16px;
    background: var(--sheet);
}
.tts-box textarea:focus { outline: none; border-style: solid; border-color: var(--cobalt); }
.tts-count { position: absolute; inset-inline-end: 16px; bottom: 10px; font-size: 0.8rem; color: var(--slate); }
.tts-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 0.92rem; }
.tts-result { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.tts-result audio { flex: 1; min-width: 240px; }
.tts-result[hidden], .tts-error[hidden] { display: none; }
.tts-speed { flex: none; }
/* Okuma görünümü: okunan cümle vurgulu, tıklanınca oraya gidilir */
.tts-reader { flex-basis: 100%; position: relative; max-height: 240px; overflow-y: auto; padding: 14px 16px; border: 1.5px solid var(--mist); border-radius: 12px; background: var(--sheet); color: var(--slate); line-height: 1.7; text-align: start; }
.tts-reader p { margin: 0 0 8px; }
.tts-reader p:last-child { margin-bottom: 0; }
.tts-reader b { color: var(--ink); font-weight: 700; }
.tts-line { cursor: pointer; border-radius: 4px; transition: background-color 0.15s, color 0.15s; }
.tts-line:hover { color: var(--ink); }
.tts-line.is-now { background: #E3ECFB; color: var(--ink); }
.tts-reader-hint { flex-basis: 100%; margin: 0; }
.tts-reader[hidden], .tts-reader-hint[hidden], .tts-result a[hidden] { display: none; }

/* Seslendirme sürerken: AI havası — akan gradyanlı düğme, dans eden dalga, aşama metni, ilerleme çizgisi */
.tts-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.tts-spark { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tts-go.is-busy, .tts-go.is-busy:hover {
    cursor: progress; opacity: 1; border-color: transparent;
    background: linear-gradient(110deg, #14213D 0%, #2F6FDE 35%, #7C5CFF 55%, #2F6FDE 75%, #14213D 100%);
    background-size: 250% 100%;
    animation: tts-flow 2.4s linear infinite;
    box-shadow: 0 6px 22px -6px rgba(124, 92, 255, .55);
}
.tts-go.is-busy .tts-spark { animation: tts-twinkle 1.6s ease-in-out infinite; }
@keyframes tts-flow { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes tts-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(45deg); opacity: .7; } }

.tts-gen {
    display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 16px 20px;
    border-radius: 16px; position: relative; isolation: isolate;
    background: linear-gradient(135deg, #F3F6FF 0%, #F5F1FF 100%);
    animation: tts-in .35s ease-out;
}
.tts-gen::before {  /* dönen gradyan kenarlık */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
    background: conic-gradient(from var(--tts-angle, 0deg), #2F6FDE, #7C5CFF, #22C3E6, #2F6FDE);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: tts-spin 3s linear infinite;
}
@property --tts-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes tts-spin { to { --tts-angle: 360deg; } }
@keyframes tts-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tts-gen[hidden] { display: none; }
.tts-gen-wave { display: flex; align-items: center; gap: 3px; height: 40px; flex: none; }
.tts-gen-wave span {
    width: 3px; height: 100%; border-radius: 3px;
    background: linear-gradient(180deg, #7C5CFF, #2F6FDE 60%, #22C3E6);
    transform: scaleY(.18);
    animation: tts-wave 1.15s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.09s);
}
.tts-gen-wave span:nth-child(3n) { animation-duration: 1.45s; }
.tts-gen-wave span:nth-child(4n+1) { animation-duration: .95s; }
@keyframes tts-wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
.tts-gen-info { flex: 1; min-width: 0; }
.tts-gen-stage {
    margin: 0 0 9px; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(90deg, #14213D 0%, #14213D 40%, #7C5CFF 50%, #14213D 60%, #14213D 100%);
    background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: tts-shimmer 2.2s linear infinite;
}
.tts-gen-stage.is-swap { animation: tts-shimmer 2.2s linear infinite, tts-in .35s ease-out; }
@keyframes tts-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.tts-gen-track { height: 4px; border-radius: 4px; background: rgba(47, 111, 222, .14); overflow: hidden; }
.tts-gen-bar {
    height: 100%; width: 0; border-radius: inherit; transition: width .6s ease-out;
    background: linear-gradient(90deg, #2F6FDE, #7C5CFF, #22C3E6);
}
@media (max-width: 480px) {
    .tts-gen { gap: 12px; padding: 14px 16px; }
    .tts-gen-wave span:nth-child(n+15) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tts-go.is-busy, .tts-go.is-busy .tts-spark, .tts-gen, .tts-gen::before, .tts-gen-stage, .tts-gen-stage.is-swap { animation: none; }
    .tts-gen-wave span { animation: none; transform: scaleY(.5); }
    .tts-gen-stage { color: var(--ink); background: none; }
}
.tts-sheet .transcript { margin-top: 0; }
.player { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.play-btn {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--cobalt);
    color: #fff;
    cursor: pointer;
}
.play-btn svg { width: 22px; height: 22px; }
.play-btn .icon-pause, .play-btn.is-playing .icon-play { display: none; }
.play-btn.is-playing .icon-pause { display: block; }
.player .wave { flex: 1; margin-top: 0; }
/* Seslendirme kartı: metin büyük, oynatıcı ve not dipte; ortada boşluk kalmasın */
.stage .tts-sheet .transcript { font-size: 1.45rem; line-height: 1.6; }
@media (min-width: 1000px) {
    .stage .tts-sheet .player { margin-top: auto; padding-top: 24px; }
    .stage .tts-sheet .note { margin-top: 18px; }
}

/* Profil: dökümler ve seslendirmeler iki bölüm */
.profile-section { text-align: start; padding: 8px 4px 24px; }
.profile-section h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); margin: 16px 0 12px; }
.profile-section + .profile-section { margin-top: 24px; }
.clip-audio { display: block; width: 100%; max-width: 420px; margin-top: 10px; height: 36px; }

/* Profil v2: hesap başlığı, sekmeler, geçmiş listesi */
.account { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; padding: 48px 4px 28px; text-align: start; }
@media (min-width: 900px) { .account { grid-template-columns: auto 1fr auto; } }
.avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}
.account-who h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin: 0; line-height: 1.1; }
.account-who p { margin: 4px 0 0; color: var(--slate); overflow-wrap: anywhere; }
.account-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 900px) { .account-actions { grid-column: auto; justify-content: flex-end; } }
.account-actions form { margin: 0; }
.link-btn { background: none; border: 0; padding: 12px 10px; font: inherit; font-weight: 600; color: var(--slate); cursor: pointer; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--mist); margin: 0 4px; text-align: start; }
.tab { position: relative; padding: 12px 0 14px; font-weight: 600; color: var(--slate); text-decoration: none; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--cobalt); }
.tab-count { display: inline-block; min-width: 26px; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: #EAF0F8; color: var(--slate); font-size: 0.8rem; text-align: center; }
.tab.active .tab-count { background: var(--ink); color: #fff; }
.history { list-style: none; margin: 0; padding: 0 4px; text-align: start; }
.history-item { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--mist); }
@media (min-width: 768px) { .history-item { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.history-item.has-player { grid-template-columns: auto 1fr; }
@media (min-width: 768px) { .history-item.has-player { grid-template-columns: auto 1fr auto; } }
.history-item.has-player .text-actions { grid-column: 1 / -1; }
@media (min-width: 768px) { .history-item.has-player .text-actions { grid-column: auto; } }
.history-body { min-width: 0; }
.history .text-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-processing { display: inline-block; margin-inline-end: 6px; padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--cobalt); font-size: 0.75rem; font-weight: 700; text-decoration: none; }
/* Yükleme kutusu üstünde son döküm bandı (main.js /stt/latest) */
.stt-last { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 14px; padding: 12px 16px; border: 1.5px solid #C9D5EA; border-radius: 14px; background: var(--sheet); color: var(--ink); font-weight: 600; }
.stt-last[hidden] { display: none; }
/* Yükleniyor: band baştan açık, metin yerine iskelet çizgisi (aynı satır yüksekliği), "Aç" yer tutar — gelince kayma/titreme yok */
.stt-last.is-loading .stt-last-text::before { content: ""; display: inline-block; width: min(260px, 55vw); height: 11px; border-radius: 6px; vertical-align: middle; background: linear-gradient(90deg, #E8EDF8 0%, #DCE4FF 35%, #ECE2FF 55%, #E8EDF8 80%); background-size: 220% 100%; animation: ai-sheen 1.6s ease-in-out infinite; }
.stt-last.is-loading .stt-last-open { visibility: hidden; }
.stt-last:not(.is-loading) .stt-last-text, .stt-last:not(.is-loading) .stt-last-open { animation: stt-last-in 0.25s ease-out; }
@keyframes stt-last-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stt-last.is-loading .stt-last-text::before, .stt-last-text, .stt-last-open { animation: none; } }
.stt-last-open { color: var(--cobalt); font-weight: 700; text-decoration: none; white-space: nowrap; }
.stt-last-open:hover { text-decoration: underline; }
.badge-partial { display: inline-block; margin-inline-end: 6px; padding: 1px 8px; border-radius: 999px; background: #FEF3E2; color: #9A5B13; font-size: 0.75rem; font-weight: 600; }
.badge-failed { display: inline-block; margin-inline-end: 6px; padding: 1px 8px; border-radius: 999px; background: #FDECEC; color: #B42318; font-size: 0.75rem; font-weight: 700; }
.clip-progress { height: 3px; margin-top: 12px; border-radius: 3px; background: var(--mist); overflow: hidden; max-width: 420px; }
.clip-progress span { display: block; height: 100%; width: 0; background: var(--cobalt); transition: width 0.25s linear; }
.history .play-btn { width: 46px; height: 46px; }

/* İçeriğin sağında görsel (SSS, Hakkında); geniş ekranda kaydırırken görünür kalır, telefonda gizli */
.with-art { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.side-art { display: none; }
@media (min-width: 992px) {
    .with-art { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; }
    .side-art { display: block; width: 100%; height: auto; position: sticky; top: 110px; }
}

/* Nasıl çalışır: kartlar, kesikli bağlantı çizgisi, her adımın küçük arayüz parçası */
.how { list-style: none; position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; margin: 8px 0 0; padding: 0; text-align: start; }
@media (min-width: 900px) {
    .how { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .how::before { content: ""; position: absolute; top: 78px; left: 12%; right: 12%; border-top: 2px dashed #A9C0E6; }
}
.how li { position: relative; z-index: 1; padding: 18px 18px 24px; background: var(--sheet); border: 1px solid var(--mist); border-radius: 20px; box-shadow: 0 24px 48px -36px rgba(20, 33, 61, 0.4); }
.how-visual { position: relative; height: 128px; display: grid; place-items: center; border-radius: 14px; background: #F1F5FC; overflow: hidden; }
.how-num {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: -17px 0 12px 16px;
    position: relative;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 0 4px var(--sheet);
}
.how strong { display: block; color: var(--ink); font-size: 1.12rem; margin: 0 4px 6px; }
.how p { margin: 0 4px; color: var(--slate); }
.mini-drop { display: flex; align-items: center; gap: 12px; width: 82%; padding: 14px; border: 2px dashed #A9C0E6; border-radius: 12px; background: var(--sheet); }
.mini-up { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt); }
.mini-up svg { width: 18px; height: 18px; }
.mini-file { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.mini-bar i { display: block; width: 68%; height: 100%; border-radius: 6px; background: var(--cobalt); }
.mini-pick { width: 72%; }
.mini-select { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1.5px solid var(--cobalt); border-radius: 10px; background: var(--sheet); font-size: 0.9rem; font-weight: 600; color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.mini-select svg { width: 14px; height: 14px; }
.mini-options { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; padding: 0 14px; }
.mini-options i { display: block; height: 7px; border-radius: 7px; background: var(--mist); }
.mini-options i:nth-child(1) { width: 70%; }
.mini-options i:nth-child(2) { width: 52%; }
.mini-options i:nth-child(3) { width: 61%; }
.mini-page { display: flex; flex-direction: column; gap: 9px; width: 62%; padding: 16px 16px 18px; border-radius: 10px; background: var(--sheet); box-shadow: 0 16px 30px -18px rgba(20, 33, 61, 0.45); }
.mini-page i { display: block; height: 7px; border-radius: 7px; background: var(--mist); }
.mini-page .l1 { width: 46%; height: 9px; background: var(--ink); }
.mini-page .l2 { width: 92%; }
.mini-page .l3 { width: 74%; background: linear-gradient(90deg, var(--marker) 0 58%, var(--mist) 58%); height: 9px; }
.mini-page .l4 { width: 84%; }

/* Özellik ızgarası: kartsız, ikonlu; "Nasıl çalışır" kartlarından ayrışsın */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 32px 44px; margin: 8px 0 0; text-align: start; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid.is-four { grid-template-columns: 1fr 1fr; } }
.feature-item { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; }
.feature-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #EAF0F8;
    color: var(--cobalt);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-item dt { margin: 4px 0 6px; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.feature-item dd { margin: 0; color: var(--slate); line-height: 1.55; }

/* Dil kutucukları: ad, İngilizce adı, gerçek örnekten bir cümle */
.lang-tiles { list-style: none; display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; text-align: start; }
@media (min-width: 600px) { .lang-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lang-tiles { grid-template-columns: repeat(4, 1fr); } }
.lang-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 22px;
    border: 1px solid var(--mist);
    border-radius: 18px;
    background: var(--sheet);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.lang-tile:hover { color: var(--ink); border-color: var(--cobalt); transform: translateY(-2px); box-shadow: 0 22px 40px -30px rgba(20, 33, 61, 0.5); }
.lang-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.lang-sub { margin-top: 2px; font-size: 0.85rem; color: var(--slate); }
.lang-quote {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mist);
    font-family: 'Literata', Georgia, serif;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lang-tile.is-tts { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-tile.is-tts:hover { color: #fff; border-color: var(--cobalt); }
.lang-tile.is-tts .lang-sub { color: #B9C4D8; }
.lang-tile.is-tts .lang-quote { border-top-color: rgba(255, 255, 255, 0.16); color: #E4EAF5; }
.lang-tile.is-tts svg { width: 14px; height: 14px; margin-inline-end: 6px; vertical-align: -1px; color: #8FB2F0; }

/* Dil seçici */
.lang-menu { position: relative; }
.lang-menu details { position: relative; }
.lang-menu summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1.5px solid var(--mist);
    border-radius: 999px;
    background: var(--sheet);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu details[open] summary { border-color: var(--cobalt); }
.lang-menu summary svg { width: 18px; height: 18px; color: var(--cobalt); }
.lang-menu summary .chev { width: 12px; height: 12px; color: var(--slate); transition: transform 0.15s; }
.lang-menu details[open] .chev { transform: rotate(180deg); }
.lang-list {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    z-index: 20;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--mist);
    border-radius: 16px;
    background: var(--sheet);
    box-shadow: 0 24px 48px -24px rgba(20, 33, 61, 0.45);
}
.navbar .lang-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 500;
}
.navbar .lang-list a:hover { background: #EAF0F8; }
.navbar .lang-list a.is-current { background: var(--ink); color: #fff; }
.lang-code { font-size: 0.75rem; font-weight: 700; color: var(--slate); }
.lang-list a.is-current .lang-code { color: #B9C4D8; }
@media (max-width: 860px) {
    .lang-menu summary { display: inline-flex; margin: 8px 0; }
    .lang-list { position: static; box-shadow: none; margin-bottom: 8px; }
}
.lang-suggest {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    padding: 10px 48px 10px 16px;
    background: var(--ink);
    color: #fff;
    font-size: 0.95rem;
}
.lang-suggest[hidden] { display: none; }
.lang-suggest .go { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); border-color: #fff; font-size: 0.9rem; }
.lang-suggest-close { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #B9C4D8; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Dil kutucuğu: bağlantı tüm kutuyu kaplar, oynat butonu üstte */
div.lang-tile { position: relative; cursor: pointer; }
.lang-tile .lang-name { color: inherit; text-decoration: none; }
.lang-tile .lang-name::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.lang-tile:hover { color: var(--ink); border-color: var(--cobalt); transform: translateY(-2px); box-shadow: 0 22px 40px -30px rgba(20, 33, 61, 0.5); }
.lang-tile.is-tool { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-tile.is-tool:hover { color: #fff; border-color: var(--cobalt); }
.lang-tile.is-tool .lang-sub { color: #B9C4D8; }
.lang-tile.is-tool .lang-quote { border-top-color: rgba(255, 255, 255, 0.16); color: #E4EAF5; }
.tile-play {
    position: absolute;
    z-index: 2;
    top: 18px;
    inset-inline-end: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--cobalt);
    color: #fff;
    cursor: pointer;
}
.tile-play svg { width: 16px; height: 16px; }
.tile-play .icon-pause, .tile-play.is-playing .icon-play { display: none; }
.tile-play.is-playing .icon-pause { display: block; }

/* Blog yazısı: solda arama ve kategoriler, sağda diğer yazılar; ikisi de kaydırırken sabit */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; text-align: start; }
.post-left { display: none; }
.post-layout .article { width: 100%; max-width: 740px; margin: 0 auto; padding-bottom: 24px; }
@media (min-width: 1000px) {
    .post-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
    .post-sticky { position: sticky; top: 96px; }
    .post-right { padding-top: 56px; }
}
@media (min-width: 1300px) {
    .post-layout { grid-template-columns: 220px minmax(0, 1fr) 280px; }
    .post-left { display: block; padding-top: 56px; }
    .post-left .category-list { margin-top: 16px; }
}
.side-title { font-size: 0.85rem; font-weight: 700; color: var(--slate); margin: 0 0 12px; }
.side-posts { list-style: none; margin: 0; padding: 0; }
.side-posts li + li { border-top: 1px solid var(--mist); }
.side-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 12px 0; color: var(--ink); text-decoration: none; }
.side-posts img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--mist); }
.side-posts .post-category { margin: 0; font-size: 0.75rem; }
.side-post-title { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
.side-posts a:hover .side-post-title { color: var(--cobalt); }
.side-cta { margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--ink); color: #C8D2E4; }
.side-cta-title { margin: 0 0 6px; color: #fff; font-size: 1.1rem; font-weight: 800; }
.side-cta p { margin: 0 0 14px; font-size: 0.92rem; }
.side-cta .go, .side-cta .go-outline { display: block; width: 100%; text-align: center; padding: 11px 16px; }
.side-cta .go { background: #fff; color: var(--ink); border-color: #fff; margin-bottom: 8px; }
.side-cta .go-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.lang-tile:has(.tile-play) .lang-name { padding-inline-end: 44px; }
/* .navbar ul kuralı iç içe dil listesine de uygulanıyordu (yatay diziliyordu) */
.navbar ul.lang-list { display: block; gap: 0; padding: 8px; }
.navbar ul.lang-list li { display: block; }
@media (max-width: 860px) { .navbar ul.lang-list { position: static; padding: 4px 0; border: 0; } }
/* Yan sütunlar yazı boyunca uzasın; yoksa içlerindeki yapışkan blok kayacak yer bulamıyor */
.post-left, .post-right { align-self: stretch; }

/* Ana sayfa özellikleri: büyük koyu dil kutusu + görselli küçük kutular */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; text-align: start; }
@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } .bento-lang { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
    .bento { grid-template-columns: repeat(3, 1fr); }
    .bento-lang { grid-column: span 2; grid-row: span 2; }
}
.bento-item { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--mist); border-radius: 20px; background: var(--sheet); }
.bento-item h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.bento-item p { margin: 0; color: var(--slate); line-height: 1.55; }
.bento-visual { display: grid; place-items: center; height: 92px; margin-bottom: 18px; border-radius: 14px; background: #F1F5FC; }
.bento-item.is-plain { flex-direction: row; gap: 16px; align-items: flex-start; }
.bento-item.is-plain .feature-icon { flex: none; }

.bento-lang { justify-content: flex-end; background: var(--ink); border-color: var(--ink); padding: 28px; }
.bento-lang h3 { color: #fff; font-size: 1.4rem; }
.bento-lang p { color: #B9C4D8; max-width: 52ch; }
.greetings { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0 0 28px !important; max-width: none !important; font-family: 'Literata', Georgia, serif; color: #E4EAF5 !important; line-height: 1.25 !important; }
.greetings span { opacity: 0.85; }
.greetings .g-s { font-size: 1.05rem; opacity: 0.55; }
.greetings .g-m { font-size: 1.45rem; }
.greetings .g-l { font-size: 1.9rem; }
.greetings .g-xl { font-size: 2.6rem; opacity: 1; color: #fff; }
.greetings mark { background: linear-gradient(transparent 60%, rgba(255, 226, 122, 0.55) 60%); color: inherit; padding: 0 2px; }

.mini-voice { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px 18px 18px 6px; background: var(--sheet); box-shadow: 0 12px 24px -16px rgba(20, 33, 61, 0.45); }
.mv-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; }
.mv-play svg { width: 14px; height: 14px; }
.mv-bars { display: flex; align-items: center; gap: 3px; height: 26px; }
.mv-bars i { display: block; width: 3px; border-radius: 2px; background: var(--cobalt); }
.mv-bars i:nth-child(odd) { height: 60%; } .mv-bars i:nth-child(even) { height: 35%; }
.mv-bars i:nth-child(3n) { height: 90%; } .mv-bars i:nth-child(5n) { height: 50%; }
.mv-bars i:nth-child(n+9) { opacity: 0.35; }
.mv-time { font-size: 0.8rem; font-weight: 600; color: var(--slate); }
.mini-parts { display: flex; gap: 6px; width: 84%; }
.mini-parts span { flex: 1; padding: 9px 0; border-radius: 8px; background: var(--mist); text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--slate); }
.mini-parts span:last-child { flex: 0.6; }
.mini-parts .done { background: var(--cobalt); color: #fff; }
.mini-parts .active { background: linear-gradient(90deg, var(--cobalt) 0 55%, #A9C0E6 55%); color: #fff; }
.mini-punct { padding: 0 18px; font-family: 'Literata', Georgia, serif; font-size: 1.02rem; color: var(--ink); text-align: center; line-height: 1.5; }
.mini-punct b { color: var(--cobalt); font-weight: 700; font-size: 1.2em; }
/* Dil kutusu: selamlar üstte ve büyük, açıklama dipte; kutu boş kalmasın */
.bento-lang { justify-content: space-between; gap: 28px; }
.greetings { gap: 10px 24px; margin: 0 !important; }
.greetings .g-s { font-size: 1.3rem; }
.greetings .g-m { font-size: 1.85rem; }
.greetings .g-l { font-size: 2.5rem; }
.greetings .g-xl { font-size: 3.4rem; }
.greetings mark { background: var(--marker); color: var(--ink); padding: 0 8px; border-radius: 6px; }
@media (max-width: 699px) {
    .greetings .g-l { font-size: 1.8rem; }
    .greetings .g-xl { font-size: 2.4rem; }
}

/* Dil listesi v2: iki satırlı seçenekler (kendi adı + İngilizce adı), seçilide onay; #nav-links kurallarından bağımsız */
#nav-links .lang-panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    z-index: 20;
    width: 300px;
    padding: 8px;
    border: 1px solid var(--mist);
    border-radius: 18px;
    background: var(--sheet);
    box-shadow: 0 28px 56px -28px rgba(20, 33, 61, 0.5);
}
#nav-links .lang-panel .lang-list { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; min-width: 0; }
#nav-links .lang-panel .lang-list li { display: block; }
#nav-links .lang-panel .lang-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: none;
    color: var(--ink);
    text-decoration: none;
}
#nav-links .lang-panel .lang-list a:hover { background: #EEF3FB; }
#nav-links .lang-panel .lang-list a.is-current { background: #EAF0F8; color: var(--ink); }
.lang-text { display: flex; flex-direction: column; min-width: 0; }
.lang-native { font-size: 0.92rem; font-weight: 600; line-height: 1.25; }
.lang-english { font-size: 0.75rem; color: var(--slate); line-height: 1.3; }
.lang-check { flex: none; width: 16px; height: 16px; color: var(--cobalt); }
@media (max-width: 860px) {
    #nav-links .lang-panel { position: static; width: 100%; margin: 4px 0 8px; box-shadow: none; }
}

/* Gürültü görseli: noktalı (gürültülü) zemin üstünde net dalga */
.bento-visual.is-noise { background-color: #F1F5FC; background-image: radial-gradient(#B9C9E4 1.3px, transparent 1.6px); background-size: 11px 9px; }
.mv-bars.is-clean { height: 52px; gap: 4px; }
.mv-bars.is-clean i { width: 5px; opacity: 1; }
/* Uzun dil adları (Bahasa Indonesia, Português (Brasil)) tek satırda kalsın */
#nav-links .lang-panel { width: 420px; }
.lang-native, .lang-english { white-space: nowrap; }
@media (max-width: 860px) { #nav-links .lang-panel { width: 100%; } }

/* Dil sayfası notları: kartlar + yan yana paneller; tırnak içi örnekler kalemle vurgulu */
.lang-notes, .note-panels { text-align: start; }
.note-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .note-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.note-card {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid var(--mist);
    border-radius: 18px;
    background: var(--sheet);
    box-shadow: 0 22px 44px -34px rgba(20, 33, 61, 0.45);
}
.note-card::before { content: ""; position: absolute; top: 0; inset-inline-start: 22px; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--cobalt); }
.note-card p { margin: 0; color: #2D3748; line-height: 1.65; }
.note-quote { background: linear-gradient(transparent 55%, var(--marker) 55%); padding: 0 2px; font-family: 'Literata', Georgia, serif; color: var(--ink); }
.note-panels { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .note-panels { grid-template-columns: 1fr 1fr; } }
.note-panel { padding: 26px; border: 1px solid var(--mist); border-radius: 20px; background: var(--sheet); }
.note-panel.is-tips { background: #EEF3FB; border-color: #DCE5F3; }
.note-panel.is-tips .feature-icon { background: var(--sheet); }
.note-panel h2 { margin: 16px 0 10px; font-size: 1.3rem; max-width: none; }
.note-panel p { margin: 0 0 10px; color: #2D3748; line-height: 1.65; }
.note-panel p:last-child { margin-bottom: 0; }

/* Seslendirme özellik kutuları */
@media (min-width: 1000px) { .tts-bento .tts-free { grid-column: 1 / -1; } }
@media (min-width: 700px) and (max-width: 999px) { .tts-bento .tts-free { grid-column: 1 / -1; } }
.voice-chips { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; height: auto; min-height: 92px; padding: 12px; }
.voice-chip { padding: 5px 10px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--mist); font-size: 0.78rem; color: var(--slate); white-space: nowrap; }
.voice-chip b { color: var(--ink); font-weight: 700; }
.voice-chip.is-on { background: var(--cobalt); border-color: var(--cobalt); color: #DCE7FB; }
.voice-chip.is-on b { color: #fff; }
.mp3-row { display: flex; align-items: center; gap: 12px; width: 82%; padding: 10px 12px; border-radius: 12px; background: var(--sheet); box-shadow: 0 12px 24px -16px rgba(20, 33, 61, 0.45); }
.mf-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #EAF0F8; color: var(--cobalt); }
.mf-icon svg { width: 18px; height: 18px; }
.mf-name { flex: 1; display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.mf-name small { font-size: 0.72rem; font-weight: 500; color: var(--slate); }
.mf-down { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; }
.mf-down svg { width: 16px; height: 16px; }
/* Dar kutularda görseller taşmasın: alan içeriğe göre uzar, dosya satırı daralır */
.bento-visual { height: auto; min-height: 92px; padding: 12px; }
.mp3-row { width: min(270px, 100%); min-width: 0; }
.mf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-chips { justify-content: flex-start; }
.mini-voice, .mini-parts { max-width: 100%; }

/* Dil seçici menü listesinin dışında: her genişlikte başlıkta, telefonda hamburgerin yanında */
.nav-tools { display: flex; align-items: center; gap: 10px; }
.navbar .nav-tools .lang-panel, .auth-top .lang-panel, .app-bar .lang-panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    z-index: 30;
    width: min(420px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--mist);
    border-radius: 18px;
    background: var(--sheet);
    box-shadow: 0 28px 56px -28px rgba(20, 33, 61, 0.5);
}
.navbar .nav-tools ul.lang-list, .auth-top ul.lang-list, .app-bar ul.lang-list {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    min-width: 0;
}
.navbar .nav-tools ul.lang-list li, .auth-top ul.lang-list li, .app-bar ul.lang-list li { display: block; }
.navbar .nav-tools ul.lang-list a, .auth-top ul.lang-list a, .app-bar ul.lang-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: none;
    color: var(--ink);
    font-size: 1rem;
    text-decoration: none;
}
.navbar .nav-tools ul.lang-list a:hover, .auth-top ul.lang-list a:hover, .app-bar ul.lang-list a:hover { background: #EEF3FB; }
.navbar .nav-tools ul.lang-list a.is-current, .auth-top ul.lang-list a.is-current, .app-bar ul.lang-list a.is-current { background: #EAF0F8; color: var(--ink); }
@media (max-width: 860px) {
    .nav-tools .lang-menu summary { display: flex; margin: 0; }
}
/* Telefonda 14 dil: panel ekrana sığar, içinde kayar; sonuna gelince arkadaki sayfa kaymaz. 360 px'ten dar
   ekranda tek sütun (adlar tek satırda). */
.navbar .nav-tools .lang-panel { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
.auth-top .lang-panel, .app-bar .lang-panel { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 420px) {
    .navbar .nav-tools ul.lang-list a, .auth-top ul.lang-list a, .app-bar ul.lang-list a { padding: 8px; }
}
@media (max-width: 359px) {
    .navbar .nav-tools ul.lang-list, .auth-top ul.lang-list, .app-bar ul.lang-list { grid-template-columns: 1fr; }
}
/* Bağlantılar sağda, dil seçiciyle yan yana */
.nav-inner > #nav-links { margin-inline-start: auto; }
/* Telefonda panel başlığın tamamına göre hizalı; düğmeye göre hizalanınca sola taşıyordu */
@media (max-width: 860px) {
    .nav-tools .lang-menu, .nav-tools .lang-menu details { position: static; }
    .navbar .nav-tools .lang-panel { left: 16px; right: 16px; width: auto; top: calc(100% + 6px); }
}

/* Tarayıcıda kayıt butonu ve paylaşımla gelen dosya */
.rec-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.rec-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    border: 1.5px solid #C9D5EA;
    border-radius: 999px;
    background: var(--sheet);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}
.rec-btn:hover { border-color: var(--ink); }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.15); }
.rec-btn.is-recording { border-color: #D92D20; background: #FEF3F2; color: #B42318; }
.rec-btn.is-recording .rec-dot { animation: rec-pulse 1s ease-in-out infinite; }
@keyframes rec-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .rec-btn.is-recording .rec-dot { animation: none; } }
.rec-time { font-variant-numeric: tabular-nums; color: inherit; }
.rec-btn[hidden] { display: none; }
.rec-or { font-size: 0.9rem; color: var(--slate); }
/* Bağlantıdan yazıya */
.link-row { position: relative; margin-top: 12px; }
.link-row.is-first { margin: 0 0 12px; }
.link-row.is-first .link-input { padding-top: 15px; padding-bottom: 15px; font-size: 1rem; border-color: var(--ink); }
.link-icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.link-input {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    padding: 12px 16px 12px 42px;
    border: 1.5px solid #C9D5EA;
    border-radius: 12px;
    background: var(--sheet);
}
.link-input:focus { outline: none; border-color: var(--ink); }
.link-input::placeholder { color: var(--slate); }
.link-error { margin: 10px 0 0; font-size: 0.9rem; color: #B42318; }

/* Sonuç ekranı araçları */
.result-tools { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--mist); }
.tool-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool-group { display: inline-flex; gap: 6px; align-items: center; }
/* Dökümle sohbet */
.ask-row { display: flex; gap: 8px; margin-top: 12px; }
.ask-input { flex: 1; min-width: 0; font: inherit; font-size: 0.95rem; padding: 9px 12px; border: 1.5px solid #C9D5EA; border-radius: 10px; background: var(--sheet); color: var(--ink); }
.ask-input:focus { outline: none; border-color: var(--ink); }
.drawer-tools .ask-row { margin-top: 10px; }
.select-sm { font: inherit; font-size: 0.9rem; padding: 8px 10px; border: 1.5px solid #C9D5EA; border-radius: 10px; background: var(--sheet); color: var(--ink); max-width: 190px; }
.tool-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--slate); }
.tool-output { margin-top: 16px; }
.tool-output-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.tool-output-actions { display: flex; gap: 6px; }
#toolText { white-space: pre-wrap; }
.btn-sm-go:disabled { opacity: 0.6; cursor: not-allowed; }

/* Seslendirme: web sayfası okuma, iki ses */
.tts-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
/* Metin kutusunun altındaki araç çipleri: web sayfası, belge, fotoğraf, duraklama */
.tts-chips { display: contents; }
.tts-chip { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 13px 7px 10px; border: 1px solid var(--mist); border-radius: 999px; background: var(--sheet); font: inherit; font-size: 0.86rem; font-weight: 600; line-height: 1.2; color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(20, 33, 61, 0.05); transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.tts-chip svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--cobalt); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tts-chip:hover { border-color: rgba(47, 111, 222, 0.45); background: #F3F7FE; box-shadow: 0 2px 8px rgba(47, 111, 222, 0.10); }
.tts-chip:focus-visible, .tts-chip:focus-within { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.tts-chip[aria-expanded="true"] { border-color: var(--cobalt); background: #EAF1FD; color: var(--cobalt); }
.tts-dialogue { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto; padding: 4px 2px; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
/* Açma/kapama anahtarı (checkbox) */
input.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 36px; height: 20px; margin: 0; border-radius: 999px; background: #CBD5E3; cursor: pointer; transition: background-color 0.15s; }
input.switch::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 33, 61, 0.25); transition: transform 0.15s; }
input.switch:checked { background: var(--cobalt); }
input.switch:checked::after { transform: translateX(16px); }
[dir="rtl"] input.switch:checked::after { transform: translateX(-16px); }
input.switch:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.tts-url { display: flex; gap: 8px; margin-top: 8px; }
.tts-url input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid #C9D5EA; border-radius: 10px; background: var(--sheet); color: var(--ink); }
.tts-url[hidden], .tts-voice-b[hidden], #ttsDialogueHint[hidden] { display: none; }
.tts-voice-b { margin: 10px 0 6px; }
.tts-voice-b .select { width: 100%; }
.tts-voice-b .select + .select { margin-top: 8px; }
.tts-voice-b .select[hidden] { display: none; }
/* Özel seçici (main.js picker) ikinci/üçüncü/dördüncü sesi sarar: gizli sesin kutusu da gizli, aralarında boşluk */
.tts-voice-b .picker + .picker { margin-top: 8px; }
.tts-voice-b .picker:has(> select[hidden]) { display: none; }

/* Profil çalışma alanı: arama, düzenlenebilir döküm */
.tabs { align-items: center; }
.history-search { margin-inline-start: auto; }
.history-search input { width: 220px; max-width: 46vw; font: inherit; font-size: 0.9rem; padding: 8px 12px; border: 1.5px solid #C9D5EA; border-radius: 999px; background: var(--sheet); color: var(--ink); }
.editor-text { width: 100%; min-height: 320px; resize: vertical; font-family: 'Literata', Georgia, serif; font-size: 1.05rem; line-height: 1.7; color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--mist); border-radius: 12px; }
.editor-text:focus { outline: none; border-color: var(--cobalt); }
.editor-status { margin: 8px 0 0; font-size: 0.9rem; color: var(--slate); min-height: 1.2em; }
.editor-footer { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.editor-exports { display: flex; flex-wrap: wrap; gap: 6px; }

/* Profil penceresindeki araçlar */
.editor-tools { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mist); }
#transcriptionModal .tool-output { margin-top: 14px; padding: 16px; border: 1px solid var(--mist); border-radius: 12px; background: var(--paper); }
#transcriptionModal #toolText { max-height: 260px; }

/* Profil: döküm yan paneli (sağdan açılır) */
.transcript-drawer.offcanvas { --bs-offcanvas-width: min(640px, 100vw); display: flex; flex-direction: column; background: var(--paper); border-inline-start: 1px solid var(--mist); font-family: 'Onest', system-ui, sans-serif; }
.transcript-drawer button, .transcript-drawer select, .transcript-drawer a { font-family: 'Onest', system-ui, sans-serif; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--mist); background: var(--sheet); }
.drawer-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.drawer-meta { margin: 4px 0 0; font-size: 0.88rem; color: var(--slate); }
.drawer-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--mist); border-radius: 50%; background: var(--sheet); color: var(--ink); cursor: pointer; }
.drawer-close:hover { border-color: var(--ink); }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px 24px; }
.transcript-drawer .editor-text { min-height: 280px; background: var(--sheet); }
.editor-bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 12px; }
.editor-bar .go { padding: 10px 20px; }
.editor-bar .editor-status { margin: 0; min-height: 0; }
.drawer-tools { margin-top: 26px; }
.drawer-tools h3 { margin: 0 0 12px; font-size: 0.85rem; font-weight: 700; color: var(--slate); }
/* minmax(0, 1fr): uzun dil adı (seçicide) sütunu genişletip pencereden taşırmasın */
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; border: 0; }
@media (max-width: 480px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.tool-tile, .tool-tile .picker { min-width: 0; }
.tool-tile .tile-action, .tool-tile .tile-actions { flex: none; }
.tool-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid var(--mist);
    border-radius: 14px;
    background: var(--sheet);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}
button.tool-tile:hover { border-color: var(--cobalt); }
.tool-tile > svg { flex: none; width: 22px; height: 22px; color: var(--cobalt); }
.tool-tile.is-split { cursor: default; }
.tool-tile.is-split > span:not(.tile-actions) { flex: 1; }
.tool-tile select { flex: 1; min-width: 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); border: 0; background: transparent; padding: 4px 0; }
.tile-actions { display: flex; gap: 6px; }
.tile-action { padding: 6px 10px; border: 1px solid #C9D5EA; border-radius: 9px; background: var(--sheet); color: var(--ink); font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.tile-action:hover { border-color: var(--ink); }
.tool-tile:disabled, .tile-action:disabled { opacity: 0.5; cursor: not-allowed; }  /* yalnız sınırı aşan kayıtta (profil) */
.tool-tile[hidden] { display: none; }
.transcript-drawer .tool-output { margin-top: 14px; padding: 16px; border: 1px solid var(--mist); border-radius: 14px; background: var(--sheet); }
.transcript-drawer #toolText { max-height: none; font-size: 1.02rem; }
.drawer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--mist); background: var(--sheet); }
.drawer-foot-label { margin-inline-end: 4px; font-size: 0.85rem; font-weight: 700; color: var(--slate); }

/* Profil v3: hesap kartı, hızlı işlemler, güne göre gruplanmış geçmiş */
.profile { text-align: start; padding-bottom: 56px; }
/* Profil: solda kenar çubuğu (hesap + plan kartı), sağda çalışma alanı; mobilde alt alta */
.profile-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 32px; align-items: start; }
@media (min-width: 960px) { .profile-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding-top: 40px; } }
.profile-side { display: grid; gap: 16px; min-width: 0; }
.profile-main { min-width: 0; }
.account-card, .plan-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--mist);
    border-radius: 20px;
    background: var(--sheet);
    box-shadow: 0 26px 52px -44px rgba(20, 33, 61, 0.5);
}
.account-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.account-card .avatar { flex: none; width: 56px; height: 56px; font-size: 1.4rem; }
.account-who { min-width: 0; }
.account-card h1 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.account-card .account-who p { margin: 2px 0 0; color: var(--slate); font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 12px 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.account-stats > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--mist); }
.account-stats dt { font-size: 0.8rem; font-weight: 600; color: var(--slate); }
.account-stats dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.account-last { margin: 0; font-size: 0.85rem; color: var(--slate); }
.account-logout { margin: 0; }
.account-logout .link-btn { padding: 0; font-size: 0.9rem; color: var(--slate); }
.plan-card { gap: 8px; }
.mail-card { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--mist); border-radius: 20px; background: var(--sheet); }
.mail-card h2 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--ink); }
.mail-card label { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 0.92rem; color: var(--ink); cursor: pointer; }
.mail-card input { margin-top: 3px; }
.mail-card p { margin: 0; font-size: 0.82rem; color: var(--slate); }
.mail-card .link-btn { justify-self: start; padding: 0; font-size: 0.9rem; font-weight: 700; color: var(--cobalt); }
.plan-card.is-paid { border-color: rgba(47, 111, 222, 0.35); }
.plan-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; }
.plan-chip { padding: 3px 12px; border-radius: 999px; background: #EAF0F8; color: var(--ink); font-size: 0.85rem; font-weight: 800; }
.plan-card.is-paid .plan-chip { background: var(--cobalt); color: #fff; }
.plan-until { font-size: 0.85rem; color: var(--slate); }
.plan-bar-label { margin: 6px 0 0; font-size: 0.88rem; color: var(--ink); }
.plan-bar { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.plan-bar i { display: block; height: 100%; border-radius: 999px; background: var(--cobalt); }
/* Ücretsiz üye: bugünkü hak (profil kenar çubuğu) — çubuk yapay zekâ renklerinde, azalınca turuncu */
.plan-free-today { margin: 4px 0 4px; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.plan-free-today span { display: block; margin-top: 1px; font-size: 0.78rem; font-weight: 500; color: var(--slate); }
.side-plan:not(.is-paid) .plan-bar i { background: linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6); }
.side-plan .plan-bar.is-low i { background: linear-gradient(90deg, #F59E0B, #F97316); }
.plan-bar + .plan-free-note, .plan-bar-hint + .plan-free-note { margin-top: 12px; }
.plan-bar-hint { margin: 4px 0 0; font-size: 0.76rem; color: var(--slate); }
.plan-free-note { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--slate); }
.plan-card-link { margin-top: 6px; font-size: 0.92rem; font-weight: 600; color: var(--cobalt); }
.profile-main .quick-actions { margin-top: 0; }
.profile-main .tab { white-space: nowrap; }
@media (max-width: 699px) {
    /* Mobil: arama sekmelerin üstünde tam genişlik; sekme adı ve sayısı tek satırda */
    .profile-main .tabs { flex-wrap: wrap; gap: 0 24px; }
    .profile-main .history-search { flex: 1; min-width: 0; }
    .profile-main .history-search input { width: 100%; max-width: none; }
}
.quick-actions { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0 34px; }
@media (min-width: 700px) { .quick-actions { grid-template-columns: 1fr 1fr; } }
.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--mist);
    border-radius: 18px;
    background: var(--sheet);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.quick-card:hover { color: var(--ink); border-color: var(--cobalt); transform: translateY(-1px); }
.quick-card strong { display: block; font-size: 1.05rem; }
.quick-card small { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--slate); }
.quick-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #EAF0F8; color: var(--cobalt); }
.quick-icon svg { width: 24px; height: 24px; }
.quick-card.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick-card.is-dark:hover { color: #fff; border-color: var(--cobalt); }
.quick-card.is-dark small { color: #B9C4D8; }
.quick-card.is-dark .quick-icon { background: rgba(255, 255, 255, 0.1); color: #8FB2F0; }
.history-search { position: relative; }
.history-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.history-search input { padding-inline-start: 34px; }
.day-label { margin: 26px 4px 4px; font-size: 0.85rem; font-weight: 700; color: var(--slate); letter-spacing: 0; }
.profile .history { border-top: 0; }
.history-item.has-icon { grid-template-columns: auto 1fr; }
@media (min-width: 768px) { .history-item.has-icon { grid-template-columns: auto 1fr auto; } }
.history-item.has-icon .text-actions { grid-column: 1 / -1; }
@media (min-width: 768px) { .history-item.has-icon .text-actions { grid-column: auto; } }
.item-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #EAF0F8; color: var(--cobalt); }
.item-icon svg { width: 20px; height: 20px; }
.item-icon.is-failed { background: #FDECEC; color: #B42318; }
.history-item.is-openable .item-icon, .history-item.is-openable .history-body { cursor: pointer; }
.history-item.is-openable .item-icon { transition: background .15s, color .15s; }
.history-item.is-openable:hover .item-icon { background: var(--cobalt); color: #fff; }
.history-item.is-openable:hover .item-icon.is-failed { background: #B42318; }
.text-actions { align-items: center; }
.btn-sm-go.is-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm-go.is-primary:hover { background: #22325A; color: #fff; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1.5px solid #C9D5EA; border-radius: 10px; background: var(--sheet); color: var(--slate); cursor: pointer; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn.danger:hover { border-color: #B42318; color: #B42318; background: #FDECEC; }
.empty-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 28px; border: 1.5px dashed #C9D5EA; border-radius: 20px; background: var(--sheet); color: var(--slate); }
.empty-card p { margin: 0; }

/* SSS sayfası: hero'da bölümlere atlama düğmeleri; bölümler görselli bant (seslendirmede görsel yerine örnek kart) */
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.faq-jump .go-outline { padding: 10px 18px; }
.faq-band { text-align: start; scroll-margin-top: 90px; }
.faq-band .faq { max-width: none; }
.faq-band h2 { margin-bottom: 16px; }
.side-sheet { display: none; }
@media (min-width: 992px) {
    .side-sheet { display: block; position: sticky; top: 110px; }
    .side-sheet .transcript { font-size: 1.2rem; line-height: 1.6; margin-bottom: 18px; }
    .side-sheet .voice-chips { min-height: 0; padding: 0; margin-bottom: 18px; }
}

/* Sonuç ekranı: bitince e-posta teklifi */
/* Sonuç ekranında Chrome eklentisi kartı (yalnız masaüstü Chrome'daki üye; voice_completed.html showExtPromo) */
.ext-promo { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 16px 44px 16px 18px; border: 1px solid var(--mist); border-radius: 18px; background: var(--sheet); box-shadow: 0 22px 44px -34px rgba(20, 33, 61, 0.45); }
.ext-promo[hidden] { display: none; }
.ext-promo-mark { flex: none; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #EEF3FB; }
.ext-promo-mark i:nth-child(n) { width: 3px; }
.ext-promo-body { flex: 1; min-width: 0; }
.ext-promo-title { margin: 0 0 2px; font-weight: 700; color: var(--ink); }
.ext-promo-text { margin: 0; font-size: 0.9rem; color: var(--slate); line-height: 1.5; }
.ext-promo-go { flex: none; white-space: nowrap; }
.ext-promo-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 10px; height: 10px; }
@media (max-width: 700px) { .ext-promo { flex-wrap: wrap; } .ext-promo-go { width: 100%; text-align: center; } }
.email-offer { margin-top: 16px; }
.email-offer .result-sub { margin-top: 0; padding: 12px 16px; border-radius: 12px; background: #EEF3FB; color: var(--ink); }
.email-offer[hidden], .email-offer [hidden] { display: none; }

/* WhatsApp sesli mesaj sayfaları: sohbet görünümü, cihaz adımları, dil bağlantıları */
.wa-chat { align-self: start; height: auto; display: flex; flex-direction: column; gap: 14px; background: #EFEAE2; border-color: #E2DACE; }
.wa-bubble { max-width: 92%; padding: 10px 14px; border-radius: 14px; box-shadow: 0 1px 1px rgba(20, 33, 61, 0.12); }
.wa-voice { display: flex; align-items: center; gap: 12px; align-self: flex-start; background: var(--sheet); border-top-left-radius: 4px; width: 100%; max-width: 320px; }
.wa-play { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #25A35A; }
.wa-play svg { width: 16px; height: 16px; }
.wa-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.wa-bars i { flex: 1; min-height: 3px; border-radius: 2px; background: #9DB3A5; }
.wa-time { flex: none; font-size: 0.8rem; color: var(--slate); }
.wa-text { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.wa-text .transcript { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.wa-devices { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: start; }
@media (min-width: 900px) { .wa-devices { grid-template-columns: 1fr 1fr; } }
.wa-steps { margin: 0; padding: 0; list-style: none; counter-reset: wa; text-align: start; max-width: 60ch; }
.wa-steps li { counter-increment: wa; position: relative; padding-block: 12px; padding-inline: 46px 0; border-top: 1px solid var(--mist); color: var(--slate); }
.wa-steps li::before { content: counter(wa); position: absolute; inset-inline-start: 0; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 600; color: var(--ink); background: #E4ECF9; }
.wa-share { text-align: start; }
.wa-langs { display: flex; flex-wrap: wrap; gap: 10px; }
.wa-langs a { padding: 8px 16px; border: 1px solid var(--mist); border-radius: 999px; color: var(--ink); background: var(--sheet); text-decoration: none; }
.wa-langs a:hover { border-color: var(--ink); }
/* WhatsApp yardım linki kayıt butonunun yanında, sağa yaslı sade bir çip */
.wa-help { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: auto; padding: 7px 4px; font-size: 0.9rem; font-weight: 500; color: var(--slate); text-decoration: none; }
.wa-help svg { flex: none; width: 18px; height: 18px; color: #1FA855; }
.wa-help:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Dar ekranda hep kendi satırında: yazı tipi (Onest) geç gelince genişleyip alt satıra iniyordu (CLS ~0,01, aralıklı) */
@media (max-width: 560px) { .wa-help { margin-inline-start: 0; flex-basis: 100%; } }

/* Döküm hazır penceresi: üyelik önerisi önde, e-postayla alma ikinci seçenek */
.done-modal { position: relative; padding: 32px 28px 22px; border: 0; border-radius: 22px; text-align: start; box-shadow: 0 40px 80px -30px rgba(20, 33, 61, 0.45); }
.done-close { position: absolute; top: 18px; right: 18px; }
.done-check { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--ok); margin-bottom: 14px; }
.done-check svg { width: 24px; height: 24px; }
.done-title { margin: 0 0 18px; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.done-save { padding: 18px 20px 20px; border-radius: 16px; background: #F1F5FC; border: 1px solid var(--mist); }
.done-save-title { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.done-benefits { list-style: none; margin: 0 0 16px; padding: 0; }
.done-benefits li { position: relative; padding: 4px 0 4px 26px; color: var(--slate); }
.done-benefits li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-inline-start: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.done-cta { display: block; width: 100%; text-align: center; }
.done-email { margin-top: 18px; }
.done-email label { display: block; margin-bottom: 8px; font-size: 0.95rem; color: var(--slate); }
.done-email-row { display: flex; gap: 8px; }
.done-email-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid #C9D5EA; border-radius: 12px; font: inherit; color: var(--ink); background: var(--sheet); }
.done-email-row input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.18); }
.done-email-row .go-outline { flex: none; height: 46px; padding: 0 18px; }
.done-note { margin: 8px 0 0; font-size: 0.82rem; color: #8A94A6; }
.done-note.is-error { color: #C0392B; }
.done-note.is-ok { color: var(--ok); font-size: 0.95rem; font-weight: 600; }
.done-later { display: block; margin: 16px auto 0; color: var(--slate); }

/* E-posta doğrulama sayfası */
.check-mail { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; color: var(--cobalt); background: #E4ECF9; }
.check-mail svg { width: 28px; height: 28px; }
.auth-hint { margin: 0 0 14px; color: var(--slate); }
.auth-card .go-outline { width: 100%; }
.form-error .link-btn { padding: 0; font-weight: 600; text-decoration: underline; }

/* Fiyat sayfası (ücretli üyelik) */
.period-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px; border: 1px solid var(--mist); border-radius: 999px; background: var(--sheet); }
.period-toggle button { border: 0; background: transparent; color: var(--slate); font-weight: 600; padding: 8px 18px; border-radius: 999px; }
.period-toggle button.is-active { background: var(--ink); color: #fff; }
.period-save { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--marker); color: var(--ink); font-size: 0.8rem; }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card, .pack-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border: 1px solid var(--mist); border-radius: 18px; background: var(--sheet); }
.plan-card.is-featured { border-color: var(--cobalt); box-shadow: 0 10px 30px rgba(47, 111, 222, 0.12); }
.plan-card.is-current { border-color: var(--ok); }
.plan-card h2, .pack-card h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--ink); max-width: none; }
.plan-price { margin: 0; font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--slate); }
.plan-price[hidden], .plan-card .go[hidden] { display: none; }
.plan-lines { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; color: var(--slate); }
.plan-lines li { padding-inline-start: 24px; position: relative; }
.plan-lines li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan-card .go, .pack-card .go-outline { margin-top: auto; text-align: center; }
.plan-note { margin: 0; color: var(--slate); font-size: 0.95rem; }
.plan-soon { margin-top: 20px; font-weight: 600; }
.plan-badge { position: absolute; top: -12px; left: 24px; padding: 2px 12px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 0.8rem; font-weight: 700; }
.pack-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 760px; }
@media (min-width: 640px) { .pack-grid { grid-template-columns: 1fr 1fr; } }
.tts-error a { color: var(--cobalt); font-weight: 600; text-decoration: underline; }
.upsell-note a { color: var(--cobalt); font-weight: 600; text-decoration: underline; }
.footer-pay { max-width: 100%; height: auto; }
.checkout-terms label { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); font-size: 0.95rem; }
.checkout-terms input { width: auto; margin-top: 4px; }
.checkout-terms a { color: var(--cobalt); }
.plan-card .go-outline { margin-top: auto; text-align: center; }
/* Ücretsiz kapasite kartı: önce "ücretsiz kalıyor", sonra teklif */
.upsell-card { margin: 12px 0 4px; padding: 16px 18px; border: 1px solid var(--mist); border-inline-start: 4px solid var(--cobalt); border-radius: 14px; background: var(--sheet); text-align: start; }
.upsell-card p { margin: 0 0 8px; }
.upsell-free { color: var(--slate); }
.upsell-offer { color: var(--ink); }
.upsell-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 0 !important; }
.upsell-actions .go { padding: 10px 18px; }
.upsell-more { color: var(--cobalt); font-weight: 600; }
/* Sayfadaki kısa satır (popup kapatıldıktan sonra teklife dönüş) */
.upsell-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; }
.upsell-inline .upsell-free { margin: 0; flex: 1 1 240px; font-size: 0.95rem; }
.upsell-open { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--cobalt); cursor: pointer; white-space: nowrap; }
.upsell-open:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Popup: üstte yeşil "ücretsiz kalıyor" şeridi, altında teklif */
.upsell-modal { position: fixed; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: var(--sheet); color: var(--ink); box-shadow: 0 30px 80px rgba(20, 33, 61, 0.3); overflow: auto; text-align: start; }
.upsell-modal::backdrop { background: rgba(20, 33, 61, 0.48); backdrop-filter: blur(3px); }
.upsell-modal[open] { animation: upsell-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
html:has(.upsell-modal[open]) { overflow: hidden; }
@keyframes upsell-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.upsell-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.75); color: var(--ink); font: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.upsell-x:hover { background: #fff; }
.upsell-top { display: flex; gap: 12px; align-items: flex-start; padding: 20px 56px 18px 22px; background: #E8F5EE; border-bottom: 1px solid #CDEBDA; }
.upsell-top .upsell-free { margin: 0; color: #145C39; font-weight: 600; line-height: 1.45; }
.upsell-check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 0.85rem; font-weight: 800; }
.upsell-body { padding: 22px 24px 20px; }
.upsell-bars { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.upsell-bars i { display: block; width: 4px; border-radius: 2px; background: var(--cobalt); }
.upsell-bars i:nth-child(1), .upsell-bars i:nth-child(5) { height: 35%; }
.upsell-bars i:nth-child(2), .upsell-bars i:nth-child(4) { height: 70%; }
.upsell-bars i:nth-child(3) { height: 100%; }
.upsell-body h2 { margin: 10px 0 6px; max-width: none; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.upsell-text { margin: 0 0 20px; color: var(--slate); line-height: 1.55; }
.upsell-buy { display: block; text-align: center; padding: 14px 18px; }
.upsell-buy.upsell-reset { margin-top: 10px; }
/* Misafir sınır kartı, ana düğme ücretsiz hesap: paket altta ikinci seçenek */
.upsell-or-buy { margin: 18px 0 10px; font-size: 0.92rem; color: var(--slate); line-height: 1.5; }
/* Başarılı işlem sonrası hesap penceresi (main.js signupAfter): dialog + döküm sonrası penceresinin iç tasarımı */
.upsell-modal.done-modal { padding: 32px 28px 22px; }
.upsell-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; }
.upsell-top-text { min-width: 0; }
.upsell-signup { margin: 6px 0 0; color: #145C39; font-size: 0.92rem; line-height: 1.45; }
.upsell-signup a { color: #145C39; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.upsell-card .upsell-signup { color: var(--slate); }
.upsell-card .upsell-signup a { color: var(--cobalt); }
.upsell-trust { margin: 10px 0 0 !important; color: var(--slate); font-size: 0.85rem; text-align: center; }
.upsell-card .upsell-trust { text-align: start; }
.upsell-refund { margin-top: 2px !important; color: var(--ok); font-weight: 600; }
.price-local { color: var(--slate); font-size: 0.9em; font-weight: 500; white-space: nowrap; }
.upsell-stay { margin-inline-start: -10px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
    .upsell-modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .upsell-modal[open] { animation-name: upsell-sheet; }
    @keyframes upsell-sheet { from { transform: translateY(100%); } }
    .upsell-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .upsell-modal[open] { animation: none; } }

/* Kullanım amacı sayfaları (use_case.html): sağdaki "örnek çıktı" kartı */
.case-sheet { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.case-speakers { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin: 14px 0 0; font-size: 1.02rem; line-height: 1.5; }
.case-speakers dt { font-weight: 700; color: var(--cobalt); white-space: nowrap; }
.case-speakers dd { margin: 0; color: var(--ink); }
.case-srt { margin: 0; padding: 16px; border-radius: 12px; background: #F3F6FB; color: var(--ink); font-size: 0.9rem; line-height: 1.55; white-space: pre-wrap; direction: ltr; text-align: start; }
.case-summary { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 10px; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }

/* Açılır menü (main.js enhanceSelect): yerel <select> gizli kalır, düğme onun sınıflarını (select, select-sm) taşır */
.picker { position: relative; min-width: 0; }
.tool-group .picker { display: inline-block; width: 190px; }  /* panel tetikleyici kadar: dar kalmasın */
.picker .select-sm.picker-trigger { max-width: none; }
.tool-tile .picker { flex: 1; }
.picker-native { position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.picker .picker-trigger {
    display: flex; align-items: center; width: 100%; min-width: 0; text-align: start; cursor: pointer;
    font: inherit; color: var(--ink);
    background-color: var(--sheet);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    transition: border-color 0.15s, box-shadow 0.15s;
}
[dir="rtl"] .picker .picker-trigger { background-position: left 16px center; }
.picker .select-sm.picker-trigger { padding-inline-end: 32px; background-position: right 10px center; background-size: 12px; }
[dir="rtl"] .picker .select-sm.picker-trigger { background-position: left 10px center; }
.contact-form .picker .picker-trigger, .auth .picker .picker-trigger { padding: 13px 44px 13px 16px; border: 1.5px solid #C9D5EA; border-radius: 12px; }
[dir="rtl"] .contact-form .picker .picker-trigger, [dir="rtl"] .auth .picker .picker-trigger { padding: 13px 16px 13px 44px; }
.tool-tile .picker .picker-trigger { padding: 4px 26px 4px 0; border: 0; background-color: transparent; background-position: right 2px center; background-size: 12px; font-size: 0.9rem; font-weight: 600; }
[dir="rtl"] .tool-tile .picker .picker-trigger { padding: 4px 0 4px 26px; background-position: left 2px center; }
.picker-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-value:empty::before { content: "\200b"; }  /* boş değerde düğme basıklaşmasın */
.picker-trigger.is-placeholder .picker-value { color: var(--slate); }
.picker .picker-trigger:hover { border-color: #9DB3DA; }
.picker .picker-trigger:focus-visible, .picker.is-open .picker-trigger { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.picker.is-invalid .picker-trigger { border-color: #D64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.15); }
.picker-panel {
    position: absolute; z-index: 1060; top: calc(100% + 6px); inset-inline-start: 0;
    width: 100%;  /* her zaman tetikleyiciyle aynı genişlik */
    padding: 6px; border: 1px solid var(--mist); border-radius: 14px; background: var(--sheet);
    box-shadow: 0 18px 48px rgba(20, 33, 61, 0.18);
    animation: picker-in 0.14s ease-out;
}
.picker.is-up .picker-panel { top: auto; bottom: calc(100% + 6px); }
@keyframes picker-in { from { opacity: 0; transform: translateY(-4px); } }
.picker.is-up .picker-panel { animation-name: picker-in-up; }
@keyframes picker-in-up { from { opacity: 0; transform: translateY(4px); } }
.picker .picker-search {
    display: block; width: 100%; margin: 0 0 6px; padding: 10px 12px 10px 36px;
    font: inherit; font-size: 0.95rem; color: var(--ink);
    border: 1.5px solid #C9D5EA; border-radius: 10px; outline: none;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center;
}
[dir="rtl"] .picker .picker-search { padding: 10px 36px 10px 12px; background-position: right 12px center; }
.picker .picker-search:focus { border-color: var(--cobalt); background-color: var(--sheet); box-shadow: none; }
.picker .picker-search::-webkit-search-cancel-button { cursor: pointer; }
.picker-list { max-height: 280px; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; outline: none; }
.picker-list [role="option"] {
    position: relative; padding: 10px 34px 10px 12px; border-radius: 9px;
    font-size: 0.95rem; font-weight: 500; color: var(--ink); cursor: pointer; text-align: start;
}
[dir="rtl"] .picker-list [role="option"] { padding: 10px 12px 10px 34px; }
.picker-list [role="option"].is-active { background: #EDF3FD; }
.picker-list [role="option"][aria-selected="true"] { font-weight: 700; color: var(--cobalt); }
.picker-list [role="option"][aria-selected="true"]::after {
    content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6FDE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.picker-empty { padding: 14px 12px; color: var(--slate); font-size: 0.92rem; }
@media (max-width: 560px) {
    .picker-list { max-height: 50vh; }
    .picker .picker-search { font-size: 16px; }  /* iOS odaklanınca sayfayı büyütmesin */
}
@media (prefers-reduced-motion: reduce) { .picker-panel { animation: none; } }

/* Ses seçici: cinsiyet filtresi, kilit simgesi, önizleme düğmesi (partial/tts_form.html) */
.picker-filters { display: flex; gap: 6px; margin: 0 0 6px; }
.picker-filter {
    flex: 1; padding: 7px 10px; border: 1.5px solid #C9D5EA; border-radius: 999px; background: var(--sheet);
    font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--slate); cursor: pointer;
}
.picker-filter.is-on { border-color: var(--cobalt); background: #EDF3FD; color: var(--cobalt); }
.picker-list [role="option"]:has(.picker-play) { padding-inline-start: 44px; }
.picker-play {
    position: absolute; inset-inline-start: 8px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
    border: 0; border-radius: 50%; background: #EDF3FD; cursor: pointer;
}
.picker-play::before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
    border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--cobalt);
    transform: translateX(1px);
}
.picker-play.is-playing::before { width: 10px; height: 10px; border: 0; background: var(--cobalt); border-radius: 2px; transform: none; }
.picker-lock {
    display: inline-block; width: 13px; height: 13px; margin-inline-start: 8px; vertical-align: -1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Google ile giriş (partial/google_button.html) */
.social-buttons { display: grid; gap: 10px; }
a.apple-btn, a.apple-btn:visited, a.apple-btn:hover { background: #000; border-color: #000; color: #fff; }
a.apple-btn:hover { box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5); }
.apple-btn svg { width: 20px; height: 20px; flex: none; }
a.google-btn, a.google-btn:visited { color: var(--ink); }
.google-btn, .apple-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; border: 1.5px solid #C9D5EA; border-radius: 12px; background: var(--sheet); color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.google-btn:hover { border-color: #9DB3DA; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(20, 33, 61, 0.35); }
.google-btn svg { width: 20px; height: 20px; flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--slate); font-size: 0.85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--mist); }
@media (min-width: 900px) { .checkout-col { margin-top: 56px; } .checkout-col .contact-form { margin-top: 0; } }

/* Giriş/kayıt ve hoş geldin: navbar/footer'sız tek ekran (registration/auth_base.html). Dil seçici akış dışında
   (köşede), form dikeyde ortada; aralıklar sıkı tutuldu ki kod adımı da masaüstünde ve telefonda kaydırmadan sığsın. */
.auth-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
.auth-top { position: absolute; top: 12px; inset-inline-end: 14px; z-index: 30; }
.auth-solo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.auth-solo .auth { max-width: 400px; margin: 0 auto; text-align: center; }
.auth-solo .auth-logo { display: inline-flex; margin-bottom: 16px; font-size: 1.45rem; }
.auth-solo .auth-logo .brand-mark { height: 26px; }
.auth-solo h1 { font-size: clamp(1.55rem, 4vw, 1.85rem); }
.auth-solo .lede { margin: 6px 0 20px; font-size: 0.95rem; line-height: 1.45; }
.auth-solo .auth-card { padding: 0; border: 0; background: none; box-shadow: none; text-align: start; }
.auth-solo .social-buttons { gap: 8px; }
.auth-solo .google-btn, .auth-solo .apple-btn { padding: 11px 16px; border: 1px solid #E1E6EE; border-radius: 12px; background: #EEF1F5; color: var(--ink); }
.auth-solo a.apple-btn, .auth-solo a.apple-btn:visited, .auth-solo a.apple-btn:hover { background: #EEF1F5; border-color: #E1E6EE; color: var(--ink); }
.auth-solo a.google-btn:hover, .auth-solo a.apple-btn:hover { background: #E5E9F0; border-color: #D3DAE5; box-shadow: none; }
.auth-solo .auth-or { margin: 14px 0; }
.auth-solo .field { margin-bottom: 12px; }
.auth-solo label { margin-bottom: 5px; }
.auth-solo input[type="email"], .auth-solo input[type="text"], .auth-solo .picker .picker-trigger { padding-top: 11px; padding-bottom: 11px; }
.auth-solo .turnstile-field { margin-bottom: 12px; }
.auth-solo .go { margin-top: 2px; padding-top: 12px; padding-bottom: 12px; }
.auth-solo .legal-note { margin-top: 12px; font-size: 0.8rem; text-align: center; }
.auth-solo .legal-note + .legal-note { margin-top: 4px; }
.auth-solo .legal-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.auth-solo .auth-switch { margin-top: 10px; }
.auth-solo .auth-switch a { color: var(--slate); }
.auth-solo .code-resend { margin-top: 6px; }
.auth-solo .plan-note, .auth-solo .form-error { margin: 0 0 12px; font-size: 0.88rem; }
.auth-solo .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 5px; }
.auth-solo .label-row label { margin: 0; }
.auth-solo .label-row .link-btn { padding: 0; font-size: 0.85rem; font-weight: 600; color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.auth-solo .field-hint { margin: 5px 0 0; font-size: 0.8rem; line-height: 1.4; color: var(--slate); }
.auth-solo .field-hint.is-error { color: #C0392B; }
.auth-solo .check { margin: 2px 0 14px; font-size: 0.9rem; }
@media (max-height: 760px) { .auth-solo .lede { display: none; } .auth-solo h1 { margin-bottom: 16px; } }
@media (max-height: 700px) {
    .auth-solo { padding: 50px 16px 8px; }
    .auth-solo .social-buttons { gap: 6px; }
    .auth-solo .google-btn, .auth-solo .apple-btn { padding-top: 10px; padding-bottom: 10px; }
    .auth-solo .auth-logo { margin-bottom: 8px; font-size: 1.3rem; }
    .auth-solo h1 { margin-bottom: 12px; font-size: 1.4rem; }
    .auth-solo .auth-or { margin: 10px 0; }
    .auth-solo .field { margin-bottom: 10px; }
    .auth-solo .legal-note { margin-top: 8px; }
}

/* Paylaşım bağlantısı: sonuç ekranları ve profildeki düğmenin açtığı küçük panel, /s/<token> sayfası */
.share-panel { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding: 12px; border: 1px solid #DCE5F3; border-radius: 12px; background: var(--sheet); }
.share-panel input { flex: 1 1 220px; min-width: 0; padding: 8px 10px; border: 1px solid #C9D5EA; border-radius: 8px; font-size: 0.9rem; color: var(--ink); background: #fff; }
.share-panel p { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--slate); }
.share-panel .is-off { color: var(--ink); font-weight: 600; }
.history-item > .share-panel { grid-column: 1 / -1; margin-top: 0; }
.share-text { max-height: none; text-align: start; }

/* Uygulama ekranları (profil, paylaşım): midge.dev gibi ince üst çubuk, tam genişlik, footer yok */
.app-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
.app-bar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--mist); background: var(--sheet); }
.app-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(16px, 3vw, 32px); }
.app-bar-tools { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-bar .go { padding: 8px 16px; font-size: 0.92rem; white-space: nowrap; }
.app-page main.profile { flex: 1; max-width: none; width: 100%; margin: 0; padding: 0 clamp(16px, 3vw, 32px) 56px; justify-content: flex-start; }
@media (min-width: 960px) {
    .app-page .profile-layout { grid-template-columns: 300px minmax(0, 1fr); padding-top: 28px; }
}
@media (min-width: 1400px) { .app-page .profile-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; } }

/* Paylaşım sayfası (midge.dev görüntüleyicisi gibi): geniş ekranda solda metin (kendi içinde kayar), sağda başlık + ses ve
"ücretsiz dene" kartı; telefonda başlık, metin, kart alt alta */
.share-app { flex: 1; display: grid; gap: 16px; padding: 20px clamp(16px, 3vw, 32px) 32px; text-align: start;
             grid-template-areas: "head" "main" "cta"; align-content: start; }
.share-head { grid-area: head; display: grid; gap: 12px; align-content: start; }
.share-head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.share-head audio { width: 100%; }
.share-head .go-outline { display: block; text-align: center; padding: 10px 18px; }
.share-main { grid-area: main; min-width: 0; }
.share-main .result-sheet { margin-top: 0; }
.share-main .share-text { max-width: 80ch; }
.share-cta-card { grid-area: cta; display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 18px; background: #EFF4FD; }
.share-cta-card p { margin: 0; color: var(--ink); line-height: 1.55; }
.share-cta-card .go { display: block; text-align: center; }
@media (min-width: 1024px) {
    .share-page-app { height: 100vh; height: 100dvh; }
    .share-app { min-height: 0; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto 1fr;
                 grid-template-areas: "main head" "main cta"; gap: 20px 28px; padding-top: 28px; padding-bottom: 28px; align-content: stretch; }
    .share-main { min-height: 0; display: flex; align-items: flex-start; }
    .share-main .result-sheet { flex: 1; max-height: 100%; overflow-y: auto; }
    .share-cta-card { align-self: start; }
    .share-head { padding: 22px; border: 1px solid var(--mist); border-radius: 18px; background: var(--sheet); }
}
/* Ekip yorumları (api/comments.py): "ücretsiz dene" kartının yerinde; ekip sayfasının liste/form bileşenleriyle */
.share-comments h2 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--ink); }
.share-comments .team-list { margin: 0; }
.share-comments .team-list p { flex-basis: 100%; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .share-comments { align-self: stretch; min-height: 0; overflow-y: auto; } }
.share-kicker { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 479px) { .app-bar .go { max-width: 62vw; overflow: hidden; text-overflow: ellipsis; padding: 7px 12px; font-size: 0.85rem; } }
/* Geniş ekranda panel metin sütunuyla hizalı; telefonda düğmeler gibi tam genişlik */
@media (min-width: 768px) { .history-item.has-icon > .share-panel { grid-column: 2 / -1; } }

/* Profil v4 (2026-11-16): kart yığını yerine düz kenar çubuğu; liste bir defter dizini gibi — metin önde (Literata),
   bilgiler altında, geniş ekranda tarih solda sabit sütun; aramadaki eşleşmeler fosforlu kalemle. */
.profile .profile-side { display: grid; gap: 0; align-content: start; }


.profile .history { border-top: 0; }
.profile .history-item { padding: 18px 14px; margin: 0 -14px; }
.profile .history-item.is-openable:hover { background: var(--sheet); }
.profile .history-item.has-icon .item-icon { display: none; }
.profile .history-item.has-icon { grid-template-columns: minmax(0, 1fr); }
.profile .history-item.has-icon .text-actions { grid-column: auto; }
.profile .history-item.has-icon > .share-panel { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .profile .history-item.has-icon { grid-template-columns: minmax(0, 1fr) auto; }
    .profile .history-item.has-player { grid-template-columns: auto minmax(0, 1fr) auto; }
    .profile .history-item.has-player .text-actions { grid-column: auto; }
}
.profile .history-body { display: flex; flex-direction: column; gap: 6px; }
.profile .history-body .text-excerpt { order: -1; font-size: 1.08rem; }
.profile .history-body .text-meta { margin: 0; }
.history .text-excerpt mark { background: linear-gradient(transparent 50%, var(--marker) 50%); color: inherit; padding: 0 1px; }
.icon-btn.is-copied { border-color: #11704A; background: #E3F6EC; color: #11704A; }
.icon-btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.profile .day-group:last-of-type .history-item:last-child { border-bottom: 0; }
@media (min-width: 1100px) {
    .profile .day-group { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--mist); }
    .profile .day-group .day-label { position: sticky; top: 76px; align-self: start; margin: 0; padding: 20px 0; }
    .profile .day-group .history-item:last-child { border-bottom: 0; }
    .profile .day-group .history-item { margin: 0; }
}


/* Profil kenar çubuğu = yan menü (midge.dev gibi). Üst çubuk sabit 57 px.
   Geniş ekran: çubuk yerinde sabit (sticky), ekran boyu, kendi içinde kayar; sayfa yalnız içerikle kayar.
   Telefon/tablet: çubuk gizli; üst çubuktaki menü düğmesi onu üstten açılan panel olarak gösterir (arka plan bulanık,
   sayfa kaydırması kilitli, Escape/dışarı tıklama kapatır). */
.app-bar-inner { height: 56px; padding-block: 0; }
.menu-toggle { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.menu-toggle:hover, .side-open .menu-toggle { background: var(--mist); }
.menu-toggle:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.side-backdrop { display: none; }
.app-page .profile-layout { padding-top: 0; }
.app-page .profile-main { padding-top: 28px; }
@media (min-width: 960px) {
    .app-page main.profile { padding-bottom: 0; }
    .app-page .profile-layout { flex: 1; align-items: start; }
    .app-page .profile-side { position: sticky; top: 57px; height: calc(100vh - 57px); height: calc(100dvh - 57px);
                              overflow-y: auto; overscroll-behavior: contain; padding: 28px 28px 28px 0; border-inline-end: 1px solid var(--mist); }
    .app-page .profile-main { padding-bottom: 48px; }
}
@media (max-width: 959px) {
    .app-page .profile-side { position: fixed; z-index: 39; top: 57px; inset-inline: 0; max-height: calc(100vh - 57px); max-height: calc(100dvh - 57px);
                              overflow-y: auto; overscroll-behavior: contain; padding: 20px clamp(16px, 4vw, 28px) 24px;
                              background: var(--sheet); border-bottom: 1px solid var(--mist); box-shadow: 0 24px 60px -20px rgba(20, 33, 61, 0.35);
                              visibility: hidden; opacity: 0; transform: translateY(-8px);
                              transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0.3s; }
    .side-open .app-page .profile-side { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.2, .8, .2, 1); }
    .side-backdrop { display: block; position: fixed; z-index: 38; inset: 57px 0 0; background: rgba(20, 33, 61, 0.28);
                     backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .side-open .side-backdrop { opacity: 1; pointer-events: auto; }
    .side-open, .side-open body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Yan menü v2 (2026-11-16): beyaz panel, üstte geçmiş gezinmesi (sayılarla), ortada plan kutusu, altta e-posta
   tercihleri ve hesap satırı (midge.dev'deki gibi; çıkış simge düğmesi). Menü düğmesi geniş ekranda paneli gizler/gösterir
   (tercih tarayıcıda hatırlanır). */
.app-page main.profile { --gutter: clamp(16px, 3vw, 32px); padding-inline: var(--gutter); }
.profile .profile-side { display: flex; flex-direction: column; gap: 18px; background: var(--sheet); }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--slate); font-weight: 600; text-decoration: none; }
.side-nav a:hover { background: #F1F5FB; color: var(--ink); }
.side-nav a[aria-current="page"] { background: #EAF0F8; color: var(--ink); }
.side-nav a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.side-nav svg { flex: none; width: 20px; height: 20px; }
.side-nav a[aria-current="page"] svg { color: var(--cobalt); }
.side-count { margin-inline-start: auto; min-width: 28px; padding: 1px 8px; border-radius: 999px; background: var(--paper); color: var(--slate); font-size: 0.8rem; font-weight: 700; text-align: center; }
.side-nav a[aria-current="page"] .side-count { background: var(--ink); color: #fff; }
.side-plan { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--paper); }
.side-plan.is-paid { background: #EEF4FE; }
.side-plan.is-paid .plan-chip { background: var(--cobalt); color: #fff; }
.side-plan .plan-chip { background: var(--sheet); }
.side-plan .plan-card-link { margin-top: 2px; }
.side-bottom { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--mist); }
.side-mail summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--slate); font-weight: 600; cursor: pointer; list-style: none; }
.side-mail summary::-webkit-details-marker { display: none; }
.side-mail summary:hover { background: #F1F5FB; color: var(--ink); }
.side-mail summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.side-mail summary svg { flex: none; width: 20px; height: 20px; }
.side-mail summary::after { content: ""; width: 7px; height: 7px; margin-inline-start: auto; margin-inline-end: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.side-mail[open] summary::after { transform: rotate(225deg); }
.side-mail .mail-card { padding: 4px 12px 12px; border: 0; border-radius: 0; background: none; }
.side-mail .mail-card .btn-sm-go { justify-self: start; }
.side-account { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--mist); border-radius: 14px; background: var(--paper); min-width: 0; }
.side-account .avatar { flex: none; width: 36px; height: 36px; font-size: 0.95rem; }
.side-account .account-who { flex: 1; min-width: 0; }
.side-account h1 { margin: 0; font-size: 0.95rem; font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.side-account .account-who p { margin: 0; font-size: 0.82rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-account .account-logout { margin: 0; }
.side-icon-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--slate); cursor: pointer; }
.side-icon-btn:hover { background: var(--mist); color: var(--ink); }
.side-icon-btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.side-icon-btn svg { width: 18px; height: 18px; }
@media (min-width: 960px) {
    .app-page .profile-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 0; }
    .app-page .profile-side { margin-inline-start: calc(var(--gutter) * -1); padding: 20px 16px 16px var(--gutter); border-inline-end: 1px solid var(--mist); }
    .app-page .profile-main { padding-inline-start: clamp(24px, 3vw, 40px); }
    .side-collapsed .app-page .profile-layout { grid-template-columns: minmax(0, 1fr); }
    .side-collapsed .app-page .profile-side { display: none; }
    .side-collapsed .app-page .profile-main { padding-inline-start: 0; }
}
@media (min-width: 1400px) { .app-page .profile-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 0; } }
/* Listenin altında boşluk yok: sayfalama son öğe, altında yalnız küçük bir pay */
.profile .pager { margin: 24px 0 0; }
.app-page main.profile { padding-bottom: 0; }
.app-page .profile-main { padding-bottom: 32px; }

/* Paylaşılan döküm/ses: yalnız paylaş düğmesi yeşil çerçeveli; görüntülenme sayısı ipucu balonunda */
.icon-btn.share-btn.is-shared { border-color: #2FA36B; color: #11704A; }
.icon-btn.share-btn.is-shared:hover { background: #E3F6EC; }

/* Metinsiz düğmelerin ipucu balonu (data-tip): fareyle üzerine gelince ya da klavye odağında. Gizliyken display: none
   (görünmez balon sağ kenarda yatay kaydırma yaratmasın). Dokunmatik ekranda yalnız odak/onayda. */
[data-tip] { position: relative; }
[data-tip]::after {
    content: attr(data-tip); display: none; position: absolute; z-index: 60; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff;
    font: 600 0.78rem/1.3 'Onest', system-ui, sans-serif; letter-spacing: 0; white-space: nowrap; pointer-events: none;
    box-shadow: 0 10px 24px -12px rgba(20, 33, 61, 0.6);
}
@media (hover: hover) { [data-tip]:hover::after { display: block; animation: tip-in 0.12s ease-out; } }
[data-tip]:focus-visible::after, [data-tip].is-copied::after { display: block; animation: tip-in 0.12s ease-out; }
[data-tip-pos="bottom"]::after { bottom: auto; top: calc(100% + 8px); }
.text-actions [data-tip]::after, .drawer-close[data-tip]::after { left: auto; right: 0; transform: none; }
@keyframes tip-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-tip]::after { animation: none !important; } }

/* Üst çubuk, admin paneli (Unfold) yerleşimi: logo yan menü genişliğinde ve onun devamı gibi (beyaz, sağ çizgi);
   panel simgeli düğme içeriğin başında. Menü gizliyken ve telefonda düğme logonun yanında, ince ayırıcıyla. */
.app-page { --gutter: clamp(16px, 3vw, 32px); --side-w: 280px; --main-pad: clamp(24px, 3vw, 40px); }
@media (min-width: 1400px) { .app-page { --side-w: 300px; } }
.app-page main.profile { --gutter: clamp(16px, 3vw, 32px); }
.app-bar.has-side .app-bar-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0; padding-inline-start: var(--gutter); }
.app-bar-brand { display: flex; align-items: center; min-width: 0; height: 100%; }
.app-bar-mid { display: flex; align-items: center; height: 100%; padding-inline-start: 10px; }
.app-bar-mid::before { content: ""; width: 1px; height: 22px; margin-inline-end: 6px; background: var(--mist); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .pane { fill: currentColor; opacity: 0; transition: opacity 0.15s; }
.menu-toggle[aria-expanded="true"] .pane { opacity: 0.22; }
@media (min-width: 960px) {
    .app-page .profile-layout { grid-template-columns: var(--side-w) minmax(0, 1fr); }
    .app-page .profile-main { padding-inline-start: var(--main-pad); }
    html:not(.side-collapsed) .app-bar.has-side .app-bar-inner { grid-template-columns: calc(var(--side-w) + var(--gutter)) minmax(0, 1fr) auto; padding-inline-start: 0; }
    html:not(.side-collapsed) .app-bar.has-side .app-bar-brand { padding-inline-start: var(--gutter); border-inline-end: 1px solid var(--mist); }
    html:not(.side-collapsed) .app-bar-mid { padding-inline-start: calc(var(--main-pad) - 9px); }
    html:not(.side-collapsed) .app-bar-mid::before { display: none; }
}

/* Listenin üstündeki tek eylem: arama kutusunun yanında, açık sekmeye göre "+ Yeni döküm" / "+ Yeni seslendirme" */
.tabs-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.tabs-tools .history-search { margin-inline-start: 0; }
.new-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 16px 8px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.new-btn:hover { background: #22325A; color: #fff; }
.new-btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.new-btn svg { flex: none; width: 16px; height: 16px; }
.profile-main { padding-top: 22px; }

/* Liste başlığı (admin paneli gibi): solda açık listenin adı + sayısı, sağda arama ve "+ Yeni"; altında çizgi yok.
   Yan menü açık geniş ekranda sekmeler gizli (yan menü zaten geçiş yapıyor); telefonda/gizliyken başlık yerine sekmeler. */
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.list-title { margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; text-align: start; }
.list-count { margin-inline-start: 6px; font-size: 1rem; font-weight: 700; color: var(--slate); }
.list-head .tabs-tools { margin-inline-start: auto; }
.list-head .history-search input { width: 260px; max-width: 40vw; padding-block: 9px; }
.list-head .new-btn { padding-block: 10px; }
.list-title { display: none; }
@media (min-width: 960px) {
    html:not(.side-collapsed) .list-title { display: block; }
    html:not(.side-collapsed) .list-tabs { display: none; }
}
@media (max-width: 699px) {
    .list-head .tabs-tools { flex: 1; min-width: 0; }
    .list-head .history-search { flex: 1; min-width: 0; }
    .list-head .history-search input { width: 100%; max-width: none; }
}

/* Metinler/Sesler geçiş kutusu (çizgisiz, başlık satırında) */
.list-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #E8EEF7; }
.list-tabs .seg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 14px; border-radius: 999px; color: var(--slate); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.list-tabs .seg:hover { color: var(--ink); }
.list-tabs .seg.active { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 33, 61, 0.12), 0 4px 12px -6px rgba(20, 33, 61, 0.25); }
.list-tabs .seg:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.list-tabs .tab-count { min-width: 0; margin: 0; padding: 0 7px; background: rgba(255, 255, 255, 0.7); }
.list-tabs .seg.active .tab-count { background: var(--ink); color: #fff; }
@media (max-width: 699px) {
    .list-head { flex-wrap: wrap; gap: 12px; }
    .list-head .tabs-tools { order: -1; flex: 1 0 100%; }
    .list-tabs { display: flex; flex: 1 0 100%; }
    .list-tabs .seg { flex: 1; }
}
.icon-btn .retry-icon { display: grid; place-items: center; }
.icon-btn .spinner-border-sm { width: 15px; height: 15px; border-width: 2px; }
.icon-btn:disabled { cursor: progress; opacity: 0.85; }

/* Yapay zekâ aracı çalışıyor (main.js aiBusy): kayan renkli kenar, parlayan yıldız, ışıltılı yazı, metin iskeleti */
.btn-sm-go.is-working, .tile-action.is-working, .tool-tile.is-working, .rec-btn.is-working {
    border-color: transparent;
    background: linear-gradient(var(--sheet), var(--sheet)) padding-box,
                linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6, #3D6BFF) border-box;
    background-size: 100% 100%, 300% 100%;
    border-width: 1.5px;
    animation: ai-border 2.4s linear infinite;
    cursor: progress;
}
@keyframes ai-border { to { background-position: 0 0, 300% 0; } }
.is-working .ai-spark, .ai-inline .ai-spark {
    display: inline-block; flex: none; width: 17px; height: 17px; margin-inline-end: 6px; vertical-align: -3px;
    background: linear-gradient(135deg, #3D6BFF, #9B5CFF);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: ai-twinkle 1.2s ease-in-out infinite;
}
@keyframes ai-twinkle { 50% { transform: scale(0.7) rotate(20deg); opacity: 0.6; } }
.is-working .ai-label, .ai-inline .ai-label {
    background: linear-gradient(90deg, var(--ink) 0%, #6E56FF 45%, #19A9D6 55%, var(--ink) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ai-sheen 1.8s linear infinite;
}
@keyframes ai-sheen { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.ai-skeleton { display: grid; gap: 11px; padding: 6px 0 4px; }
.ai-skeleton span {
    height: 11px; border-radius: 6px;
    background: linear-gradient(90deg, #E8EDF8 0%, #DCE4FF 35%, #ECE2FF 55%, #E8EDF8 80%);
    background-size: 220% 100%;
    animation: ai-sheen 1.6s ease-in-out infinite;
}
.ai-skeleton span:nth-child(2) { width: 94%; animation-delay: 0.12s; }
.ai-skeleton span:nth-child(3) { width: 82%; animation-delay: 0.24s; }
.ai-skeleton span:nth-child(4) { width: 58%; animation-delay: 0.36s; }
.tool-output.is-thinking .tool-output-actions { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
    .btn-sm-go.is-working, .tile-action.is-working, .tool-tile.is-working, .rec-btn.is-working, .strip.is-thinking, .is-working .ai-spark,
    .is-working .ai-label, .ai-skeleton span, .ai-inline .ai-spark, .ai-inline .ai-label,
    .is-thinking::after, .tts-box.is-thinking::after { animation: none; }
}
/* Araç sonucunu sesli dinle */
.tool-audio { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mist); }
.tool-audio[hidden] { display: none; }
.tool-audio audio { flex: 1; min-width: 0; height: 40px; }
.tool-output-actions { flex-wrap: wrap; justify-content: flex-end; }
/* Belgeden sesli kitap */
.tts-file-toggle { cursor: pointer; }
.tts-file-toggle.is-busy { opacity: 0.6; pointer-events: none; }
/* Görüntüden yazı: görselden yazıya sayfasında asıl düğme; sonuç satırı (kopyala / .txt) */
.tts-chip.is-main { border-color: var(--cobalt); background: var(--cobalt); color: #fff; box-shadow: 0 4px 14px rgba(47, 111, 222, 0.28); }
.tts-chip.is-main svg { stroke: #fff; }
.tts-chip.is-main:hover { background: #2560C8; border-color: #2560C8; }
.tts-image-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.tts-image-actions[hidden] { display: none; }
.tts-image-actions .tool-note { flex: 1 1 100%; margin: 0; }
/* Belgeden podcast: dil seçimi */
.tts-podcast-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.92rem; color: var(--slate); }
.tts-podcast-lang .select-sm { max-width: 240px; }
/* Not şablonu: özel talimat kutusu */
.notes-custom { flex: 1 1 100%; width: 100%; margin-top: 8px; }
.notes-custom[hidden] { display: none; }
/* Kayıtlarına sor (profil, ücretli): soru kutusu, kapsam, kaynak bağlantıları */
.ask-all { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--mist); border-radius: 14px; background: var(--sheet); }
.ask-all h3 { margin: 0 0 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.ask-all h3 .ai-spark { width: 16px; height: 16px; flex: none; background: linear-gradient(135deg, #3D6BFF, #9B5CFF); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ask-all.is-locked { padding: 12px 16px; background: linear-gradient(90deg, rgba(61, 107, 255, 0.05), rgba(155, 92, 255, 0.05)), var(--sheet); }
.ask-all.is-locked h3 { margin-bottom: 4px; }
.ask-all.is-locked h3 .live-plan { margin-inline-start: 4px; }
.ask-all.is-locked .tool-note { margin: 0; }
.ask-all .ask-row { flex-wrap: wrap; margin-top: 0; }
.ask-all .ask-input:disabled { background: transparent; cursor: not-allowed; }
.ask-all .picker { flex: 0 0 190px; }
.ask-all .tool-output { margin-top: 12px; }
.ask-sources { margin: 10px 0 0; padding-left: 0; list-style: none; font-size: 0.9rem; }
.ask-sources li { margin-top: 4px; }
.ask-sources a { color: var(--cobalt); }
.ask-cite { color: var(--cobalt); font-weight: 700; text-decoration: none; }
/* Özel sözlük (isimler ve terimler) */
.terms-row { margin-top: 10px; }
.terms-row summary { display: inline-block; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--slate); padding: 4px 0; list-style: none; }
.terms-row summary::-webkit-details-marker { display: none; }
.terms-row summary::before { content: "+ "; }
.terms-row[open] summary::before { content: "− "; }
.tts-tool .terms-row summary { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.tts-tool .terms-row summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #EAF1FD; color: var(--cobalt); font-size: 0.95rem; font-weight: 700; line-height: 1; transition: background-color 0.15s, color 0.15s; }
.tts-tool .terms-row[open] summary::before { content: "\2212"; background: var(--cobalt); color: #fff; }
.tts-tool .terms-row summary:hover::before { background: #D6E4FB; }
.terms-row summary:hover { color: var(--ink); }
.terms-row .terms-input { margin-top: 6px; padding-left: 16px; }
/* Terimler + WhatsApp yardımı aynı satırda; sığmazsa bağlantı kendiliğinden alta iner (çakışmaz). Terim kutusu
   açılınca ayrıntı tam satır olur (giriş kutusu daralmaz), bağlantı altına geçer. */
.terms-line { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 16px; margin-top: 10px; }
.terms-line .terms-row { margin-top: 0; }
.terms-line .terms-row[open] { flex-basis: 100%; }
.terms-line .wa-help { margin-inline-start: auto; padding: 4px 0; }
/* Profil klasörleri */
.folder-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; }
.folder-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #C9D5EA; border-radius: 999px; background: var(--sheet); color: var(--ink); font-size: 0.88rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.folder-chip svg { width: 15px; height: 15px; color: var(--cobalt); }
.folder-chip:hover { border-color: var(--ink); color: var(--ink); }
.folder-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.folder-chip.active svg { color: #fff; }
.folder-chip.active .tab-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.folder-chip.is-add { border-style: dashed; color: var(--slate); list-style: none; }
.folder-new summary::-webkit-details-marker { display: none; }
.folder-new { position: relative; }
.folder-new-form { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: flex; gap: 6px; padding: 10px; border: 1px solid var(--mist); border-radius: 12px; background: var(--sheet); box-shadow: 0 8px 24px rgba(20, 33, 61, 0.12); }
.folder-new-form input { width: 180px; font: inherit; font-size: 0.9rem; padding: 7px 10px; border: 1.5px solid #C9D5EA; border-radius: 9px; }
.folder-delete { margin-inline-start: auto; }
.folder-delete .link-btn { padding: 6px 4px; font-size: 0.85rem; }
.folder-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #EEF2FB; color: var(--ink); font-weight: 600; }
.editor-folder { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; font-size: 0.9rem; font-weight: 600; color: var(--slate); }
/* Toplu yükleme listesi */
.batch { margin-top: 14px; }
.batch[hidden] { display: none; }
.batch-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.batch-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--mist); border-radius: 10px; background: var(--sheet); font-size: 0.92rem; }
.batch-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.batch-state { flex: none; color: var(--slate); font-variant-numeric: tabular-nums; }
.batch-state.is-busy { color: var(--cobalt); }
.batch-state.is-failed { color: #B42318; }
.batch-state.is-ready a { font-weight: 700; color: var(--ink); }
.tts-say-as textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 0.92rem; padding: 10px 12px; border: 1.5px solid #C9D5EA; border-radius: 12px; background: var(--sheet); color: var(--ink); resize: vertical; }
.tts-say-as .tool-note { margin-top: 6px; }
.tts-style-row input { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 0.92rem; padding: 10px 12px; border: 1.5px solid #C9D5EA; border-radius: 12px; background: var(--sheet); color: var(--ink); }
.tts-style-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tts-style-presets .voice-chip { cursor: pointer; font: inherit; font-size: 0.78rem; }
.tts-style-row[hidden] { display: none; }
/* Kullanım amacı sayfaları: ana sayfa/dil sayfası bileşenleriyle aynı görünüm */
.case-steps .note-card { padding-top: 26px; }
.case-steps .step-num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: #E4ECF9; color: var(--ink); font-weight: 700; }
.case-steps h3, .note-panels h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--ink); }
.note-panels h3 { margin-top: 16px; font-size: 1.2rem; }
@media (min-width: 1000px) { .note-panels.is-three { grid-template-columns: repeat(3, 1fr); } }
.case-tiles .lang-quote { font-family: inherit; font-size: 0.9rem; color: var(--slate); }
/* Canlı dikte */
.dict-box { position: relative; }
.dict-box textarea { display: block; width: 100%; min-height: 220px; font: inherit; font-family: 'Literata', Georgia, serif; font-size: 1.1rem; line-height: 1.6; padding: 18px 18px 34px; border: 1.5px dashed #C9D5EA; border-radius: 16px; background: var(--sheet); color: var(--ink); resize: vertical; }
.dictation.is-live .dict-box textarea { border-style: solid; border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08); }
.dict-status { position: absolute; left: 18px; bottom: 10px; font-size: 0.85rem; color: #B42318; font-weight: 600; }
.dict-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.dict-dot { width: 12px; height: 12px; border-radius: 50%; background: #FF6B5E; box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.25); }
.dictation.is-live .dict-go { background: #B42318; }
.dictation.is-live .dict-dot { background: #fff; animation: rec-pulse 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dictation.is-live .dict-dot { animation: none; } }
.dict-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Canlı altyazı modu (partial/dictation_box.html): mod geçişi profildeki list-tabs; altyazı dikte kutusunun yerinde, büyük yazı */
.dictation .list-tabs.dict-modes { display: inline-flex; margin-bottom: 14px; }  /* profildeki dar ekran gizlemesi burada geçerli değil */
.live-options select:disabled { opacity: 0.75; cursor: not-allowed; }
.dict-modes .seg { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.live-captions { height: 280px; overflow-y: auto; padding: 18px 18px 38px; border: 1.5px dashed #C9D5EA; border-radius: 16px; background: var(--sheet); color: var(--ink); font-family: 'Literata', Georgia, serif; font-size: 1.35rem; line-height: 1.55; scroll-behavior: smooth; }
.live-captions:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.live-captions .cap-line { margin: 0 0 12px; }
.live-captions .cap-tr { display: block; margin-top: 2px; font-family: inherit; font-size: 1.05rem; color: var(--slate); }
.live-empty { color: var(--slate); font-size: 1rem; }
.dictation.is-live .live-captions { border-style: solid; border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08); }
.dictation.is-captions #dictText, .dictation:not(.is-captions) .live-captions,
.dictation:not(.is-captions) .live-options, .dictation:not(.is-captions) .live-note, .dictation:not(.is-captions) .live-only { display: none; }
.live-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.live-field { display: grid; gap: 6px; min-width: 0; padding: 10px 12px 12px; border: 1px solid var(--mist); border-radius: 14px; background: var(--sheet); }
.live-field-label { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--slate); }
.live-field-label svg { width: 15px; height: 15px; fill: none; stroke: var(--cobalt); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.live-field .select-sm { width: 100%; max-width: none; }
.live-field.is-locked .select-sm { background-color: #F3F6FA; }
.live-plan { margin-inline-start: auto; padding: 2px 8px; border-radius: 999px; background: #EAF1FD; color: var(--cobalt); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; }
.live-paid-note { font-size: 0.82rem; }
.live-options.is-single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 479px) { .live-options { grid-template-columns: 1fr; } }
.live-note { margin-top: 8px; }
.live-summary { margin-top: 16px; }
.live-summary .result-text { font-size: 1.05rem; line-height: 1.6; min-height: 0; white-space: pre-line; }
.live-summary.is-thinking { position: relative; }
#liveToolText { white-space: pre-line; }
@media (max-width: 699px) { .live-captions { height: 280px; font-size: 1.2rem; } }
/* Yapay zekâ çalışırken metin kutuları: üstünde kayan ışıltı (belge/web sayfası okunurken, dikte yazıya dökülürken) */
.ai-inline { display: inline-flex; align-items: center; }
.tts-box.is-thinking, .dict-box.is-thinking { position: relative; }
.tts-box.is-thinking::after, .dict-box.is-thinking::after {
    content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
    background: linear-gradient(100deg, transparent 20%, rgba(155, 92, 255, 0.10) 40%, rgba(61, 107, 255, 0.14) 50%, rgba(25, 195, 230, 0.10) 60%, transparent 80%);
    background-size: 250% 100%; animation: ai-sheen 1.6s linear infinite;
}
.tts-box.is-thinking textarea { border-color: transparent; background: linear-gradient(var(--sheet), var(--sheet)) padding-box, linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6, #3D6BFF) border-box; background-size: 100% 100%, 300% 100%; animation: ai-border 2.4s linear infinite; border-style: solid; }
.link-btn.is-working { color: var(--ink); text-decoration: none; pointer-events: none; }
.dict-status .ai-label { color: transparent; }
.batch-state .ai-inline { gap: 0; }
@media (prefers-reduced-motion: reduce) { .tts-box.is-thinking textarea { animation: none; } }
/* Sonuç ekranı: sıradaki adım çubuğu (yapışkan) */
.next-bar { position: sticky; top: 76px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 16px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid transparent; background: linear-gradient(var(--sheet), var(--sheet)) padding-box, linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6) border-box; box-shadow: 0 16px 36px -24px rgba(20, 33, 61, 0.45); }
.next-bar[hidden] { display: none; }
.next-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.next-title .ai-spark { display: inline-block; width: 16px; height: 16px; background: linear-gradient(135deg, #3D6BFF, #9B5CFF); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.6L21 11l-6.8 2.4L12 20l-2.2-6.6L3 11l6.8-2.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.next-hint { color: var(--slate); font-size: 0.92rem; }
.next-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-inline-start: auto; }
@media (max-width: 640px) { .next-bar { top: 64px; } .next-actions { margin-inline-start: 0; } }
.part-wait { font-family: inherit; font-size: 0.92rem; }


/* Ekip sayfası (billing/team.html): üye listesi ve davet */
.team-panel { max-width: 760px; text-align: start; }
.team-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.team-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--mist); }
.team-email { flex: 1 1 240px; font-weight: 600; overflow-wrap: anywhere; }
.team-pending { font-weight: 400; font-size: 0.88rem; color: #8A94A6; }
.team-usage { font-size: 0.92rem; color: #4A5568; }
.team-remove { margin: 0; }
.team-remove .go-outline { padding: 6px 14px; font-size: 0.88rem; }
.team-invite label { display: block; font-weight: 600; margin-bottom: 8px; }
.team-invite-row { display: flex; gap: 10px; flex-wrap: wrap; }
.team-invite-row input { flex: 1 1 240px; min-width: 0; padding: 12px 14px; border: 1px solid var(--mist); border-radius: 12px; font: inherit; }
/* Yapay zekâ asistanı bağlantısı (registration/connect.html): ekip paneli + kopyalanabilir kod kutuları */
/* Düzen: solda dar anahtar paneli (geniş ekranda kaydırırken sabit), sağda geniş kurulum; her yol ayrı blok */
.connect-panels { align-items: start; gap: 24px; }
@media (min-width: 900px) { .connect-panels { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); } .connect-keys { position: sticky; top: 96px; } }
.connect-panels.is-single { grid-template-columns: minmax(0, 560px); }
.connect-panels .team-panel { max-width: none; }
.connect-new { grid-column: 1 / -1; }
.connect-panels .cta-row { margin: 14px 0 4px; }
.connect-keys .team-invite { margin-top: 18px; }
.connect-keys .team-invite-row input { flex-basis: 100%; }
.connect-keys .team-invite-row .go { flex: 1 1 auto; }
.connect-keys > .plan-note:last-child { margin-top: 14px; color: var(--slate); font-size: 0.9rem; }
.connect-step { padding: 22px 0; border-top: 1px solid var(--mist); }
.connect-step:first-of-type { margin-top: 18px; }
.connect-panels .connect-step h3 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 700; line-height: 1.5; }
.connect-step > p { color: var(--slate); }
.connect-fields { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 1100px) { .connect-fields { grid-template-columns: 1fr 1fr; } }
.connect-label { margin: 0 0 6px !important; font-size: 0.85rem; font-weight: 600; color: var(--slate) !important; }
.connect-code { position: relative; margin: 0; padding: 14px 92px 14px 16px; border: 1px solid var(--mist); border-radius: 12px; background: var(--paper); }
.connect-code code, .connect-code pre { display: block; margin: 0; font-size: 0.86rem; line-height: 1.6; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; direction: ltr; text-align: left; }
.connect-code.is-block pre { white-space: pre; overflow-x: auto; }
.connect-code.is-block pre code { white-space: pre; overflow-wrap: normal; }
.connect-code .go-outline { position: absolute; top: 8px; inset-inline-end: 8px; padding: 6px 14px; font-size: 0.85rem; }
.connect-foot { padding-top: 18px; border-top: 1px solid var(--mist); }
.connect-foot .plan-note { font-size: 0.9rem; color: var(--slate); }
.connect-prefix { font-size: 0.86rem; font-weight: 400; color: #4A5568; direction: ltr; }
.plan-seats { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: 0.95rem; }
.plan-seats select { padding: 6px 10px; border: 1px solid var(--mist); border-radius: 10px; font: inherit; background: var(--sheet); }
/* Fiyatlar sayfası düzeni: hero'da ücretsiz kart, planlar tek sırada, paket/API panelleri */
.pricing-stage .facts { flex-direction: column; gap: 10px; }
.free-sheet { display: flex; flex-direction: column; gap: 14px; }
.free-sheet .sheet-head { align-items: center; }
.free-sheet .plan-price { font-size: 2.8rem; }
.free-sheet .note { margin-top: 0; }
.free-sheet .go { text-align: center; }
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 28px; }
.pricing-head .period-toggle { margin-bottom: 0; }
.plan-tag { display: inline-block; margin-inline-start: 6px; padding: 2px 10px; border-radius: 999px; background: #EEF3FB; color: var(--cobalt); font-size: 0.78rem; font-weight: 700; vertical-align: middle; }
.note-panel > h2 { margin: 16px 0 8px; font-size: 1.35rem; max-width: none; }
.pack-rows { display: grid; gap: 12px; margin-top: 16px; }
.pack-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--mist); border-radius: 14px; background: var(--paper); }
.pack-row h3 { margin: 0 0 2px; font-size: 1rem; }
.pack-row .plan-price { font-size: 1.5rem; }
.pack-row .go-outline { flex: none; padding: 10px 18px; }
.api-waitlist { display: grid; gap: 10px; max-width: 560px; margin-top: 16px; }
.api-waitlist input, .api-waitlist textarea { background: var(--sheet); }
.api-waitlist .go { justify-self: start; }
.api-waitlist input, .api-waitlist textarea { padding: 12px 14px; border: 1px solid var(--mist); border-radius: 12px; font: inherit; }
.api-waitlist .hp { position: absolute; left: -9999px; }

/* Dinleyerek oku (api/transcript_editor.py): parça/satır tıklanınca ses oradan çalar, çalan vurgulu (fosforlu kalem) */
.part-player { margin: 0 0 6px; padding-top: 0; border-top: 0; }
.part-hint { margin: 0 0 10px; }
.result-text [data-start] { cursor: pointer; border-radius: 4px; transition: background-color .15s, box-shadow .15s; }
.result-text p[data-start]:hover { background: var(--paper); box-shadow: 0 0 0 6px var(--paper); }
.result-text p[data-start].is-playing { background: rgba(255, 226, 122, 0.4); box-shadow: 0 0 0 6px rgba(255, 226, 122, 0.4); }
.result-text span[data-start]:hover { background: var(--paper); }
.result-text span[data-start].is-playing { background: linear-gradient(transparent 55%, var(--marker) 55%); }

/* Bul ve değiştir (profildeki döküm editörü) */
.find-panel { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 12px; border: 1px solid var(--mist); border-radius: 12px; background: var(--paper); }
.find-panel[hidden] { display: none; }
.find-panel .ask-input { flex: 1 1 180px; padding: 7px 10px; font-size: 0.92rem; }
.find-row { display: flex; flex: 1 1 100%; align-items: center; gap: 12px; }
.find-case { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.find-row .editor-status { flex: 1; margin: 0; min-height: 0; }

/* Konuşmacılara ad ver (main.js speakerRenamer) */
.speaker-names { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mist); }
.speaker-names[hidden] { display: none; }
.speaker-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 8px 0 10px; }
.speaker-name { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.speaker-name span { white-space: nowrap; }
.speaker-name .ask-input { padding: 6px 10px; font-size: 0.9rem; }

/* Seslendirme formu sadeleştirme (2026-11-21, Clarity: tıklamaların çoğu yaz → ses → sese çevir → MP3):
   metin getirme yolları tek "Metin getir" düğmesinde, duraklama kutunun köşesinde, az kullanılan ayarlar "Diğer seçenekler"de */
.tts-pause-insert { position: absolute; inset-inline-start: 12px; bottom: 7px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--slate); cursor: pointer; }
.tts-pause-insert svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tts-pause-insert:hover { background: #EAF1FD; color: var(--cobalt); }
.tts-pause-insert:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
/* Uzun açıklama: profildeki simge düğmelerin balonu (data-tip), ama sarılır ve düğmenin başlangıç kenarına hizalı */
.tts-pause-insert[data-tip]::after { left: auto; inset-inline-start: 0; transform: none; width: max-content; max-width: min(300px, 80vw); white-space: normal; text-align: start; font-weight: 500; }
.tts-import { display: contents; }
.tts-import > summary { list-style: none; }
.tts-import > summary::-webkit-details-marker { display: none; }
.tts-import > summary svg { transition: transform 0.15s; }
.tts-import[open] > summary { border-color: var(--cobalt); background: #EAF1FD; color: var(--cobalt); }
.tts-import[open] > summary svg { transform: rotate(45deg); }
.tts-import-menu { display: contents; }
.tts-more .tts-opt { margin-top: 12px; }
.tts-more .tts-dialogue { margin-inline-start: 0; padding: 0; }
.tts-more #ttsDialogueHint { margin: 6px 0 0; }
.tts-opt-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.tts-result .go { flex: none; }
.tts-links { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: -2px; }
.tts-link { padding: 2px 0; border: 0; background: none; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--cobalt); text-decoration: none; cursor: pointer; }
.tts-link:hover { color: var(--ink); text-decoration: underline; }
.tts-links a[hidden] { display: none; }
.tts-tool > .tts-opt { margin-top: 12px; }
.tts-tool > .tts-opt .tts-dialogue { margin-inline-start: 0; padding: 0; }
.tts-tool > .tts-opt #ttsDialogueHint { margin: 6px 0 0; }

/* Google Drive seçicisi (Google Picker, drive.py): Google pencereyi belgeye mutlak konumla koyuyor, açılırken sayfa
   kayınca ekranda yalnız gri arka plan kalıyordu. Ekrana sabitle, ortala, üst menünün üstünde tut, küçük ekrana sığdır. */
.picker-dialog-bg { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 10000 !important; }
.picker-dialog { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); z-index: 10001 !important; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
.picker-dialog-content { width: min(1052px, calc(100vw - 18px)) !important; height: min(650px, calc(100vh - 18px)) !important; }

/* Google Drive'dan dosya gelirken yükleme alanı: kayan renkli kenar + ışıltı (main.js initDrivePicker, aiBusy ile) */
.strip.is-thinking { border-style: solid; border-color: transparent; cursor: progress; pointer-events: none;
    background: linear-gradient(var(--sheet), var(--sheet)) padding-box, linear-gradient(90deg, #3D6BFF, #9B5CFF, #19C3E6, #3D6BFF) border-box;
    background-size: 100% 100%, 300% 100%; animation: ai-border 2.4s linear infinite; }
.strip.is-thinking::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 20%, rgba(155, 92, 255, 0.10) 40%, rgba(61, 107, 255, 0.14) 50%, rgba(25, 195, 230, 0.10) 60%, transparent 80%);
    background-size: 250% 100%; animation: ai-sheen 1.6s linear infinite; }
.rec-btn.is-working { cursor: progress; }

/* Kaydedilmiş araç sonuçları (profil › döküm penceresi ve "Kayıtlarına sor"): tıkla göster, × sil */
.saved-outputs { margin: 12px 0 4px; }
.saved-outputs > .sheet-label { display: block; margin-bottom: 6px; }
.saved-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.saved-chip { display: inline-flex; align-items: center; gap: 2px; }
.saved-chip .btn-sm-go { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-del { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--slate); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.saved-del:hover { background: #FDECEC; color: #B42318; }

/* Görselden/taramadan yazının belge önizlemesi (tts.js showDocument): türüne göre düzen, uygulamadaki DocumentView ile aynı */
.doc-preview { margin: 18px auto 0; max-width: 680px; background: var(--sheet); border-radius: 18px; box-shadow: 0 10px 40px rgba(20, 33, 61, .08); padding: 36px 40px; color: var(--ink); line-height: 1.65; font-size: 17px; text-align: start; }
.doc-preview.is-serif { font-family: 'Literata', Georgia, serif; }
.doc-preview.is-compact { max-width: 400px; border-radius: 6px; padding: 28px 26px; font-size: 15px; }
.doc-preview.is-centered { text-align: center; }
.doc-preview .doc-badge { display: inline-block; font: 600 12px 'Onest', sans-serif; color: var(--cobalt); background: #EEF3FC; border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.doc-preview h1 { font-family: 'Literata', Georgia, serif; font-size: 28px; line-height: 1.25; margin: 0 0 14px; font-weight: 600; }
.doc-preview h2 { font-size: 20px; margin: 22px 0 8px; font-weight: 600; }
.doc-preview h3 { font-family: 'Onest', sans-serif; font-size: 15px; color: var(--cobalt); margin: 16px 0 6px; font-weight: 600; }
.doc-preview p { margin: 0 0 12px; }
.doc-preview blockquote { margin: 12px 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--cobalt); font-style: italic; }
.doc-preview ul, .doc-preview ol { margin: 0 0 12px; padding-inline-start: 22px; }
.doc-preview li { margin-bottom: 5px; }
.doc-preview table { border-collapse: collapse; width: 100%; margin: 10px 0 14px; font: 14px 'Onest', sans-serif; }
.doc-preview th, .doc-preview td { border: 1px solid var(--mist); padding: 7px 9px; text-align: start; vertical-align: top; }
.doc-preview th { background: #EEF3FC; font-weight: 600; }
.doc-preview table.kv td { border: none; border-bottom: 1px dotted #9AA3B5; padding: 6px 0; }
.doc-preview table.kv td.v { text-align: end; font-variant-numeric: tabular-nums; }
.doc-preview hr { border: none; border-top: 1px solid var(--mist); margin: 16px 0; }
.doc-preview.is-compact hr { border-top: 1px dashed #9AA3B5; }
@media (max-width: 600px) { .doc-preview { padding: 24px 20px; border-radius: 12px; } }
@media print { .doc-preview { box-shadow: none; padding: 0; } }

/* Soru önerileri (main.js askChips): YouTube'daki gibi kayan çipler; tıklayınca sorulur */
.ask-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.ask-chips::-webkit-scrollbar { display: none; }
.ask-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(20, 33, 61, .18); background: var(--sheet); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 15px 'Onest', sans-serif; white-space: nowrap; cursor: pointer; }
.ask-chip:hover { border-color: var(--cobalt); }
.ask-chip svg { width: 12px; height: 12px; color: var(--cobalt); flex: none; }
.ask-chip.is-ghost { width: 170px; height: 38px; border: none; background: rgba(20, 33, 61, .06); cursor: default; }
