/* =========================================================
   Yeni musteri ekrani temalari: hardal, lounge ve siyah.
   Gorunum katmani tema_yeni.js tarafindan kurulur; body'ye
   .ty ve .ty-hardal / .ty-lounge / .ty-siyah sinifi eklenir. Bu dosya
   yalniz o siniflar varken etkilidir, diger temalara dokunmaz.
   ========================================================= */

/* ---------- Tokenlar ---------- */
body.ty-hardal {
    --ty-zemin: #FAF9F6;
    --ty-yuzey: #FFFFFF;
    --ty-yuzey2: #EFEAE3;
    --ty-murekkep: #1A1714;
    --ty-soluk: #6B645C;
    --ty-cizgi: #E8E4DD;
    --ty-cizgi2: #DDD7CE;
    --ty-vurgu: #F2B705;
    --ty-vurgu-ust: #1A1714;
    --ty-baslik: 'Archivo', 'Arial Narrow', sans-serif;
    --ty-govde: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

    --primary-color: #1A1714;
    --primary-hover: #000000;
}

body.ty-lounge {
    --ty-zemin: #13110F;
    --ty-yuzey: #1D1A17;
    --ty-yuzey2: #2A2622;
    --ty-murekkep: #F4EEE6;
    --ty-soluk: #ADA397;
    --ty-cizgi: #34302B;
    --ty-cizgi2: #45403A;
    --ty-vurgu: #FFB547;
    --ty-vurgu-ust: #1A1206;
    --ty-baslik: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --ty-govde: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

    --primary-color: #FFB547;
    --primary-hover: #FFC56B;
    --text-dark: #F4EEE6;
    --text-medium: #ADA397;
    --text-light: #ADA397;
    --text-muted: #ADA397;
    --bg-white: #1D1A17;
    --bg-body: #13110F;
    --card-bg: #1D1A17;
    --border-color: #34302B;
    color-scheme: dark;
}

body.ty {
    --m-canvas: var(--ty-zemin);
    --m-surface: var(--ty-yuzey);
    --m-surface-2: var(--ty-yuzey2);
    --m-ink: var(--ty-murekkep);
    --m-ink-soft: var(--ty-soluk);
    --m-ink-faint: var(--ty-soluk);
    --m-text: var(--ty-murekkep);
    --m-muted: var(--ty-soluk);
    --m-line: var(--ty-cizgi);
    --m-radius: 16px;
    --m-radius-sm: 14px;
    --m-accent-soft: var(--ty-yuzey2);
    --m-shadow-sm: none;

    background: var(--ty-zemin);
    color: var(--ty-murekkep);
    font-family: var(--ty-govde);
    -webkit-font-smoothing: antialiased;
}

.ty button,
.ty input,
.ty textarea,
.ty select {
    font-family: inherit;
}

.ty [hidden] {
    display: none !important;
}

.ty button:focus-visible,
.ty a:focus-visible,
.ty input:focus-visible,
.ty .cat-tab:focus-visible {
    outline: 2px solid var(--ty-murekkep);
    outline-offset: 2px;
}

.ty-lounge button:focus-visible,
.ty-lounge a:focus-visible,
.ty-lounge input:focus-visible,
.ty-lounge .cat-tab:focus-visible {
    outline-color: var(--ty-vurgu);
}

/* Eski parcalar: kapak, alt cipler, "Tumu" sekmesi, yuzen dugmeler */
.ty .menu-header,
.ty #subcategory-chips,
.ty #category-tabs > .cat-tab:first-child,
.ty #btn-profile-floating,
.ty #btn-call-waiter,
.ty #btn-my-bill,
.ty #btn-info-floating,
.ty #btn-checkout-bottom {
    display: none !important;
}

/* ---------- Ust alan ---------- */
.ty .category-nav-wrapper {
    display: block;
    height: auto;
    padding: 0;
    background: var(--ty-zemin);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 var(--ty-cizgi);
    top: env(safe-area-inset-top, 0px);
}

.ty-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 6px;
    max-width: 760px;
    margin: 0 auto;
}

.ty-isim {
    flex: 1;
    min-width: 0;
    text-align: left;
    background: none;
    border: 0;
    padding: 0 4px;
    color: var(--ty-murekkep);
    font-family: var(--ty-baslik);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.ty-hardal .ty-isim {
    font-stretch: 70%;
}

.ty-lounge .ty-isim {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.06em;
    cursor: default;
}

.ty-ikon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: 1px solid var(--ty-cizgi2);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.ty-lounge .ty-ikon {
    background: transparent;
}

.ty .ty-geri {
    border: 0;
    background: transparent;
}

.ty-bilet {
    flex: none;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--ty-murekkep);
    color: var(--ty-zemin);
    cursor: pointer;
    position: relative;
}

