@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent-cyan: #22d3ee;
    --bg-dark: #0f172a;
    --bg-card: #111c34;
    --bg-soft: #1e293b;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border: #2c3c56;
    --accent-red: #ef4444;
    --accent-green: #22c55e;
    --container: 1380px;
    /* Üst bar, ana içerik ve footer aynı yatay hizada */
    --layout-inline: 2.5rem;
    /* Kart / yüzey — organik-asimetrik köşeler */
    --radius-card-tl: 6px;
    --radius-card-tr: 26px;
    --radius-card-br: 10px;
    --radius-card-bl: 22px;
    /* Butonlar — ana sayfa kutularıyla uyumlu asimetrik köşe */
    --btn-radius: 6px 18px 8px 16px;
    /* Ana sayfa başlıklar — ağırlık pastel sarı, hafif amber / şeftali turuncu */
    --heading-gradient-hero: linear-gradient(
        120deg,
        #fffbeb 0%,
        #fef9c3 14%,
        #fef08a 32%,
        #fde047 50%,
        #fcd34d 66%,
        #fde68a 82%,
        #ffedd5 100%
    );
    --heading-gradient-step: linear-gradient(
        103deg,
        #ffffff 0%,
        #fffbeb 10%,
        #fef3c7 28%,
        #fde68a 48%,
        #fcd34d 68%,
        #fbbf24 85%,
        #fdba74 100%
    );
    --heading-gradient-section: linear-gradient(
        94deg,
        #fef9c3 0%,
        #fef08a 30%,
        #fde047 58%,
        #facc15 78%,
        #fbbf24 100%
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scrollbar-gutter: stable;
    color-scheme: dark;
}

body {
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 40%);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Paylaşılan tarif (view.php): navbar/footer kapalı — içerik önde */
body.bircep-minimal-chrome.page-view-recipe main.container {
    padding-top: 1.35rem;
    padding-bottom: 2.75rem;
}

.view-keyboard-hint {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.view-kbd {
    display: inline-block;
    padding: 0.1em 0.4em;
    font-size: 0.88em;
    font-family: ui-monospace, monospace;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.22);
}

/* KVKK metin sayfası */
.legal-page {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
}

.legal-page__card {
    padding: 1.5rem 1.35rem 2rem;
}

.legal-page__title {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.legal-page__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.legal-page__body h2 {
    font-size: 1.05rem;
    margin: 1.35rem 0 0.5rem;
    color: var(--text-white);
}

.legal-page__body ul {
    margin: 0.4rem 0 0.75rem 1.1rem;
    padding: 0;
}

.legal-page__body li {
    margin-bottom: 0.35rem;
}

.legal-page__notice {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.legal-page__back {
    margin-top: 1.5rem;
    text-align: center;
}

/* Kayıt: KVKK onay kutusu */
.kvkk-consent-wrap {
    margin-top: 0.25rem;
}

.kvkk-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.kvkk-consent-label input[type='checkbox'] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
}

.kvkk-consent-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a {
    color: inherit;
}

p {
    color: var(--text-muted);
    line-height: 1.65;
}

.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.video-bg-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
}

.video-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.92));
    pointer-events: none;
}

/* Flex column + stretch: <main> tam genişlikte kalınca içerik sola, navbar şeridi ortada kalıyordu. */
.container {
    width: min(var(--container), calc(100% - var(--layout-inline)));
    max-width: calc(100% - var(--layout-inline));
    margin: 0 auto;
    padding: 1.6rem 0 2.5rem;
    flex: 1;
    align-self: center;
    box-sizing: border-box;
}

.glass,
.card {
    position: relative;
    background:
        linear-gradient(155deg, rgba(45, 55, 85, 0.35) 0%, transparent 42%),
        linear-gradient(210deg, rgba(15, 23, 42, 0.25) 0%, transparent 50%),
        rgba(12, 20, 40, 0.82);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: var(--radius-card-tl) var(--radius-card-tr) var(--radius-card-br)
        var(--radius-card-bl);
    backdrop-filter: blur(14px) saturate(1.15);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 22px 48px -18px rgba(2, 6, 23, 0.75),
        0 0 0 1px rgba(2, 6, 23, 0.35);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        120% 80% at 100% 0%,
        rgba(99, 102, 241, 0.14) 0%,
        transparent 55%
    );
    pointer-events: none;
}

