:root {
    --bg: #f0f4f8;
    --bg-accent: linear-gradient(160deg, #e8f0fe 0%, #f0f4f8 45%, #f8fafc 100%);
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-hover: #1e40af;
    --primary-soft: #dbeafe;
    --border: #e2e8f0;
    --success: #059669;
    --success-soft: #d1fae5;
    --warning: #d97706;
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
    --header-h: 56px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --touch: 48px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    background: var(--bg-accent);
    color: var(--text);
    line-height: 1.55;
    font-size: 16px;
    min-height: 100dvh;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container { padding: 0 1.5rem; }
}

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 0.75rem;
}

.logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--touch);
    height: var(--touch);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1rem 1rem;
    flex-direction: column;
    gap: 0.25rem;
}

.site-nav.is-open { display: flex; }

.site-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a:focus {
    background: var(--primary-soft);
    color: var(--primary);
}

@media (min-width: 768px) {
    .nav-toggle { display: none; }

    .header-inner { position: relative; }

    .site-nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
        gap: 0.25rem;
    }

    .site-nav a {
        padding: 0.5rem 0.85rem;
        font-size: 0.9rem;
        color: var(--muted);
    }

    .logo { max-width: none; font-size: 1.1rem; }
}

.main-content {
    padding-bottom: calc(2rem + var(--safe-bottom));
    min-height: calc(100dvh - var(--header-h) - 80px);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0 calc(1.25rem + var(--safe-bottom));
    color: var(--muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-copy { margin: 0; }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* —— Typography —— */
h1 {
    margin-top: 0;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.lead {
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* —— Cards —— */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 480px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

@media (hover: hover) {
    .card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }
}

.dealer-card h2 {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.dealer-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.dealer-card h2 a:hover { color: var(--primary); }

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
    font-weight: 700;
}

.stat-value.good { color: var(--success); }
.stat-value.mid { color: var(--warning); }
.stat-value.low { color: var(--danger); }

.stat-label {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-actions .btn { flex: 1; text-align: center; }

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch);
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn:hover { background: var(--primary-hover); }

.btn-sm {
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover { background: var(--primary-soft); }

.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #b91c1c; }

.btn-block { width: 100%; }

/* —— Stats dashboard —— */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
    .stats-dashboard {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card.highlight {
    border-color: var(--primary-light);
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    grid-column: 1 / -1;
}

@media (min-width: 600px) {
    .stat-card.highlight { grid-column: auto; }
}

.big-number {
    display: block;
    font-size: clamp(1.75rem, 6vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.big-number.good { color: var(--success); }
.big-number.mid { color: var(--warning); }
.big-number.low { color: var(--danger); }

.stat-card span:not(.big-number) {
    font-size: 0.85rem;
    color: var(--muted);
}

.stat-card small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.35;
}

/* —— Panels & tables —— */
.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .panel { padding: 1.25rem; margin-bottom: 1.5rem; }
}

.panel h2 {
    margin-top: 0;
    font-size: 1.05rem;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
}

.data-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.data-table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* —— Badges & alerts —— */
.badge {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: var(--success-soft); color: #065f46; }
.badge-fail { background: var(--danger-soft); color: #991b1b; }
.badge-inactive { background: #f1f5f9; color: var(--muted); }

.alert {
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: var(--success-soft);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: var(--danger-soft);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }

/* —— Survey page —— */
.page-survey .site-header { margin-bottom: 0; }

.page-survey:not(.survey-done) .main-content {
    padding-top: 0;
    padding-bottom: calc(6.5rem + var(--safe-bottom));
}

.page-survey.survey-done .main-content {
    padding-top: 0;
}

.survey-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 0.5rem;
}

.survey-intro {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
}

.survey-intro-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
}

.survey-intro h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.4rem, 4.5vw, 1.65rem);
    letter-spacing: -0.03em;
}

.survey-intro-lead {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
}

.survey-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--danger-soft);
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.9rem;
}

.survey-alert p { margin: 0; }
.survey-alert p + p { margin-top: 0.35rem; }

.survey-sheet {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.survey-section {
    padding: 1.15rem 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.survey-section:last-child { border-bottom: none; }

.survey-section-title {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.survey-q-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.survey-field-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-field { display: block; }

.input-field--flush { margin: 0; }

.input-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.input-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.survey-form .input-control,
.form-stack input,
.form-stack select,
.inline-form input[type="text"] {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--text);
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.survey-form .input-control::placeholder {
    color: #94a3b8;
}

.survey-form .input-control:hover {
    border-color: #94a3b8;
}

.survey-form .input-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.survey-form .input-control--textarea {
    min-height: 6.5rem;
    resize: vertical;
    padding-top: 0.85rem;
}

/* Rating pills */
.rating-group {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}

.rating-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 3.75rem;
    padding: 0.45rem 0.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.rating-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.rating-pill-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    pointer-events: none;
}

.rating-pill-label {
    font-size: 0.58rem;
    line-height: 1.15;
    color: var(--muted);
    pointer-events: none;
}

.rating-pill:has(input:checked),
.rating-pill:has(input:focus-visible) {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.rating-pill:active { transform: scale(0.97); }

/* Yes / No */
.yesno-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.yesno-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.yesno-pill span { pointer-events: none; }

.yesno-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.yesno-pill:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.no-sale-reasons {
    margin-top: 0.85rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.no-sale-reasons-title {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.no-sale-reasons-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
}

.reason-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.reason-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.reason-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.reason-chip span {
    display: block;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--muted);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    pointer-events: none;
}

.reason-chip:has(input:checked) span {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-weight: 500;
}

.reasons-cell {
    max-width: 12rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.35;
}

.survey-section--kvkk {
    background: #f8fafc;
    padding: 1rem 1.15rem;
}

.kvkk-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
}

.kvkk-consent input {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.kvkk-consent-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}

.kvkk-consent a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.kvkk-consent a:hover { text-decoration: underline; }

.survey-submit-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.65rem 0 calc(0.65rem + var(--safe-bottom));
    background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.survey-submit-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
    pointer-events: auto;
}

.survey-submit-bar .btn-submit {
    width: 100%;
    min-height: 3rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

.survey-done-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
}

.survey-done-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 3.25rem;
}

.survey-done-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.survey-done-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 380px) {
    .rating-pill-label { display: none; }
    .rating-pill { min-height: 3.25rem; }
}

/* —— Profile —— */
.profile-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 600px) {
    .profile-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.link-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.link-box label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.copy-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .copy-row { flex-direction: row; }
}