.ty-bilet small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ty-bilet b {
    font-family: var(--ty-baslik);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.ty-hardal .ty-bilet {
    gap: 6px;
    padding: 0 10px;
}

.ty-hardal .ty-bilet small {
    color: var(--ty-vurgu);
    font-size: 10px;
}

.ty-hardal .ty-bilet b {
    font-size: 20px;
    font-stretch: 75%;
}

.ty-lounge .ty-bilet b {
    font-size: 24px;
    font-weight: 900;
}

/* Bilet kesik kenarlari (lounge) */
.ty-lounge .ty-bilet::before,
.ty-lounge .ty-bilet::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 5px;
    background: var(--ty-zemin);
}

.ty-lounge .ty-bilet::before { left: -5px; }
.ty-lounge .ty-bilet::after { right: -5px; }

/* Dil secici cubukta: yalniz secili dil, dokununca siradaki */
.ty .ty-dil .lang-switcher {
    position: static;
    display: flex;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    padding: 0;
}

.ty .ty-dil .lang-switcher:empty,
.ty .ty-dil .lang-switcher button:not(.active) {
    display: none;
}

.ty .ty-dil .lang-switcher button.active {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 22px;
    border: 1px solid var(--ty-cizgi2);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    font-size: 14px;
    font-weight: 600;
}

.ty-lounge .ty-dil .lang-switcher button.active {
    background: transparent;
}

/* Ana bolum sekmeleri (hardal: ustte) */
.ty #category-tabs {
    padding: 0 8px;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.ty-hardal #category-tabs .cat-tab {
    flex: 1 0 auto;
    justify-content: center;
    height: 44px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--ty-soluk);
    font-family: var(--ty-baslik);
    font-size: 15px;
    font-weight: 600;
    font-stretch: 80%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ty-hardal #category-tabs .cat-tab i {
    display: none;
}

.ty-hardal #category-tabs .cat-tab.active {
    color: var(--ty-murekkep);
    font-weight: 800;
    border-bottom-color: var(--ty-murekkep);
    background: transparent;
}

/* Alt bolum seridi */
.ty-serit {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 16px;
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--ty-cizgi);
}

.ty-serit::-webkit-scrollbar {
    display: none;
}

.ty-serit button {
    flex: none;
    height: 38px;
    padding: 0 14px;
    border-radius: 19px;
    border: 1px solid var(--ty-cizgi2);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.ty-serit button span {
    color: var(--ty-soluk);
}

.ty-serit button[aria-current="true"] {
    background: var(--ty-murekkep);
    border-color: var(--ty-murekkep);
    color: var(--ty-zemin);
    font-weight: 600;
}

.ty-serit button[aria-current="true"] span {
    color: inherit;
    opacity: 0.6;
}

.ty-lounge .ty-serit {
    gap: 4px;
    padding: 0 16px;
}

.ty-lounge .ty-serit button {
    height: 44px;
    padding: 0 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ty-soluk);
    font-weight: 600;
}

.ty-lounge .ty-serit button span {
    display: none;
}

.ty-lounge .ty-serit button[aria-current="true"] {
    background: transparent;
    color: var(--ty-murekkep);
    border-bottom-color: var(--ty-vurgu);
}

/* ---------- Ana alan ---------- */
.ty .menu-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 16px 140px;
}

.ty-masa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--ty-murekkep);
    color: var(--ty-zemin);
    margin-bottom: 12px;
}

.ty-masa > span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ty-masa small {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--ty-vurgu);
}

.ty-masa b {
    font-family: var(--ty-baslik);
    font-size: 22px;
    font-weight: 800;
    font-stretch: 75%;
    line-height: 1;
}

.ty-masa > span:last-child {
    font-size: 14px;
    color: #D9D3CA;
    text-align: right;
}

.ty-ara {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 6px 0 14px;
    border-radius: 14px;
    background: var(--ty-yuzey);
    border: 1px solid var(--ty-cizgi2);
    color: var(--ty-soluk);
    cursor: text;
}

.ty-lounge .ty-ara {
    background: var(--ty-yuzey2);
    border-color: transparent;
}

.ty-ara:focus-within {
    outline: 2px solid var(--ty-murekkep);
    outline-offset: 2px;
}

.ty-lounge .ty-ara:focus-within {
    outline-color: var(--ty-vurgu);
}

.ty .ty-ara input,
.ty .ty-ara input:focus-visible {
    outline: 0;
}

.ty-ara input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ty-murekkep);
    font-size: 16px;
}

.ty-ara input::placeholder {
    color: var(--ty-soluk);
}

.ty-ara input::-webkit-search-cancel-button {
    display: none;
}

.ty-ara-sil {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--ty-soluk);
    display: grid;
    place-items: center;
    cursor: pointer;
}

/* Lounge bolum karti */
.ty-hero {
    position: relative;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ty-yuzey);
    margin-bottom: 12px;
}

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

.ty-hero-golge {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 8, 6, 0.9) 0%, rgba(10, 8, 6, 0.55) 50%, rgba(10, 8, 6, 0) 80%);
}

.ty-hero-yazi {
    position: absolute;
    left: 18px;
    right: 30%;
    bottom: 16px;
}