/* Sol kenar: imza renk bandı */
.card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(
        180deg,
        var(--accent-cyan) 0%,
        var(--primary) 45%,
        var(--secondary) 100%
    );
    opacity: 0.9;
    pointer-events: none;
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.card {
    padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 6px);
}

/* Ana sayfa hero — dönen renkli çerçeve (conic-gradient) */
.card-hero-video-shell {
    position: relative;
    padding: 3px;
    border-radius: var(--radius-card-tl) var(--radius-card-tr) var(--radius-card-br) var(--radius-card-bl);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 22px 48px -18px rgba(2, 6, 23, 0.75);
}

/* Kare, merkezden dönen katman — inherit border-radius yok (dönüşte bozulmayı önler) */
.card-hero-video-shell::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    /* Dönen karenin köşeleri dışarı taşmasın diye geniş/yüksek oranına göre yeterli boy */
    width: max(220%, 40rem);
    aspect-ratio: 1;
    height: auto;
    border-radius: 0;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    backface-visibility: hidden;
    background: conic-gradient(
        from 0deg,
        #fde047,
        #fb923c,
        #fb7185,
        #e879f9,
        #818cf8,
        #22d3ee,
        #34d399,
        #fbbf24,
        #fde047
    );
    animation: bircep-hero-border-spin 5.5s linear infinite;
}

.card-hero-video-shell > .card.card-hero-video {
    position: relative;
    z-index: 1;
    border: none;
    border-radius: calc(var(--radius-card-tl) - 3px) calc(var(--radius-card-tr) - 3px) calc(var(--radius-card-br) - 3px)
        calc(var(--radius-card-bl) - 3px);
    box-shadow: none;
}

@keyframes bircep-hero-border-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-hero-video-shell::before {
        animation: none;
        transform: translate(-50%, -50%);
    }
}

/* Ana sayfa hero — assets/bg/bg2.mp4 */
.card.card-hero-video {
    display: flex;
    align-items: stretch;
    padding: 0;
    isolation: isolate;
    background: #0f172a;
    min-height: clamp(300px, 48vh, 560px);
    backdrop-filter: none;
}

.card.card-hero-video::before,
.card.card-hero-video::after {
    display: none;
}

.card-hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.card-hero-video__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-hero-video__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.8) 42%, rgba(15, 23, 42, 0.92) 100%),
        linear-gradient(125deg, rgba(49, 46, 129, 0.52) 0%, transparent 55%);
}

.card-hero-video__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.card-hero-video__content .page-title {
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    background: var(--heading-gradient-hero);
    background-size: 120% 120%;
    background-position: 30% 40%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 24px rgba(253, 224, 71, 0.42))
        drop-shadow(0 0 38px rgba(251, 191, 36, 0.3))
        drop-shadow(0 4px 20px rgba(2, 6, 23, 0.72));
}

.card-hero-video__content p {
    color: rgba(226, 232, 240, 0.9);
}

@media (prefers-reduced-motion: reduce) {
    .card-hero-video__media video {
        display: none;
    }
}

/* Ana sayfa — görsel arka planlı adım kartları: dış kabuk yuvarlak + overflow; sol şerit kabukta (.card::after yerine) */
.bircep-feature-card-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card-tl) var(--radius-card-tr) var(--radius-card-br) var(--radius-card-bl);
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 22px 48px -18px rgba(2, 6, 23, 0.75);
    isolation: isolate;
    contain: paint;
    min-height: 220px;
}

/* Sol kenar: pastel sarı → amber → turuncu (başlıklarla uyumlu) */
.bircep-feature-card-shell::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(
        180deg,
        #fde047 0%,
        #fbbf24 45%,
        #fb923c 100%
    );
    opacity: 0.95;
    pointer-events: none;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.45);
    z-index: 2;
}

.card.bircep-feature-card--getir,
.card.bircep-feature-card--isle,
.card.bircep-feature-card--paylas {
    position: relative;
    flex: 1;
    min-height: 220px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: translateZ(0);
}

