/* style.css (same as previous popup-enabled version; kept compatible) */
:root {
    --primary-color: #ff6b6b;
    --primary-dark: #ee5a52;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --success-color: #51cf66;
    --danger-color: #ff6b6b;
    --warning-color: #ffd43b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Safe-area helpers (iPhone notch etc.) */
    --safe-top: env(safe-area-inset-top);
    --safe-right: env(safe-area-inset-right);
    --safe-bottom: env(safe-area-inset-bottom);
    --safe-left: env(safe-area-inset-left);
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #eaeaea;
    --text-secondary: #b4b4b4;
    --border-color: #2d3561;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-primary);
    display: flex;

    /* Mobile browser address bar handling */
    min-height: 100vh;
    min-height: 100dvh;

    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    z-index: 200;
}
.sidebar.collapsed { transform: translateX(-100%); }

.sidebar-header { padding: 20px; border-bottom: 1px solid var(--border-color); }

.logo-container { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.sidebar-logo { width: 40px; height: 40px; border-radius: 12px; }

.logo-container h2 {
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.new-chat-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.new-chat-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.chat-history { flex: 1; overflow-y: auto; padding: 10px; }

.chat-history-item {
    padding: 12px;
    margin-bottom: 5px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-history-item:hover { background: var(--bg-tertiary); }
.chat-history-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.sidebar-footer { padding: 15px; border-top: 1px solid var(--border-color); }

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.user-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary-color); }

.user-info { flex: 1; display: flex; flex-direction: column; }

.user-name { font-size: 14px; font-weight: 600; }
.user-email { font-size: 11px; color: var(--text-secondary); }

.logout-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}
.logout-btn:hover { background: var(--danger-color); color: white; }

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 10px;
}
.login-btn:hover { background: var(--primary-dark); }

.settings-btn {
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    font-size: 14px;
}
.settings-btn:hover { background: var(--secondary-color); color: white; }

/* ✅ Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index: 150;
}

/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    min-width: 0;
}

/* Layout hardening: input'un her koşulda görünmesi için */
.main-container{
  height: 100vh;
  height: 100dvh;   /* modern tarayıcılar */
  min-height: 0;    /* flex çocukların küçülebilmesi için */
}

.chat-container{
  flex: 1 1 auto;
  min-height: 0;    /* KRİTİK: yoksa input aşağı itilir */
}

/* Input alanı her zaman görünür kalsın */
.input-area{
  flex: 0 0 auto;
}

/* Header */
.chat-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: calc(15px + var(--safe-top)) calc(25px + var(--safe-right)) 15px calc(25px + var(--safe-left));
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
}

.header-logo { width: 40px; height: 40px; border-radius: 12px; }

.header-info { flex: 1; display: flex; align-items: center; gap: 15px; min-width: 0; }

.header-info h1 {
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.status i { color: var(--success-color); font-size: 8px; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100% {opacity:1} 50% {opacity:.5} }

.mode-chip{
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.header-actions { display: flex; gap: 10px; }

.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-primary);
}
.icon-btn:hover { background: var(--primary-color); color: white; transform: scale(1.1); }

/* Chat container */
.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    /* critical for flex layouts so input remains reachable */
    min-height: 0;
}
.chat-box { max-width: 900px; margin: 0 auto; min-width: 0; }

/* Welcome */
.welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    text-align: center;
    padding: 16px;
}
.welcome-content { max-width: 600px; }

/* ✅ biraz küçültüldü */
.welcome-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}
@keyframes float { 0%,100% {transform: translateY(0) rotate(0deg);} 50% {transform: translateY(-14px) rotate(4deg);} }

.welcome-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.welcome-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 18px;
}