.ty-hero h1 {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 60px;
    font-weight: 900;
    line-height: 0.88;
    text-transform: uppercase;
    color: var(--ty-murekkep);
    overflow-wrap: anywhere;
}

.ty-hero p {
    margin: 8px 0 0;
    color: var(--ty-soluk);
    font-size: 14px;
}

/* Hardal acilis: "Ne istersin?" */
.ty-hub {
    padding-top: 6px;
}

.ty-etiket {
    margin: 22px 0 10px;
    font-family: var(--ty-govde);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ty-soluk);
}

.ty-dunyalar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ty-dunya {
    position: relative;
    height: 158px;
    border: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ty-yuzey2);
    color: #FFFFFF;
    text-align: left;
    cursor: pointer;
}

.ty-dunya img,
.ty-dunya-bos {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ty-dunya-bos {
    background: #3A3632;
}

.ty-dunya-yazi {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 12px 10px;
    background: linear-gradient(to top, rgba(20, 16, 12, 0.88), rgba(20, 16, 12, 0));
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ty-dunya-yazi b {
    font-family: var(--ty-baslik);
    font-size: 24px;
    font-weight: 800;
    font-stretch: 70%;
    letter-spacing: 0.04em;
    line-height: 1;
    overflow-wrap: anywhere;
}

.ty-dunya-yazi small {
    font-size: 13px;
    color: #EDE7DE;
}

.ty-vitrin {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 6px;
}

.ty-vitrin::-webkit-scrollbar {
    display: none;
}

.ty-vitrin-urun {
    flex: 0 0 132px;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    color: var(--ty-murekkep);
    cursor: pointer;
}

.ty-vitrin-urun img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.ty-vitrin-urun b {
    display: block;
    margin-top: 8px;
    font-family: var(--ty-baslik);
    font-size: 15px;
    font-weight: 700;
    font-stretch: 80%;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.ty-vitrin-urun small {
    font-size: 14px;
    color: var(--ty-soluk);
}

/* Bolum basliklari */
.ty .section-title {
    margin: 18px 0 4px;
    align-items: baseline;
}

.ty .section-title h2,
.ty-bolum h2 {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ty-murekkep);
    line-height: 1;
}

.ty-hardal .section-title h2,
.ty-hardal .ty-bolum h2 {
    font-stretch: 70%;
}

.ty-lounge .section-title h2,
.ty-lounge .ty-bolum h2 {
    font-size: 34px;
    letter-spacing: 0.02em;
}

.ty .section-title .count,
.ty-bolum span {
    font-size: 14px;
    color: var(--ty-soluk);
    white-space: nowrap;
    background: none;
    border: 0;
    padding: 0;
}

.ty-bolum {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 4px;
}

.ty-bos {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: var(--ty-soluk);
}

/* ---------- Urun kartlari: ortak ---------- */
.ty .menu-item-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.ty .menu-item-card:hover {
    transform: none;
    box-shadow: none;
}

.ty .menu-item-info h3 {
    font-family: var(--ty-baslik);
    text-transform: uppercase;
    color: var(--ty-murekkep);
    margin: 0;
    overflow-wrap: anywhere;
}

.ty .item-desc {
    color: var(--ty-soluk);
    margin: 6px 0 0;
}

.ty .item-price {
    color: var(--ty-murekkep);
    font-weight: 700;
    letter-spacing: 0;
}

.ty .btn-add {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    box-shadow: none;
    flex: none;
}

.ty-adet {
    position: absolute;
    top: 8px;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 15px;
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    font-weight: 700;
    font-size: 14px;
    display: grid;
    place-items: center;
    z-index: 11;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}

/* ---------- Hardal: liste satirlari ---------- */
.ty-hardal .menu-grid {
    display: block;
    margin-bottom: 0;
}

.ty-hardal .menu-item-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ty-cizgi);
}

.ty-hardal .menu-item-card > div:first-child {
    flex: none;
    width: 108px;
    height: 108px;
}

.ty-hardal .menu-item-img {
    width: 108px;
    height: 108px;
    margin: 0;
    border-radius: 16px;
    align-self: auto;
}

.ty-hardal .menu-item-info {
    padding: 0;
    gap: 0;
}

.ty-hardal .menu-item-info h3 {
    font-size: 18px;
    font-weight: 750;
    font-stretch: 80%;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.ty-hardal .item-desc {
    font-size: 14px;
    line-height: 1.4;
}

.ty-hardal .item-footer {
    margin-top: 10px;
}

.ty-hardal .item-price {
    font-size: 17px !important;
}

.ty-hardal .btn-add {
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    border: 1px solid var(--ty-murekkep);
}

.ty-hardal .btn-add:hover {
    background: var(--ty-murekkep);
    color: var(--ty-zemin);
}

.ty-hardal .ty-adet {
    left: auto;
    right: 8px;
}

.ty-hardal .product-badge {
    top: 6px;
    left: 6px;
    right: auto;
}

/* ---------- Lounge: 2 sutun fotograf izgarasi ---------- */
.ty-lounge .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .ty-lounge .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ty-lounge .menu-item-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ty-lounge .menu-item-card > div:first-child {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ty-yuzey);
}