.card.bircep-feature-card--getir::before,
.card.bircep-feature-card--getir::after,
.card.bircep-feature-card--isle::before,
.card.bircep-feature-card--isle::after,
.card.bircep-feature-card--paylas::before,
.card.bircep-feature-card--paylas::after {
    display: none !important;
}

.bircep-feature-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0f172a;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bircep-feature-card--getir .bircep-feature-card__bg {
    background-image: url('../bg/1kutu.webp');
}

.bircep-feature-card--isle .bircep-feature-card__bg {
    background-image: url('../bg/2kutu.webp');
}

.bircep-feature-card--paylas .bircep-feature-card__bg {
    background-image: url('../bg/3kutu.webp');
}

.bircep-feature-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-color: rgba(15, 23, 42, 0.78);
    background-image:
        linear-gradient(155deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.58) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.12) 55%);
}

.bircep-feature-card__inner {
    position: relative;
    z-index: 3;
    padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 6px);
}

.bircep-feature-card--getir h3,
.bircep-feature-card--isle h3,
.bircep-feature-card--paylas h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    background: var(--heading-gradient-step);
    background-size: 115% 115%;
    background-position: 12% 45%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 16px rgba(253, 224, 71, 0.35))
        drop-shadow(0 0 22px rgba(251, 191, 36, 0.22))
        drop-shadow(0 2px 12px rgba(2, 6, 23, 0.62));
}

.bircep-feature-card--getir p,
.bircep-feature-card--isle p,
.bircep-feature-card--paylas p {
    color: rgba(226, 232, 240, 0.92);
}

.bircep-feature-card--getir strong,
.bircep-feature-card--isle strong,
.bircep-feature-card--paylas strong {
    color: #e2e8f0;
}

/* Ana sayfa — “Neden Bircep?” bölüm başlığı */
.home-section-heading {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.25;
    margin-bottom: 0.8rem;
    background: var(--heading-gradient-section);
    background-size: 110% 110%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 18px rgba(253, 224, 71, 0.38))
        drop-shadow(0 0 26px rgba(251, 146, 60, 0.22))
        drop-shadow(0 2px 10px rgba(15, 23, 42, 0.42));
}

/* Ana sayfa — Neden Bircep? görseli: cover kırpmasın; tam görünsün */
.why-bircep-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    min-height: 200px;
    box-sizing: border-box;
}

.why-bircep-visual img {
    max-width: 100%;
    max-height: min(400px, 52vh);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-inner {
    width: min(var(--container), calc(100% - var(--layout-inline)));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.navbar-logo {
    height: 52px;
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
}

.nav-btn__icon {
    display: none;
}

.nav-btn__text {
    display: inline;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-right: 0.5rem;
    margin-right: 0.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    padding: 0 !important;
    font-size: 0.72rem !important;
    width: 34px;
    min-width: 34px;
    height: 26px;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #0b1220;
    border-color: rgba(255, 255, 255, 0.22);
}

.lang-btn.btn-outline,
.lang-btn.btn-outline:hover {
    background-color: transparent !important;
}

.lang-btn > span {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.64rem;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.85),
        0 0 6px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.65);
}

.lang-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.42), rgba(4, 8, 18, 0.72));
    z-index: 1;
}

.lang-btn--tr {
    background-image: url("../bg/flags/tr.webp") !important;
}

.lang-btn--en {
    background-image: url("../bg/flags/us.webp") !important;
}

@media (max-width: 640px) {
    .navbar-inner {
        gap: 0.28rem;
        flex-wrap: nowrap;
    }

    .navbar-logo {
        height: 30px;
        max-width: min(32vw, 7.2rem);
        width: auto;
        object-fit: contain;
    }

    .nav-links {
        gap: 0.22rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        min-width: 0;
    }

    .lang-switcher {
        gap: 0.18rem;
        padding-right: 0.18rem;
        margin-right: 0;
        border-right: none;
        flex-shrink: 0;
    }

    .lang-btn {
        width: 24px;
        min-width: 24px;
        height: 19px;
        padding: 0 !important;
        font-size: 0.56rem !important;
    }

    .lang-btn > span {
        font-size: 0.5rem;
        letter-spacing: 0.01em;
    }

    .nav-btn {
        padding: 0.42rem 0.44rem;
        min-width: 1.95rem;
        min-height: 1.95rem;
        font-size: 0.72rem;
        gap: 0;
    }

    .nav-btn__icon {
        display: inline-flex;
        font-size: 0.9rem;
    }

    .nav-btn__text {
        display: none;
    }

    @media (max-width: 400px) {
        .lang-btn span {
            display: inline !important;
            font-size: 0.48rem;
        }
        .lang-switcher {
            border-right: none;
            padding-right: 0;
        }
    }
}