.copy-row input {
    flex: 1;
    padding: 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    min-width: 0;
}

.link-code {
    font-size: 0.75rem;
    word-break: break-all;
}

.req { color: var(--danger); }

.auth-box {
    max-width: 400px;
    margin: 1.5rem auto;
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-stack label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hint { font-size: 0.85rem; color: var(--muted); }

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.inline-form input[type="text"] {
    flex: 1;
    min-width: 0;
}

.actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.empty { color: var(--muted); text-align: center; padding: 1rem; }

/* Page hero for index */
.page-hero {
    margin-bottom: 1.25rem;
}

.page-hero .lead { margin-bottom: 0; }

/* —— Cookie (minimal, sol alt) —— */
.cookie-banner[hidden],
.cookie-fab[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    z-index: 90;
    left: max(0.55rem, env(safe-area-inset-left, 0px));
    bottom: calc(0.75rem + var(--safe-bottom));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: min(20rem, calc(100vw - 3.5rem));
    padding: 0.45rem 0.5rem 0.45rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.55);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-survey:not(.survey-done) .cookie-banner {
    bottom: calc(5rem + var(--safe-bottom));
}

.cookie-banner-line {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 0.7rem;
    line-height: 1.35;
    color: #94a3b8;
}

.cookie-banner-line a {
    color: #94a3b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-line a:hover {
    color: #64748b;
}

.cookie-btn-ok {
    flex-shrink: 0;
    border: none;
    border-radius: 7px;
    padding: 0.28rem 0.55rem;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: rgba(241, 245, 249, 0.85);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cookie-btn-ok:hover {
    background: rgba(226, 232, 240, 0.95);
    color: var(--text);
}

.cookie-fab:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-fab {
    position: fixed;
    z-index: 85;
    left: max(0.55rem, env(safe-area-inset-left, 0px));
    bottom: calc(0.75rem + var(--safe-bottom));
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.55);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.03);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, color 0.15s, background 0.15s;
}

.cookie-fab.is-visible {
    opacity: 1;
}

.cookie-fab:hover {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.85);
}

.page-survey:not(.survey-done) .cookie-fab {
    bottom: calc(5rem + var(--safe-bottom));
}

.cookie-fab-icon {
    display: block;
}