.ty-lounge .menu-item-img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.ty-lounge .menu-item-card:hover .menu-item-img {
    transform: scale(1.03);
}

.ty-lounge .menu-item-info {
    padding: 10px 0 0;
    gap: 0;
}

.ty-lounge .menu-item-info h3 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.02;
}

.ty-lounge .item-desc {
    font-size: 13px;
    line-height: 1.35;
    margin-top: 4px;
}

.ty-lounge .item-footer {
    margin-top: 8px;
}

.ty-lounge .item-price {
    font-size: 15px !important;
}

.ty-lounge .btn-add {
    background: var(--ty-yuzey2);
    color: var(--ty-murekkep);
    border: 1px solid var(--ty-cizgi);
}

.ty-lounge .btn-add:hover {
    border-color: var(--ty-vurgu);
}

.ty-lounge .ty-adet {
    right: 8px;
}

.ty-lounge .product-badge {
    top: 8px;
    left: 8px;
    right: auto;
}

/* Kartlardaki satir ici acik renkli boyut cipleri koyu zeminde */
.ty-lounge .menu-item-info span[style*="#f1f5f9"] {
    background: var(--ty-yuzey2) !important;
    color: var(--ty-murekkep) !important;
    border-color: var(--ty-cizgi) !important;
}

/* ---------- Alt cubuk ---------- */
.ty .bottom-bar {
    gap: 8px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.ty-alt-eylem {
    display: contents;
}

.ty-hardal .bottom-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--ty-cizgi);
    background: var(--ty-yuzey);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

.ty-alt-eylem button,
.ty .btn-track-bottom {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--ty-cizgi2);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 12px;
}

.ty-masali .btn-track-bottom {
    display: none !important;
}

.ty .cart-preview {
    flex: 1.6 1 0;
    min-width: 0;
    white-space: nowrap;
    height: 52px;
    border-radius: 14px;
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    padding: 0 16px;
    justify-content: center;
    gap: 10px !important;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.ty .cart-preview .cart-icon {
    color: var(--ty-vurgu-ust);
    font-size: 0;
    display: flex;
}

.ty .cart-preview .cart-icon i {
    display: none;
}

.ty .cart-preview .badge {
    position: static;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: var(--ty-vurgu-ust) !important;
    color: var(--ty-vurgu);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    box-shadow: none;
    animation: none;
}

.ty .cart-preview .cart-text,
.ty .cart-preview #cart-total {
    color: var(--ty-vurgu-ust);
    font-weight: 700;
    font-size: 15px;
}

.ty .cart-preview .cart-text::before {
    content: attr(data-ty-etiket);
}

.ty-lounge .ty-alt-eylem {
    display: none;
}

.ty-lounge .bottom-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(428px, calc(100% - 32px));
    bottom: calc(68px + 10px + env(safe-area-inset-bottom, 0px));
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 16px;
}

.ty-lounge .cart-preview {
    height: 56px;
    border-radius: 16px;
    justify-content: space-between;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ty-lounge .btn-track-bottom {
    flex: none;
    height: 56px;
    border-radius: 16px;
    background: var(--ty-yuzey);
    border-color: var(--ty-cizgi);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ---------- Lounge: ana bolumler altta dock ---------- */
.ty-lounge .menu-content {
    padding-bottom: 170px;
}

.ty-lounge #category-tabs {
    position: fixed;
    left: 50%;
    /* Kendi katmaninda: kaydirirken telefon tarayicisi cubugu yeniden cizmesin (titreme). */
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    will-change: transform;
    bottom: 0;
    width: min(760px, 100%);
    max-width: none;
    margin: 0;
    z-index: 900;
    display: flex;
    gap: 0;
    padding: 0 8px env(safe-area-inset-bottom, 0px);
    background: var(--ty-yuzey);
    border-top: 1px solid var(--ty-cizgi);
    overflow-x: auto;
}

.ty-lounge #category-tabs .cat-tab {
    flex: 1 0 76px;
    height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--ty-soluk);
    font-family: var(--ty-baslik);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

.ty-lounge #category-tabs .cat-tab i {
    font-size: 20px;
}

.ty-lounge #category-tabs .cat-tab.active {
    color: var(--ty-murekkep);
    background: transparent;
}

.ty-lounge #category-tabs .cat-tab.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28%;
    right: 28%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--ty-vurgu);
}

/* ---------- Masa paneli ---------- */
.ty-perde {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ty-sayfa {
    width: min(460px, 100%);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    border-radius: 22px 22px 0 0;
    padding: 6px 0 calc(22px + env(safe-area-inset-bottom, 0px));
    animation: ty-yukari 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ty-hardal .ty-sayfa {
    background: var(--ty-zemin);
}

@keyframes ty-yukari {
    from { transform: translateY(40px); opacity: 0.4; }
    to { transform: none; opacity: 1; }
}

.ty-sayfa-bas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 20px;
}

.ty-sayfa-bas h2 {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ty-murekkep);
}