.btn {
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: var(--btn-radius);
    padding: 0.56rem 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.004em;
    text-transform: none;
    cursor: pointer;
    white-space: nowrap;
    background: #1f2b42;
    color: #e2e8f0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 3px 10px rgba(2, 6, 23, 0.25);
    transition:
        transform 0.14s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease,
        color 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(176, 190, 216, 0.55);
    background: #25324c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(2, 6, 23, 0.32);
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-primary {
    color: #f8fafc;
    border-color: #5f739c;
    background: #4f638d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 8px 18px rgba(34, 45, 74, 0.36);
}

.btn-primary:hover {
    border-color: #7389b8;
    background: #5b729e;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 20px rgba(35, 47, 80, 0.42);
}

.btn-outline {
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.44);
    border-style: dashed;
    background: transparent;
    box-shadow: none;
}

.btn-outline:hover {
    border-color: rgba(189, 201, 219, 0.68);
    border-style: dashed;
    background: rgba(30, 41, 59, 0.2);
    color: #e2e8f0;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.24);
}

.btn[style*="background: transparent"],
.btn[style*="background:transparent"] {
    border-style: dashed;
}

.btn-danger {
    color: #fff;
    border-color: #b43a3a;
    background: #c13d3d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px rgba(127, 29, 29, 0.4);
}

.btn-danger:hover {
    border-color: #cc4b4b;
    background: #ce4646;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 20px rgba(127, 29, 29, 0.46);
}

.page-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.page-center {
    min-height: calc(100vh - 190px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.form-input,
textarea.form-input {
    width: 100%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 4px 16px 4px 16px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.88) 100%);
    color: var(--text-white);
    padding: 0.82rem 0.95rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-input:focus,
textarea.form-input:focus {
    border-color: var(--primary);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(15, 23, 42, 0.98);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.6rem;
    cursor: pointer;
}

select.form-input option,
select.form-input optgroup {
    background-color: #1e293b;
    color: #f8fafc;
}

input[type="date"].form-input {
    color-scheme: dark;
}

/* Üye ol — geniş yatay form */
.register-card {
    width: 100%;
    max-width: 920px;
    margin-inline: auto;
}

.register-card__title {
    text-align: center;
    margin-bottom: 1.25rem;
}

.register-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.35rem;
    align-items: start;
}

.register-form__grid .form-group {
    margin-bottom: 0;
}

.register-form__full {
    grid-column: 1 / -1;
}

.register-form__actions {
    margin-top: 0.35rem;
}

.register-card__footer {
    margin-top: 1.25rem;
    text-align: center;
}

@media (max-width: 720px) {
    .register-form__grid {
        grid-template-columns: 1fr;
    }
}

.auth-oauth {
    margin-bottom: 0.15rem;
}

.btn-google {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: 0.004em;
    font-weight: 600;
    border-radius: var(--btn-radius);
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(2, 6, 23, 0.14);
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #c4ccd6;
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.2);
    color: #020617;
}

.btn-google__icon {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 1.15rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.28);
}

.auth-divider span {
    white-space: nowrap;
}

.form-group.turnstile-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 4.25rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.turnstile-wrap .cf-turnstile {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

form:has(.cf-turnstile) .js-turnstile-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Grid içinde tam satır (üye ol vb.) */
.register-form__full .turnstile-wrap {
    max-width: 100%;
}

.alert {
    border-radius: 4px 16px 4px 16px;
    padding: 0.8rem 1rem;
    font-size: 0.94rem;
    margin-bottom: 1rem;
}

.alert-error {
    color: #fecaca;
    border: 1px solid #b91c1c;
    background: rgba(185, 28, 28, 0.18);
}

.alert-success {
    color: #bbf7d0;
    border: 1px solid #15803d;
    background: rgba(21, 128, 61, 0.18);
}

.footer-premium {
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding-top: 1.5rem;
    background: rgba(10, 16, 31, 0.45);
}

.footer-content {
    width: min(var(--container), calc(100% - var(--layout-inline)));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding-bottom: 1rem;
}

.footer-logo {
    height: 34px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(var(--container), calc(100% - var(--layout-inline)));
    margin: 0 auto 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding-top: 0.8rem;
    font-size: 0.85rem;
    text-align: center;
}

.grid {
    display: grid;
    gap: 1rem;
}

.step-miniature {
    width: 140px;
    height: 90px;
    border-radius: 4px 14px 4px 14px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.35);
}