/* fun-facts container stays compatible, but mode-picker overrides it later */
.fun-facts { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.fun-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    /* ✅ kartları biraz küçülttük */
    padding: 14px;

    background: var(--bg-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.fun-fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fun-fact i { font-size: 26px; color: var(--primary-color); }
.fun-fact span { font-size: 13px; font-weight: 600; }

/* Messages */
.message { margin-bottom: 20px; animation: slideIn 0.3s ease-out; }
@keyframes slideIn { from {opacity:0; transform: translateY(20px);} to {opacity:1; transform: translateY(0);} }

.message-wrapper { display: flex; gap: 12px; max-width: 85%; min-width: 0; }
.message.user-message .message-wrapper { margin-left: auto; flex-direction: row-reverse; }

.message-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 20px; overflow: hidden;
}
.message-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-message .message-avatar { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; }
.bot-message .message-avatar { background: var(--bg-tertiary); padding: 5px; }

.message-content {
    background: var(--bg-primary);
    padding: 15px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    min-width: 0;
}
.user-message .message-content { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; }

.message-text { line-height: 1.6; font-size: 15px; word-wrap: break-word; overflow-wrap: anywhere; }

.message-text pre,
.message-text code { max-width: 100%; }
.message-text pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.message-time { font-size: 11px; color: var(--text-secondary); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.user-message .message-time { color: rgba(255,255,255,0.7); }

.message-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.message-action-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.message-action-btn:hover { background: var(--bg-tertiary); color: var(--primary-color); }

/* Typing indicator */
.typing-indicator { display: flex; gap: 12px; max-width: 85%; margin-bottom: 20px; }
.typing-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.typing-avatar img { width: 100%; height: 100%; object-fit: cover; }

.typing-dots {
    background: var(--bg-primary);
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 5px;
}

.typing-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-secondary); animation: typing 1.4s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100% {transform: translateY(0); opacity:0.7;} 30% {transform: translateY(-10px); opacity:1;} }

/* Input */
.input-area {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);

    /* ✅ ekran altına yapışmasın: alt padding artırıldı */
    padding: 18px calc(20px + var(--safe-right)) calc(30px + var(--safe-bottom)) calc(20px + var(--safe-left));
}

.input-container { max-width: 900px; margin: 0 auto; display: flex; gap: 10px; align-items: flex-end; }
.input-wrapper { flex: 1; position: relative; min-width: 0; }

#userInput {
    width: 100%;
    padding: 14px 72px 14px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: var(--transition);
    background: var(--bg-secondary);
    color: var(--text-primary);
    max-height: 200px;
    line-height: 1.5;
}
#userInput:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1); }

.char-count { position: absolute; bottom: 10px; right: 15px; font-size: 11px; color: var(--text-secondary); user-select: none; }

.send-btn {
    width: 50px; height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    font-size: 18px;
    margin-bottom: 5px;
    flex-shrink: 0;
}
.send-btn:hover:not(:disabled) { transform: scale(1.1) rotate(15deg); box-shadow: var(--shadow-lg); }
.send-btn:disabled { opacity: 0.6; cursor: not-allowed; }


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 12px;
}
.modal.active { display: flex; }

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn { from {opacity:0; transform: translateY(-50px);} to {opacity:1; transform: translateY(0);} }

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.close-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.modal-body { padding: 20px; max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.setting-group { margin-bottom: 25px; }
.setting-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
    gap: 10px;
}
.setting-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.setting-group small { color: var(--text-secondary); font-size: 12px; display: block; margin-top: 8px; }