.ty-hardal .ty-sayfa-bas h2 {
    font-weight: 800;
    font-stretch: 70%;
}

.ty-masa-eylem {
    display: grid;
    gap: 10px;
    padding: 4px 20px 0;
}

.ty-masa-eylem button {
    min-height: 60px;
    border-radius: 16px;
    border: 1px solid var(--ty-cizgi2);
    background: var(--ty-yuzey2);
    color: var(--ty-murekkep);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    text-align: left;
    cursor: pointer;
}

.ty-hardal .ty-masa-eylem button {
    background: var(--ty-yuzey);
}

.ty-masa-eylem b {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.ty-masa-eylem small {
    display: block;
    color: var(--ty-soluk);
    font-size: 13px;
}

/* ---------- Urun ve kombo detayi: alttan acilan sayfa ---------- */
.ty #lightbox,
.ty #combo-lightbox,
.ty #cart-lightbox {
    align-items: flex-end;
    padding: 0;
}

.ty #lightbox .lightbox-content,
.ty #combo-lightbox .lightbox-content,
.ty #cart-lightbox .lightbox-content {
    max-width: 460px;
    max-height: 92vh !important;
    border-radius: 22px 22px 0 0 !important;
    overflow-y: auto;
    transform: translateY(40px);
    background: var(--ty-yuzey);
}

.ty-hardal #lightbox .lightbox-content,
.ty-hardal #combo-lightbox .lightbox-content,
.ty-hardal #cart-lightbox .lightbox-content {
    background: var(--ty-zemin);
}

.ty #lightbox.open .lightbox-content,
.ty #combo-lightbox.open .lightbox-content,
.ty #cart-lightbox.open .lightbox-content {
    transform: none;
}

.ty #lightbox-img,
.ty #combo-detail-img {
    width: 100%;
    max-height: 46vh;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
}

.ty .lightbox-close {
    width: 44px;
    height: 44px;
    border: 0;
    box-shadow: none;
    background: var(--ty-zemin);
    background: color-mix(in srgb, var(--ty-zemin) 88%, transparent);
    color: var(--ty-murekkep);
}

.ty #lightbox .lightbox-details,
.ty #combo-lightbox .lightbox-details {
    text-align: left;
    align-items: stretch;
    padding: 18px 20px 22px;
}

.ty #lightbox-title,
.ty #combo-detail-title {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 36px;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ty-murekkep);
}

.ty-hardal #lightbox-title,
.ty-hardal #combo-detail-title {
    font-weight: 800;
    font-stretch: 68%;
}

.ty #lightbox-desc,
.ty #combo-detail-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ty-soluk);
    margin: 4px 0 0;
}

.ty .lightbox-price {
    color: var(--ty-murekkep);
    font-size: 22px;
}

.ty .btn-add-large {
    min-height: 56px;
    border-radius: 16px !important;
    background: var(--ty-vurgu) !important;
    color: var(--ty-vurgu-ust) !important;
    box-shadow: none;
    font-size: 16px;
}

.ty .lightbox-calorie-badge {
    background: var(--ty-yuzey2);
    color: var(--ty-murekkep);
}

.ty .size-chip {
    min-height: 44px;
}

/* ---------- Koyu tema: modallarin satir ici acik renkleri ---------- */
.ty-lounge .lightbox-content,
.ty-lounge .info-sheet {
    color: var(--ty-murekkep);
}

.ty-lounge .lightbox-content input,
.ty-lounge .lightbox-content textarea,
.ty-lounge .lightbox-content select,
.ty-lounge .mt-input {
    background: var(--ty-yuzey2) !important;
    color: var(--ty-murekkep) !important;
    border-color: var(--ty-cizgi) !important;
}

.ty-lounge .lightbox-content [style*="background: #f8fafc"],
.ty-lounge .lightbox-content [style*="background: #f1f5f9"],
.ty-lounge .lightbox-content [style*="background:#f8fafc"],
.ty-lounge .lightbox-content [style*="background: white"],
.ty-lounge .lightbox-content [style*="background: #fff"],
.ty-lounge .lightbox-content [style*="background-color: #f1f5f9"] {
    background: var(--ty-yuzey2) !important;
}

.ty-lounge .lightbox-content [style*="color: #1e293b"],
.ty-lounge .lightbox-content [style*="color: #0f172a"],
.ty-lounge .lightbox-content [style*="color: #334155"],
.ty-lounge .lightbox-content [style*="color: #475569"],
.ty-lounge .lightbox-content [style*="color:#1e293b"] {
    color: var(--ty-murekkep) !important;
}

.ty-lounge .lightbox-content [style*="color: #64748b"],
.ty-lounge .lightbox-content [style*="color: #94a3b8"] {
    color: var(--ty-soluk) !important;
}

.ty .wiz-btn-main {
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    box-shadow: none;
}