.step-miniature.active {
    border-color: var(--accent-cyan);
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.35),
        0 4px 16px rgba(99, 102, 241, 0.25);
}

.dashboard-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-items: start;
    align-content: start;
}

.recipe-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.92rem;
}

.recipe-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px 20px 5px 16px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: rgba(8, 14, 28, 0.65);
    box-shadow: 0 8px 24px -8px rgba(2, 6, 23, 0.8);
}

.recipe-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recipe-thumb-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d92b6;
    font-size: 1.35rem;
}

.storage-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
    margin-top: 0.55rem;
}

.storage-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5d6b94, #7d94c4 58%, #4db896);
    transition: width 0.3s ease;
}

.recipe-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.recipe-title {
    font-size: 0.95rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    word-break: break-word;
}

.recipe-meta {
    font-size: 0.79rem;
}

.recipe-meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.recipe-card-meta-block {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.recipe-card-meta-block .recipe-meta {
    margin: 0;
}

.recipe-meta--thanks {
    color: var(--text-white);
    font-weight: 500;
}

.recipe-meta--stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    color: var(--text-white);
    font-weight: 500;
}

.recipe-meta--stats .recipe-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.recipe-badge {
    border: 1px dashed rgba(129, 140, 248, 0.4);
    border-radius: 3px 12px 3px 12px;
    padding: 0.24rem 0.56rem;
    font-size: 0.72rem;
    color: #c9d7ee;
    background: rgba(15, 23, 42, 0.65);
    white-space: nowrap;
}

.recipe-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.42rem;
    margin-top: 0.35rem;
}