.theme-options { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

.theme-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 140px;
}
.theme-btn:hover { border-color: var(--primary-color); }
.theme-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: white; }

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); }
.btn-secondary:hover { background: var(--border-color); }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s ease-out;
}
@keyframes toastSlideIn { from {opacity:0; transform: translateX(100px);} to {opacity:1; transform: translateX(0);} }
.toast.show { display: flex; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-tertiary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* Responsive */
@media (max-width: 1024px) {
    .chat-box,
    .input-container,
    .input-footer {
        max-width: 860px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        height: 100dvh;
        z-index: 200;
        box-shadow: var(--shadow-lg);
    }

    .sidebar:not(.collapsed) ~ .sidebar-overlay {
        display: block;
    }

    .menu-toggle { display: block; }
    .chat-header {
        padding: calc(12px + var(--safe-top)) calc(14px + var(--safe-right)) 12px calc(14px + var(--safe-left));
        gap: 12px;
    }
    .header-info h1 { font-size: 18px; }
    .status { font-size: 11px; }

    /* Welcome mobilde biraz daha kompakt */
    .welcome-screen { min-height: 56vh; padding: 14px; }
    .welcome-logo { width: 88px; height: 88px; margin-bottom: 10px; } /* ✅ 96 → 88 */
    .welcome-content h2 { font-size: 22px; }
    .welcome-content p { font-size: 14px; margin-bottom: 14px; }

    .chat-container { padding: 14px; }
    .message-wrapper { max-width: 100%; }
    .message-avatar { width: 34px; height: 34px; }

    /* ✅ input biraz daha yukarıda dursun */
    .input-area {
        padding: 14px calc(14px + var(--safe-right)) calc(28px + var(--safe-bottom)) calc(14px + var(--safe-left));
    }

    #userInput { font-size: 15px; padding: 14px 70px 14px 14px; }
    .send-btn { width: 46px; height: 46px; margin-bottom: 4px; }

    .modal-content { width: calc(100% - 24px); max-height: 85vh; }

    .toast {
        left: 12px;
        right: 12px;
        bottom: calc(12px + var(--safe-bottom));
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .header-logo { width: 34px; height: 34px; }
    .icon-btn { width: 38px; height: 38px; }
}

/* Logo fallbacks */
.logo-placeholder,
.sidebar-logo-wrapper,
.header-logo-wrapper,
.welcome-logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-fallback-small,
.logo-fallback-large {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-fallback-small { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.logo-fallback-large { width: 150px; height: 150px; border-radius: 30px; font-size: 80px; animation: float 3s ease-in-out infinite; }

img { max-width: 100%; height: auto; }

/* Delete Chat Button */
.delete-chat-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0;
    font-size: 12px;
}
.chat-history-item:hover .delete-chat-btn { opacity: 1; }
.delete-chat-btn:hover { background: var(--danger-color); color: white; }
.chat-history-item.active .delete-chat-btn { color: white; opacity: 0.7; }
.chat-history-item.active:hover .delete-chat-btn { opacity: 1; }

/* Mode picker: keep fun-fact look, make them act like radio cards */
.mode-option {
  cursor: pointer;
  user-select: none;
}

.mode-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* selected card accent without changing layout */
.mode-option:has(input[type="radio"]:checked) {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
}

/* fallback for browsers without :has (still usable, just no highlight) */

/* Mode picker layout: equal-size cards */
.mode-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ✅ 6 mod için 3x2 */
  gap: 12px;
  align-items: stretch;
}

/* Responsive: dar ekranda 2x2 olsun */
@media (max-width: 768px) {
  .mode-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* ✅ telefon: 2x2 */
  }
}

/* Çok dar ekranda tek sütun (420px yerine 360px: telefonda 2x2 kalsın) */
@media (max-width: 360px) {
  .mode-picker {
    grid-template-columns: 1fr;
  }
}

/* Each card should fill its grid cell equally */
.mode-picker .mode-option {
  width: 100%;
  height: 100%;

  /* kartları biraz daha kompakt */
  min-height: 64px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Allow titles to wrap nicely without breaking layout */
.mode-picker .mode-option span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.15;
}

/* Optional: icon spacing */
.mode-picker .mode-option i {
  margin-bottom: 6px;
}

/* Uzun sohbetlerde alt kısım daha rahat görünsün */
.chat-container{
  overscroll-behavior: contain;
  scroll-padding-bottom: 24px; /* en altta biraz nefes */
}

/* ✅ Mode cards a bit smaller on mobile */
@media (max-width: 768px) {
  .mode-picker .mode-option {
    min-height: 56px;   /* ✅ 60 → 56 */
    padding: 10px;      /* ✅ 12 → 10 */
  }
  .mode-picker .mode-option i { font-size: 22px; }     /* ✅ 24 → 22 */
  .mode-picker .mode-option span { font-size: 12px; }  /* ✅ 12.5 → 12 */
}

/* ✅ Sidebar scroll hardening (desktop full screen fix) */
.sidebar{
  height: 100vh;
  height: 100dvh;
  min-height: 0;           /* flex içinde scroll için kritik */
  overflow: hidden;        /* scroll'u chat-history'e bırak */
}

.chat-history{
  flex: 1 1 auto;
  min-height: 0;           /* kritik: yoksa overflow çalışmaz */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-accordion {
  max-width: 900px;
  margin: 10px auto 0;
  padding: 0 14px;
}

.seo-accordion details {
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 10px 12px;
}

[data-theme="dark"] .seo-accordion details {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.seo-accordion summary {
  cursor: pointer;
  font-weight: 600;
}

.seo-accordion-body {
  margin-top: 8px;
  line-height: 1.5;
  opacity: .92;
}