.ty-lounge .btn-checkout {
    color: var(--ty-vurgu-ust);
}

.ty-lounge #cart-items > div {
    border-bottom-color: var(--ty-cizgi) !important;
}

.ty-alt-eylem svg {
    flex: none;
}


/* =========================================================
   Siyah: siyah zemin, altin vurgu, Fraunces baslik, Geist metin.
   Kontrast (WCAG AA): yazi #F4EFE6 kartta 15,3; ikincil #B5AC9C
   kartta 7,8; altin #D4AF6A kartta 8,5; altin zeminde koyu yazi
   #14120F 9,0; kontrol cizgisi #6E6759 karta karsi 3,1.
   ========================================================= */
body.ty-siyah {
    --ty-zemin: #0E0E0D;
    --ty-yuzey: #1A1917;
    --ty-yuzey2: #24221F;
    --ty-murekkep: #F4EFE6;
    --ty-soluk: #B5AC9C;
    --ty-cizgi: #2E2B27;
    --ty-cizgi2: #6E6759;
    --ty-vurgu: #D4AF6A;
    --ty-vurgu-ust: #14120F;
    --ty-baslik: 'Fraunces', Georgia, 'Times New Roman', serif;
    --ty-govde: 'Geist', 'Helvetica Neue', Arial, sans-serif;

    --primary-color: #D4AF6A;
    --primary-hover: #E2C285;
    --text-dark: #F4EFE6;
    --text-medium: #B5AC9C;
    --text-light: #B5AC9C;
    --text-muted: #B5AC9C;
    --bg-white: #1A1917;
    --bg-body: #0E0E0D;
    --card-bg: #1A1917;
    --border-color: #2E2B27;
    color-scheme: dark;
}

.ty-siyah button:focus-visible,
.ty-siyah a:focus-visible,
.ty-siyah input:focus-visible,
.ty-siyah .cat-tab:focus-visible {
    outline-color: var(--ty-vurgu);
}

.ty-siyah .ty-ara:focus-within {
    outline-color: var(--ty-vurgu);
}

body.ty-kilit {
    overflow: hidden;
}

/* Ust cubuk */
.ty-siyah .ty-isim {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
    cursor: default;
}

.ty-siyah .ty-ikon,
.ty-siyah .ty-dil .lang-switcher button.active {
    background: transparent;
}

.ty-siyah .ty-bilet {
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    border: 1.5px solid var(--ty-vurgu);
    border-radius: 999px;
    padding: 0 14px;
    gap: 6px;
}

.ty-siyah .ty-bilet small {
    color: var(--ty-vurgu);
    font-size: 11px;
}

.ty-siyah .ty-bilet b {
    font-family: var(--ty-govde);
    font-size: 18px;
    font-weight: 700;
}

/* Kategori cipleri: ustte, yatay kaydirilir */
.ty-siyah #category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 16px 10px;
}

.ty-siyah #category-tabs::-webkit-scrollbar {
    display: none;
}

.ty-siyah #category-tabs .cat-tab {
    flex: none;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid var(--ty-cizgi2);
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
    box-shadow: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.ty-siyah #category-tabs .cat-tab i {
    display: none;
}

.ty-siyah #category-tabs .cat-tab.active {
    background: var(--ty-vurgu);
    border-color: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    font-weight: 600;
}

/* Alt bolum seridi: alti cizgili sekmeler */
.ty-siyah .ty-serit {
    gap: 6px;
    padding: 0 16px;
}

.ty-siyah .ty-serit button {
    height: 44px;
    padding: 0 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ty-soluk);
    font-weight: 500;
}

.ty-siyah .ty-serit button span {
    display: none;
}

.ty-siyah .ty-serit button[aria-current="true"] {
    background: transparent;
    color: var(--ty-murekkep);
    font-weight: 600;
    border-bottom-color: var(--ty-vurgu);
}

.ty-siyah .ty-ara {
    background: var(--ty-yuzey);
    border: 1.5px solid var(--ty-cizgi2);
}

/* Bolum basliklari */
.ty-siyah .section-title h2,
.ty-siyah .ty-bolum h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}

/* Liste satirlari: fotograf sagda */
.ty-siyah .menu-grid {
    display: block;
    margin-bottom: 0;
}

.ty-siyah .menu-item-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ty-cizgi);
}

.ty-siyah .menu-item-card > div:first-child {
    flex: none;
    width: 104px;
    height: 104px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ty-yuzey);
}

.ty-siyah .menu-item-img {
    width: 104px;
    height: 104px;
    margin: 0;
    border-radius: 14px;
    align-self: auto;
}

.ty-siyah .menu-item-info {
    flex: 1;
    min-width: 0;
    padding: 0;
    gap: 0;
}