@media (max-width: 340px) {
    .recipe-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

.recipe-actions .btn,
.recipe-actions form {
    width: 100%;
}

.recipe-actions .btn {
    min-height: 32px;
    width: 100%;
    text-align: center;
    font-size: 0.68rem;
    padding: 0.38rem 0.38rem;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 9px;
}

.icon-btn {
    padding: 0;
    min-width: 36px;
}

.icon-btn i {
    font-size: 0.92rem;
}

/* Keşfet / profil — halka açık rehber kartı: Rehberi Gör + Paylaş */
.recipe-card-public__actions {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.recipe-card-public__actions .recipe-card-public__view {
    flex: 1;
    min-width: 0;
    width: auto !important;
}

.recipe-card-public__actions .recipe-share-btn--compact {
    flex-shrink: 0;
    align-self: stretch;
    padding: 0.42rem 0.55rem;
    min-width: 2.4rem;
    min-height: 2.44rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.recipe-card-public__actions .recipe-share-btn--compact i {
    font-size: 0.88rem;
}

.creator-toolbar {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.creator-toolbar--minimal {
    align-items: flex-start;
    min-height: 44px;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.creator-toolbar-options {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.35rem 1rem;
    flex: 0 1 auto;
    min-width: 0;
}

.creator-toolbar-options__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    flex: 0 0 auto;
    min-width: 0;
}

.creator-opt-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
    font-weight: normal;
    font-size: 0.84rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.25;
}

/* Tuval: üstte fazla boşluk kalmasın dikeyde hafif aşağı, yatayda ortalı */
#canvasStage.creator-canvas-stage {
    min-height: 360px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    border-style: dashed;
    overflow: hidden;
    background: #000;
    padding-top: clamp(1rem, 3.2vh, 2.1rem);
    padding-bottom: 0.85rem;
}

.creator-stage-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 80;
}

.creator-step-controls {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.creator-panel {
    position: relative;
    z-index: 60;
    width: 132px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 12px;
    background: rgba(10, 18, 36, 0.82);
    backdrop-filter: blur(10px) saturate(1.1);
    box-shadow:
        0 10px 28px rgba(2, 6, 23, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: visible;
    padding: 0.28rem;
}

.creator-panel--stage {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
}

.creator-panel__section {
    position: relative;
    border-top: none;
    margin-bottom: 0.3rem;
}

.creator-panel__section:last-child {
    margin-bottom: 0;
}

.creator-panel__summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1.05rem 1fr 0.9rem;
    align-items: center;
    column-gap: 0.38rem;
    padding: 0.56rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.92);
    letter-spacing: 0.01em;
    user-select: none;
}

.creator-panel__label-icon {
    display: inline-flex;
    width: 1.05rem;
    justify-content: center;
    visibility: visible;
    opacity: 0.92;
}

.creator-panel__label-text {
    display: inline;
    grid-column: 2;
}

.creator-panel__summary::-webkit-details-marker {
    display: none;
}

.creator-panel__summary i {
    opacity: 0.75;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.creator-panel__summary > i:last-child {
    grid-column: 3;
    justify-self: end; /* chevron her satırda aynı hizaya */
}

.creator-panel__section[open] .creator-panel__summary > i:last-child {
    transform: rotate(180deg);
    opacity: 0.92;
}

.creator-panel__content {
    position: absolute;
    left: calc(100% + 0.45rem);
    top: 0.35rem;
    width: fit-content;
    min-width: 0;
    max-width: min(520px, calc(100vw - 2.4rem));
    padding: 0.2rem 0.3rem;
    min-height: 28px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    background: rgba(10, 18, 36, 0.94);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
    overflow-x: auto;
    overflow-y: hidden;
    transform-origin: left top;
    animation: creatorContentFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes creatorContentFadeIn {
    from {
        opacity: 0;
        transform: translateX(-6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.creator-drawing-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
}

.creator-pencil-width {
    width: 100%;
    max-width: min(220px, 42vw);
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.22s ease, max-height 0.22s cubic-bezier(0.16, 1, 0.3, 1), padding 0.22s ease, margin 0.22s ease;
    margin: 0;
}

.creator-pencil-width.is-visible {
    opacity: 1;
    max-height: 52px;
    padding: 0 0.05rem 0.1rem;
    margin-top: 0.45rem;
}

.creator-pencil-width__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: var(--text-muted, rgba(226, 232, 240, 0.85));
    margin-bottom: 0.15rem;
    width: 100%;
}

.creator-pencil-width__output {
    font-variant-numeric: tabular-nums;
    color: #e2e8f0;
}

.creator-pencil-width__range {
    width: 100%;
    height: 6px;
    accent-color: #6366f1;
    cursor: pointer;
}

.creator-panel .creator-tools-group {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.creator-panel .creator-group-title {
    display: none;
}

.creator-panel .creator-tool-btn,
.creator-panel .creator-color-label {
    min-height: 26px;
    min-width: unset;
    padding: 0.18rem 0.28rem;
    font-size: 0.7rem;
    border-radius: 9px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

/* Smooth zoom-in when appearing (dynamic display transitions) */
.creator-panel .creator-color-label[style*="inline-flex"],
.creator-panel .creator-tool-btn[style*="inline-flex"] {
    animation: creatorBtnFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes creatorBtnFadeIn {
    from {
        opacity: 0;
        transform: scale(0.93);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.creator-panel .creator-tool-btn span,
.creator-panel .creator-color-label span {
    display: none;
}

.creator-panel .creator-tool-btn i {
    font-size: 0.8rem;
}

.creator-panel .creator-color-label input[type="color"] {
    width: 22px;
    height: 14px;
}

.creator-panel .creator-color-label input[type="number"] {
    height: 18px !important;
    width: 44px !important;
    padding: 0 3px !important;
    border-radius: 7px !important;
    font-size: 0.74rem !important;
    line-height: 1 !important;
}

.creator-panel .creator-color-group {
    align-items: center;
}

.creator-panel .creator-color-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 640px) {
    .creator-toolbar--minimal {
        flex-direction: column;
        align-items: stretch;
    }

    .creator-toolbar-options {
        width: 100%;
        flex: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.35rem 0.85rem;
    }

    .creator-toolbar-options__col {
        flex: 0 1 calc(50% - 0.5rem);
        min-width: 0;
    }

    .creator-step-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .creator-panel {
        width: 64px;
    }

    .creator-panel__summary {
        padding: 0.5rem 0.55rem;
    }

    .creator-panel__label-text {
        display: none;
    }

    .creator-panel__label-icon {
        width: 0.95rem;
        visibility: visible; /* mobil: ikon görünür */
    }

    .creator-panel__summary {
        grid-template-columns: 0.95rem 0.9rem;
        column-gap: 0.24rem;
    }

    .creator-panel__summary > i:last-child {
        grid-column: 2;
        justify-self: end;
    }

    .creator-stage-actions {
        top: 0.55rem;
        right: 0.55rem;
        z-index: 90;
    }

    .creator-fullscreen-btn {
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
        justify-content: center;
    }

    .creator-fullscreen-btn__text {
        display: none;
    }

    .creator-panel__content {
        width: fit-content;
        min-width: 0;
        /* sağ üstteki tam ekran butonu için alan bırak */
        max-width: min(340px, calc(100vw - 2rem - 56px));
        /* mobilde köşe "siyahlığı" etkisini azalt */
        background: rgba(10, 18, 36, 0.98);
        box-shadow: 0 8px 18px rgba(2, 6, 23, 0.35);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .recipe-meta-inline {
        display: block;
        white-space: normal;
    }

    .recipe-meta-sep {
        display: none;
    }
}

.creator-tools-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px dashed rgba(99, 102, 241, 0.28);
    border-radius: var(--btn-radius);
    background:
        linear-gradient(145deg, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        rgba(8, 14, 28, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.creator-group-title {
    font-size: 0.72rem;
    color: #9fb2d6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0.25rem 0 0.2rem;
    white-space: nowrap;
}

.creator-tool-btn {
    min-height: 40px;
    min-width: 82px;
    border-radius: 3px 14px 3px 14px;
    font-size: 0.78rem;
    padding: 0.5rem 0.6rem;
    text-transform: none;
    letter-spacing: 0;
    gap: 0.35rem;
}

.creator-tool-btn i {
    font-size: 0.84rem;
}

.creator-tool-btn.is-active-tool {
    border-color: #8ea8d8;
    background: rgba(69, 95, 145, 0.45);
    box-shadow: 0 0 0 1px rgba(142, 168, 216, 0.25) inset;
}

.creator-tool-btn.is-active-option {
    border-color: #8ea8d8;
    background: rgba(79, 70, 229, 0.4);
}

.creator-color-group {
    margin-left: auto;
}

.creator-color-label {
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
}

.creator-color-label input[type="color"] {
    width: 40px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
}

body.page-create.creator-fullscreen .navbar,
body.page-create.creator-fullscreen .footer-premium,
body.page-create.creator-fullscreen .creator-topbar,
body.page-create.creator-fullscreen .creator-meta {
    display: none !important;
}

body.page-create.creator-fullscreen .creator-shell {
    width: min(1680px, calc(100% - 1rem));
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Yükseklik creator.js + kullanıcı kaydırıcısı ile ayarlanır */
body.page-create.creator-fullscreen #canvasStage {
    min-height: unset;
}

.creator-exit-fab {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 3000;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    padding: 0.5rem 0.7rem;
}

body.page-create.creator-fullscreen .creator-exit-fab {
    display: inline-flex;
}

body.modal-open {
    overflow: hidden;
}

.app-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 1rem;
}

.app-modal-backdrop.is-open {
    display: flex;
}

.app-modal {
    position: relative;
    width: min(460px, 100%);
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-card-tl) var(--radius-card-tr) var(--radius-card-br)
        var(--radius-card-bl);
    background:
        linear-gradient(155deg, rgba(45, 55, 85, 0.3) 0%, transparent 42%),
        rgba(10, 18, 36, 0.97);
    padding: 1rem 1rem 1rem calc(1rem + 6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 28px 56px -20px rgba(2, 6, 23, 0.85);
}

.app-modal::after {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(
        180deg,
        var(--accent-cyan) 0%,
        var(--primary) 50%,
        var(--secondary) 100%
    );
    pointer-events: none;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
}

.app-modal-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.app-modal-message {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.app-modal-input-wrap {
    margin-bottom: 0.8rem;
}

.app-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
}

.app-modal.app-modal--account-delete {
    width: min(520px, 100%);
    max-height: min(90vh, 720px);
    overflow-y: auto;
}

.account-delete-open-link {
    background: none;
    border: none;
    padding: 0.15rem 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: inherit;
}

.account-delete-open-link:hover,
.account-delete-open-link:focus-visible {
    color: var(--danger);
    outline: none;
}

.account-password-open-link {
    background: none;
    border: none;
    padding: 0.15rem 0;
    font-size: 0.78rem;
    color: rgba(94, 234, 212, 0.92);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: inherit;
}

.account-password-open-link:hover,
.account-password-open-link:focus-visible {
    color: #99f6e4;
    outline: none;
}

.account-password-modal-feedback {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
}

.account-delete-modal-close {
    flex-shrink: 0;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-sheet-note {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.share-sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.share-sheet-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8rem;
    padding: 0.45rem 0.5rem;
}

.share-sheet-link {
    text-decoration: none;
}

.share-sheet-url {
    margin: 0;
    font-size: 0.72rem;
    word-break: break-all;
}

.share-sheet-url code {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(99, 102, 241, 0.12);
    color: var(--text-muted);
}

@media (max-width: 900px) {
    :root {
        --layout-inline: 1.4rem;
    }

    .container {
        padding-top: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0.6rem;
    }

    .grid[style*="grid-template-columns:2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .creator-toolbar {
        align-items: stretch;
    }

    .creator-color-group {
        margin-left: 0;
    }

    .creator-tools-group {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .creator-tool-btn {
        min-width: 78px;
        min-height: 36px;
        font-size: 0.74rem;
        padding: 0.42rem 0.5rem;
    }

    .creator-group-title {
        position: sticky;
        left: 0;
        background: rgba(10, 18, 36, 0.95);
        padding-right: 0.4rem;
        z-index: 1;
    }

    /* Mobil: sabit 58vh kaldırıldı; kaydırıcı ile uyumlu */
}

.creator-quota-hint {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.65rem;
    border-radius: 3px 12px 3px 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.creator-quota-hint strong {
    color: var(--text-white);
    font-weight: 600;
}

.creator-canvas-height {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    margin: 0.35rem 0 0.65rem;
    padding: 0.45rem 0.55rem;
    border-radius: 3px 12px 3px 12px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.creator-canvas-height__label {
    margin: 0;
    font-size: 0.82rem;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.creator-canvas-height__range {
    flex: 1 1 140px;
    min-width: 120px;
    max-width: min(420px, 100%);
    accent-color: var(--primary);
}

.creator-canvas-height__output {
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-white);
    min-width: 2.75rem;
}

.creator-canvas-height__hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-basis: 100%;
    margin-left: 0;
}

@media (min-width: 640px) {
    .creator-canvas-height__hint {
        flex-basis: auto;
        margin-left: auto;
    }
}

.btn:focus-visible {
    outline: 2px solid rgba(140, 185, 230, 0.85);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .btn::before {
        transition-duration: 0.01ms !important;
    }

    .btn:hover::before {
        transform: none;
        opacity: 0;
    }
}

/* Keyboard Shortcuts Modal Styling */
.shortcuts-modal {
    position: absolute;
    right: 0.75rem;
    top: 3.2rem;
    z-index: 100;
    width: 280px;
    background: rgba(10, 18, 36, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.24);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.6);
    animation: creatorContentFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shortcuts-modal__content {
    padding: 0.85rem;
}

.shortcuts-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.45rem;
    margin-bottom: 0.6rem;
}

.shortcuts-modal__header h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shortcuts-modal__close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
    transition: color 0.15s ease;
}

.shortcuts-modal__close:hover {
    color: #ef4444;
}

.shortcuts-modal__body {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    max-height: 290px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.shortcuts-modal__body::-webkit-scrollbar {
    width: 4px;
}
.shortcuts-modal__body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.shortcut-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
}

.shortcut-key {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.08rem 0.32rem;
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6366f1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.shortcut-desc {
    color: rgba(248, 250, 252, 0.8);
}

.shortcuts-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.35rem 0;
}