.ty-siyah .menu-item-info h3 {
    font-family: var(--ty-govde);
    font-size: 17px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

.ty-siyah .item-desc {
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ty-siyah .item-footer {
    margin-top: 10px;
}

.ty-siyah .item-price {
    font-size: 16px !important;
    font-variant-numeric: tabular-nums;
}

.ty-siyah .btn-add {
    background: var(--ty-yuzey);
    color: var(--ty-vurgu);
    border: 1.5px solid var(--ty-vurgu);
}

.ty-siyah .btn-add:hover {
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
}

.ty-siyah .ty-adet {
    left: auto;
    right: 6px;
    top: 6px;
}

.ty-siyah .product-badge {
    top: 6px;
    left: 6px;
    right: auto;
}

.ty-siyah .menu-item-info span[style*="#f1f5f9"] {
    background: var(--ty-yuzey2) !important;
    color: var(--ty-murekkep) !important;
    border-color: var(--ty-cizgi) !important;
}

/* Alt cubuk: Garson, Hesap ve Sepet */
.ty-siyah .bottom-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--ty-cizgi);
    background: var(--ty-yuzey);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

.ty-siyah .ty-alt-eylem button,
.ty-siyah .btn-track-bottom {
    background: transparent;
    border: 1.5px solid var(--ty-cizgi2);
    color: var(--ty-murekkep);
}

/* Masa paneli ve alttan acilan sayfalar */
.ty-siyah .ty-sayfa-bas h2,
.ty-siyah #lightbox-title,
.ty-siyah #combo-detail-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.ty-siyah .lightbox-content,
.ty-siyah .info-sheet {
    color: var(--ty-murekkep);
}

.ty-siyah .lightbox-content h3,
.ty-siyah .mt-modal-head h3 {
    color: var(--ty-murekkep);
}

.ty-siyah .lightbox-content input,
.ty-siyah .lightbox-content textarea,
.ty-siyah .lightbox-content select,
.ty-siyah .mt-input {
    background: var(--ty-yuzey2) !important;
    color: var(--ty-murekkep) !important;
    border-color: var(--ty-cizgi2) !important;
}

.ty-siyah .lightbox-content input::placeholder,
.ty-siyah .lightbox-content textarea::placeholder,
.ty-siyah .mt-input::placeholder {
    color: var(--ty-soluk);
    opacity: 1;
}

.ty-siyah .lightbox-content [style*="background: #f8fafc"],
.ty-siyah .lightbox-content [style*="background: #f1f5f9"],
.ty-siyah .lightbox-content [style*="background:#f8fafc"],
.ty-siyah .lightbox-content [style*="background: white"],
.ty-siyah .lightbox-content [style*="background: #fff"],
.ty-siyah .lightbox-content [style*="background: #eef2ff"],
.ty-siyah .lightbox-content [style*="background-color: #f1f5f9"] {
    background: var(--ty-yuzey2) !important;
    border-color: var(--ty-cizgi) !important;
}

.ty-siyah .lightbox-content [style*="color: #1e293b"],
.ty-siyah .lightbox-content [style*="color: #0f172a"],
.ty-siyah .lightbox-content [style*="color: #334155"],
.ty-siyah .lightbox-content [style*="color: #475569"],
.ty-siyah .lightbox-content [style*="color:#1e293b"] {
    color: var(--ty-murekkep) !important;
}

.ty-siyah .lightbox-content [style*="color: #64748b"],
.ty-siyah .lightbox-content [style*="color: #94a3b8"] {
    color: var(--ty-soluk) !important;
}

.ty-siyah .btn-checkout,
.ty-siyah .cat-tab.active,
.ty-siyah .size-chip.active,
.ty-siyah .tip-btn.active {
    color: var(--ty-vurgu-ust) !important;
}

.ty-siyah #cart-items > div {
    border-bottom-color: var(--ty-cizgi) !important;
}

.ty-siyah .tip-btn.active {
    background: var(--ty-vurgu) !important;
    border-color: var(--ty-vurgu) !important;
}

/* Altin zeminli dugmelerde yazi koyu (beyaz yazi altinda okunmaz) */
.ty-siyah .btn-primary,
.ty-siyah .mt-primary,
.ty-siyah .tag,
.ty-siyah .upsell-card button,
.ty-siyah .wiz-btn-main,
.ty-siyah .wiz-done-tick,
.ty-siyah .suggestion-item button {
    color: var(--ty-vurgu-ust) !important;
}

/* Urun rozetleri: tek renk, altin yazi, koyu zemin */
.ty-siyah .product-badge {
    background: rgba(14, 14, 13, 0.88) !important;
    color: var(--ty-vurgu) !important;
    border: 1px solid var(--ty-vurgu) !important;
    box-shadow: none !important;
    text-shadow: none;
}

/* "Bunun yaninda ister misiniz?" penceresi */
.ty-siyah .suggestion-content {
    background: var(--ty-yuzey);
}

.ty-siyah .suggestion-header,
.ty-siyah .suggestion-footer {
    border-color: var(--ty-cizgi);
}

.ty-siyah .suggestion-header {
    position: relative;
    padding-right: 68px;
}

.ty-siyah .suggestion-header h3 {
    font-family: var(--ty-baslik);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ty-murekkep);
}

.ty-siyah .suggestion-item {
    background: var(--ty-yuzey2);
    box-shadow: none;
}

.ty-siyah .suggestion-item-info h4 {
    color: var(--ty-murekkep);
}

.ty-siyah .suggestion-item-info .price {
    color: var(--ty-vurgu);
}

.ty-siyah .btn-secondary {
    background: transparent;
    color: var(--ty-murekkep);
    border: 1.5px solid var(--ty-cizgi2);
}

.ty-siyah .btn-secondary:hover {
    background: var(--ty-yuzey2);
    border-color: var(--ty-cizgi2);
}

/* Garson cagirma ve diger kucuk pencereler (SweetAlert) */
.ty-siyah .swal2-popup {
    background: var(--ty-yuzey);
    color: var(--ty-murekkep);
}

.ty-siyah .swal2-title,
.ty-siyah .swal2-html-container {
    color: var(--ty-murekkep);
}

.ty-siyah .swal2-styled.swal2-confirm,
.ty-siyah .swal2-html-container .swal2-styled {
    color: var(--ty-vurgu-ust) !important;
    background-color: var(--ty-vurgu) !important;
}

.ty-siyah .swal2-styled.swal2-cancel,
.ty-siyah .swal2-styled.swal2-deny {
    background: transparent !important;
    color: var(--ty-murekkep) !important;
    border: 1.5px solid var(--ty-cizgi2) !important;
}

.ty-siyah .swal2-input,
.ty-siyah .swal2-textarea,
.ty-siyah .swal2-select {
    background: var(--ty-yuzey2);
    color: var(--ty-murekkep);
    border-color: var(--ty-cizgi2);
}

/* ---------- Siyah: karsilama ekrani ---------- */
.ty-karsilama {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: var(--ty-zemin);
    color: #FFFFFF;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.ty-karsilama-kapan {
    opacity: 0;
    pointer-events: none;
}

.ty-karsilama-kapak {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-karsilama-golge {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 13, 0.55) 0%, rgba(14, 14, 13, 0.35) 40%, rgba(14, 14, 13, 0.9) 100%);
}

.ty-karsilama-ic {
    position: relative;
    height: 100%;
    max-width: 520px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 24px calc(36px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.ty-karsilama-masa {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(14, 14, 13, 0.35);
    font-size: 14px;
    font-weight: 500;
}

.ty-karsilama-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
}

.ty-karsilama-ses {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(14, 14, 13, 0.35);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.ty-karsilama-ses:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.ty-karsilama-orta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.ty-karsilama-logo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: var(--ty-yuzey);
}

.ty-karsilama h1 {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
    overflow-wrap: anywhere;
}

.ty-karsilama p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    max-width: 34ch;
}

.ty-karsilama-gir {
    height: 56px;
    border: 0;
    border-radius: 14px;
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.ty-karsilama-gir:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* ---------- Siyah: hikaye halkasi ---------- */
.ty-hikayeler {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px 12px;
    padding: 4px 16px 4px;
}

.ty-hikayeler::-webkit-scrollbar {
    display: none;
}

.ty-hikaye {
    flex: none;
    width: 72px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ty-murekkep);
    cursor: pointer;
}

.ty-hikaye-halka {
    width: 68px;
    height: 68px;
    box-sizing: border-box;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid var(--ty-vurgu);
}

.ty-hikaye-goruldu .ty-hikaye-halka {
    border-color: var(--ty-cizgi2);
}

.ty-hikaye-halka img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ty-hikaye-ad {
    width: 100%;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ty-hikaye-goruldu .ty-hikaye-ad {
    color: var(--ty-soluk);
}

/* ---------- Siyah: hikaye ekrani ---------- */
.ty-hikaye-ekran {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: #000000;
    color: #FFFFFF;
    overflow: hidden;
}

.ty-hk-gorsel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-hk-golge {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.ty-hk-cubuklar {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    z-index: 3;
}

.ty-hk-cubuklar span {
    flex: 1 1 0;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
}

.ty-hk-cubuklar i {
    display: block;
    height: 100%;
    width: 0;
    background: #FFFFFF;
}

.ty-hk-ust {
    position: absolute;
    top: calc(22px + env(safe-area-inset-top, 0px));
    left: 16px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.ty-hk-rozet {
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.ty-hk-kapat {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ty-hk-bolge {
    position: absolute;
    top: 80px;
    bottom: 200px;
    width: 40%;
    border: 0;
    background: transparent;
    padding: 0;
    z-index: 2;
    cursor: pointer;
}

.ty-hk-geri { left: 0; }
.ty-hk-ileri { right: 0; width: 60%; }

.ty-hk-alt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    max-width: 560px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ty-hk-alt h2 {
    margin: 0;
    font-family: var(--ty-baslik);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
}

.ty-hk-alt p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ty-hk-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.ty-hk-satir b {
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ty-hk-git {
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ty-vurgu);
    color: var(--ty-vurgu-ust);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.ty-hikaye-ekran button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ty-karsilama { transition: none; }
}
