/* Tablet shell: display:flex !important kaldırıldı — toggleVisibility display:none ile gizlenemiyordu, mobilya katmanı hep üstte kalıp diğer sayfalar tıklanmıyordu */
.tablet-page.furniture-page {
    color: var(--text-color);
    flex-direction: column;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    box-sizing: border-box;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.tablet-page.furniture-page.visible {
    display: flex !important;
}


.tablet-page-furniture-header {
    position: relative;
    top: 12%;
    width: 50%;
    height: 8%;
    left: 5%;
    color: var(--text-color);
    display: flex;
    font-size: 4vh;
    margin-left: 6%;
    font-weight: 400
}

.tablet-page-furniture-header-back-icon {
    background: #1c1c1c;
    width: 5%;
    padding: 3px;
    height: 44%;
    text-align: center;
    font-size: 1.8vh;
    border-radius: 7px;
    margin-top: 2%;
    margin-right: 3%;
    color: white;
    transition: .1s all;
}

.tablet-page-furniture-header-back-icon :hover {
    scale: 1.2;
    cursor: pointer;

}



.tablet-page-furniture-page-left-side {
    width: 20%;
    height: 73%;
    margin-left: 5%;
    margin-top: 8%;
    background-color: var(--page-bg-color);
    position: relative;
    float: left;
}

/* .tablet-page-furniture-page-left-side-box {
    width: 76%;
    margin: 0 auto;
    text-align: center;
    height: 9%;
    border-radius: 12px;
    padding: 16px 23px;
    font-size: 1.2vh;
    margin-top: 6%;
    transition: .1s all;
    position: relative;
    top: 15%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;

}

.tablet-page-furniture-page-left-side-box i {
    margin-right: 5%;
}

.tablet-page-furniture-page-left-side-box:hover {
    color: var(--hover-bg);
    cursor: pointer;
} */


.tablet-page-furniture-page-screen {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    background-color: var(--box-bg-color);
    position: relative;
    display: none;
    box-sizing: border-box;
}

/* toggleVisibility sets inline display:block; flex layout needs to win when tab is visible */
.tablet-page-furniture-page-screen.furniture-mainpage.visible,
.tablet-page-furniture-page-screen.furniture-buyedfurniture.visible {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 12px;
    gap: 10px;
    box-sizing: border-box;
}

.tablet-page-furniture-buyedfurniture-body {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.tablet-page-furniture-owned-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.tablet-page-furniture-owned-section-head {
    width: 100%;
    box-sizing: border-box;
}

.tablet-page-furniture-owned-section-title {
    display: block;
    font-size: clamp(0.72rem, 1.15vh, 0.88rem);
    font-weight: 600;
    color: rgba(245, 245, 245, 0.82);
    letter-spacing: 0.02em;
}

.tablet-page-furniture-owned-toolbar-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.tablet-page-furniture-page-owned-search-wrapper {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 12px;
    box-sizing: border-box;
    color: #b1b1b1;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

input.tablet-page-furniture-page-owned-search-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    border-bottom: 1px solid rgba(160, 160, 160, 0.45);
    margin: 0;
    background: transparent;
    color: rgba(245, 245, 245, 0.92);
    font-size: clamp(0.72rem, 1.1vh, 0.88rem);
}

.tablet-page-furniture-page-screen.furniture-buyedfurniture .tablet-furniture-world-edit-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(203, 213, 225, 0.88);
    font-size: clamp(11px, 1.28vh, 13px);
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.1s ease, border-color 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.tablet-page-furniture-page-screen.furniture-buyedfurniture .tablet-furniture-world-edit-btn:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.09);
    color: var(--hover-bg, rgba(226, 232, 240, 0.95));
}

.tablet-page-furniture-page-screen.furniture-buyedfurniture .tablet-furniture-world-edit-btn:active {
    transform: scale(0.98);
}

/* Satın alınan: katalog grid + katalog kartı (catalog-wrapper / catalog-box) */
.tablet-page-furniture-buyedfurniture-body > .tablet-page-furniture-page-catalog-wrapper.tablet-page-furniture-owned-catalog-root {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    width: 100%;
}

.tablet-page-furniture-page-screen.furniture-furniturecatalog {
    position: relative;
}

.tablet-page-furniture-page-screen.furniture-furniturecatalog.visible {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    padding: 8px 12px;
    gap: 10px;
    box-sizing: border-box;
}

.tablet-page-furniture-page-screen.furniture-furniturecatalog.visible > .tablet-page-furniture-page-screen-header {
    flex: 0 0 auto;
}

.tablet-page-furniture-page-screen.furniture-furniturecatalog.visible > .tablet-page-furniture-page-catalog-body {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
}

.tablet-page-furniture-page-screen.furniture-shelltextures.visible {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 0%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 6px 10px;
    gap: 6px;
    box-sizing: border-box;
}

.tablet-page-furniture-page-catalog-body {
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 8px 16px;
    align-content: stretch;
    box-sizing: border-box;
}

.tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-catalog-navbar-wrapper {
    grid-column: 1 / -1;
    grid-row: 1;
}

.tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-search-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
}

.tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-catalog-wrapper {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    align-self: stretch;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-catalog-basket {
    grid-column: 2;
    grid-row: 3;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    align-self: stretch;
    overflow: hidden;
}

@media (max-width: 900px) {
    .tablet-page-furniture-page-catalog-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
    }

    .tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-catalog-wrapper {
        grid-column: 1;
        grid-row: 3;
        min-height: 0;
        height: 100%;
        max-height: 100%;
        align-self: stretch;
        overflow-x: hidden;
        overflow-y: scroll;
        scrollbar-gutter: stable;
    }

    .tablet-page-furniture-page-catalog-body > .tablet-page-furniture-page-catalog-basket {
        grid-column: 1;
        grid-row: 4;
        max-height: min(42vh, 100%);
        min-height: 0;
        height: auto;
        align-self: stretch;
        overflow: hidden;
    }
}

.tablet-page-furniture-page-screen.furniture-shelltextures .tablet-page-furniture-page-screen-header {
    flex-shrink: 0;
    font-size: clamp(0.95rem, 1.35vh, 1.1rem);
    font-weight: 600;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
}

.tablet-shelltexture-shop-stack {
    flex: 1 1 0%;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tablet-page-furniture-page-screen.furniture-shelltextures .tablet-shelltexture-shop-grid {
    flex: 1 1 0%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tablet-shelltexture-part-section {
    margin: 2px 0 10px;
    padding: 10px;
    border-radius: var(--orders-card-radius, 12px);
    border: 1px solid var(--orders-card-border, rgba(255, 255, 255, 0.06));
    background: var(--orders-card-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--orders-card-shadow, 0 8px 18px rgba(0, 0, 0, 0.22));
    box-sizing: border-box;
}

.tablet-shelltexture-part-section-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(205, 222, 255, 0.92);
    letter-spacing: 0.02em;
    margin: 0 2px 8px;
}

.tablet-shelltexture-part-section-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 4px;
    padding-bottom: 2px;
}

.tablet-shelltexture-part-section-grid .tablet-shelltexture-tex-card {
    flex: 0 0 170px;
    min-width: 170px;
    max-width: 170px;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background:
        radial-gradient(ellipse 95% 52% at 8% -8%, rgba(255, 255, 255, 0.08) 0%, transparent 62%),
        radial-gradient(ellipse 72% 56% at 95% 110%, rgba(255, 255, 255, 0.045) 0%, transparent 64%),
        var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tablet-shelltexture-part-section-grid .tablet-shelltexture-tex-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}


.tablet-page-furniture-page-catalog-navbar-wrapper {
    width: 100%;
    max-height: 10vh;
    min-height: 44px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    margin: 0;
    box-sizing: border-box;
    align-items: center;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
}

.tablet-page-furniture-page-catalog-navbar {
    background: #bbbbbb3b;
    margin-left: 0;
    flex: 0 0 auto;
    width: fit-content;
    min-width: auto;
    padding: 8px 14px;
    height: 100%;
    border-radius: 4px;
    transition: .1s all;
    font-size: 1.2vh;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: white;
    opacity: 0.2;
}

.tablet-page-furniture-page-catalog-navbar:hover {
    background: var(--hover-bg);
    cursor: pointer;
    color: white;
    opacity: 1;
}

.tablet-page-furniture-page-catalog-navbar.is-active {
    opacity: 1;
    background: var(--hover-bg);
    border: 1px solid rgba(130, 165, 255, 0.35);
}

.tablet-page-furniture-page-search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    color: #b1b1b1;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

input.tablet-page-furniture-page-search-input {
    border: none;
    outline: none;
    border-bottom: 1px solid gray;
    margin-left: 1%;
    background: transparent;
}


.tablet-page-furniture-page-catalog-wrapper {
    float: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    /* 1fr satırı doldurur; min() CEF'te sorun çıkarabildiği için sabit min */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
    grid-auto-rows: min-content;
    gap: 10px;
    align-content: start;
    justify-items: stretch;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tablet-page-furniture-page-catalog-box {
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    height: auto;
    min-height: min-content;
    box-sizing: border-box;
    padding: 12px 12px 14px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "icon"
        "name"
        "price";
    gap: 10px;
    align-content: start;
    align-items: start;
    border-radius: 10px;
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.06));
    background: linear-gradient(180deg, rgb(42 42 42 / 18%), rgb(10 12 17 / 10%));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.14));
    position: relative;
    isolation: isolate;
}

.tablet-page-furniture-page-catalog-box-icon {
    grid-area: icon;
    margin: 0;
    width: 100%;
    max-width: min(100%, 152px);
    aspect-ratio: 1;
    justify-self: center;
    text-align: center;
    z-index: 1;
    padding: 0;
    border-radius: 8px;
    position: relative;
    background: rgba(12, 14, 18, 0.55);
    background-image: url('/html/img/image_not_available.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    overflow: hidden;
}

.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-thumb {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-icon-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
}

.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-preview,
.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-addbasket {
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 245, 245, 0.95);
    background: rgba(8, 10, 14, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-preview:hover,
.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-addbasket:hover {
    background: var(--hover-bg, rgba(0, 200, 120, 0.85));
    color: #0a0a0a;
    border-color: transparent;
}

.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-preview i,
.tablet-page-furniture-page-catalog-box-icon .catalog-furniture-addbasket i {
    font-size: 14px;
    line-height: 1;
}


.tablet-page-furniture-page-catalog-box-name {
    grid-area: name;
    text-align: center;
    font-size: clamp(0.76rem, 1.32vh, 0.95rem);
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    margin: 0;
    width: 100%;
    color: white;
    line-height: 1.2;
    text-shadow: 1px 1px 2px #0e0e0e;
}


.tablet-page-furniture-page-catalog-box-price {
    grid-area: price;
    text-align: center;
    color: var(--hover-bg);
    font-weight: 600;
    font-size: clamp(0.7rem, 1.2vh, 0.88rem);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.tablet-page-furniture-page-catalog-box:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Satın alınan mobilya = aynı catalog-box; sadece isim wrap + alt satır + ikon butonları */
.tablet-page-furniture-page-catalog-box--owned .furniture-owned-archive-badge {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: clamp(0.58rem, 0.9vh, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(120, 130, 160, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tablet-page-furniture-page-catalog-box--owned .tablet-page-furniture-page-catalog-box-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    min-width: 0;
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    white-space: normal;
    line-height: 1.25;
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-qty {
    font-size: clamp(0.62rem, 1vh, 0.78rem);
    font-weight: 500;
    color: rgba(203, 213, 225, 0.75);
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-sell-refund {
    font-size: clamp(0.64rem, 1.05vh, 0.8rem);
    font-weight: 600;
    color: var(--hover-bg);
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-action-btn {
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 245, 245, 0.95);
    background: rgba(8, 10, 14, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-action-btn:hover {
    background: var(--hover-bg, rgba(0, 200, 120, 0.85));
    color: #0a0a0a;
    border-color: transparent;
}

.tablet-page-furniture-page-catalog-box--owned .furniture-owned-action-btn i {
    font-size: 14px;
    line-height: 1;
}

.tablet-page-furniture-page-catalog-box--owned.furniture-owned--placed .tablet-page-furniture-page-catalog-box-icon {
    opacity: 0.94;
}

.furniture-catalog-preview-overlay {
    position: absolute;
    inset: 0;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.furniture-catalog-preview-overlay:not(.hidden) {
    display: flex;
}

.furniture-catalog-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.72);
    cursor: pointer;
}

.furniture-catalog-preview-panel {
    position: relative;
    z-index: 2;
    max-width: min(92%, 420px);
    width: 100%;
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(32, 34, 40, 0.96), rgba(14, 16, 20, 0.96));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.furniture-catalog-preview-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    color: rgba(245, 245, 245, 0.9);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.furniture-catalog-preview-close:hover {
    background: var(--hover-bg, rgba(0, 200, 120, 0.85));
    color: #0a0a0a;
}

.furniture-catalog-preview-img {
    display: block;
    width: 100%;
    max-height: min(52vh, 360px);
    margin: 28px auto 10px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.furniture-catalog-preview-title {
    text-align: center;
    font-size: clamp(0.78rem, 1.2vh, 0.95rem);
    font-weight: 600;
    color: rgba(245, 245, 245, 0.92);
    line-height: 1.3;
    word-break: break-word;
}


/**
 * .tablet-page-furniture-page-catalog-basket
 *
 * A container for the furniture catalog's basket. It is positioned at the
 * right side of the page and displays the items currently in the basket.
 *
 * Style attributes:
 *
 * - width: 38%
 * - height: 83%
 * - margin-left: 80%
 */
.tablet-page-furniture-page-catalog-basket {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    overflow: hidden;
}

.tablet-page-furniture-page-catalog-basket-wrapper {
    width: 100%;
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-content: flex-start;
}

.tablet-page-furniture-page-catalog-basket-wrapper::-webkit-scrollbar {
    width: 5px;
}

.tablet-page-furniture-page-catalog-basket-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.tablet-page-furniture-page-catalog-basket-wrapper > .tablet-page-furniture-page-catalog-basket-box {
    flex: 0 0 auto;
    min-height: auto;
}

.tablet-page-furniture-page-catalog-basket-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
    padding: 10px 11px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.06));
    background: linear-gradient(180deg, rgb(42 42 42 / 18%), rgb(10 12 17 / 10%));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.14));
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.tablet-page-furniture-page-catalog-basket-box:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.catalog-basket-box-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: flex-start;
    padding: 1px 0 0;
}

.catalog-basket-box-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.tablet-page-furniture-page-catalog-basket-box .tablet-page-furniture-page-catalog-basket-box-name {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: clamp(0.72rem, 1.25vh, 0.9rem);
    font-weight: 600;
    color: var(--text-color, #fff);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px #0e0e0e;
}

.tablet-page-furniture-page-catalog-basket-box .tablet-page-furniture-page-catalog-basket-box-delete {
    flex: 0 0 auto;
    width: 29px;
    height: 29px;
    min-width: 29px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 95, 95, 0.28);
    border-radius: 10px;
    background: rgba(255, 72, 72, 0.12);
    color: rgba(255, 220, 220, 0.95);
    font-size: 0.72rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition:
        background 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease,
        transform 0.1s ease;
}

.tablet-page-furniture-page-catalog-basket-box .tablet-page-furniture-page-catalog-basket-box-delete:hover {
    background: rgba(255, 92, 92, 0.32);
    color: #fff;
    border-color: rgba(255, 150, 150, 0.45);
    transform: scale(1.05);
}

.catalog-basket-box-midrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    width: 100%;
    min-width: 0;
}

.tablet-page-furniture-page-catalog-basket-box .tablet-page-furniture-page-catalog-basket-box-price {
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: clamp(0.68rem, 1.15vh, 0.85rem);
    font-weight: 600;
    color: var(--hover-bg);
    white-space: nowrap;
}

.tablet-page-furniture-page-catalog-basket-box .catalog-basket-each {
    opacity: 0.82;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.catalog-basket-qty-pill {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.catalog-basket-qty-pill .catalog-basket-qty-minus,
.catalog-basket-qty-pill .catalog-basket-qty-plus {
    flex: 0 0 auto;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(245, 245, 245, 0.92);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
}

.catalog-basket-qty-pill .catalog-basket-qty-minus:hover,
.catalog-basket-qty-pill .catalog-basket-qty-plus:hover {
    background: var(--hover-bg, rgba(0, 200, 120, 0.75));
    color: #0a0a0a;
}

.catalog-basket-qty-pill .catalog-basket-qty-input {
    flex: 0 0 auto;
    width: 40px;
    min-width: 36px;
    height: 30px;
    margin: 0;
    padding: 0 2px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    background: transparent;
    color: var(--text-color, rgba(245, 245, 245, 0.98));
    font-size: clamp(0.68rem, 1.05vh, 0.82rem);
    font-weight: 600;
    -moz-appearance: textfield;
}

.catalog-basket-qty-input::-webkit-outer-spin-button,
.catalog-basket-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.catalog-basket-line-sum {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 7px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    font-size: clamp(0.66rem, 1.02vh, 0.8rem);
    font-weight: 600;
    color: var(--hover-bg);
}

.catalog-basket-line-sum-label {
    opacity: 0.85;
    font-weight: 500;
}

.catalog-basket-line-sum-val {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.tablet-page-furniture-page-catalog-basket-box-itemicon {
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    align-self: flex-start;
    aspect-ratio: 1;
    background: rgba(12, 14, 18, 0.55);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 3px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tablet-page-furniture-page-catalog-basket-box-itemicon .catalog-furniture-thumb {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 46px;
    object-fit: contain;
    object-position: center;
}


.tablet-page-furniture-page-catalog-basket-total {
    font-size: clamp(0.85rem, 1.6vh, 1rem);
    font-weight: 600;
    width: 100%;
    margin: 0;
    padding: 6px 4px 0;
    box-sizing: border-box;
    color: var(--text-color, #fff);
    flex-shrink: 0;
}

.tablet-page-furniture-page-catalog-basket-boxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.tablet-page-furniture-page-catalog-basket-event-box.catalog-purchase {
    background: #bbbbbb3b;
    color: white;
    filter: drop-shadow(2px 2px 4px #0000003b);
}

.catalog-purchase:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.tablet-page-furniture-page-catalog-basket-event-box.catalog-fastpurchase {
    background: rgb(119, 69, 255);
    background: linear-gradient(29deg, rgb(119, 69, 255) 0%, rgb(91, 31, 255) 62%);
    font-size: 1.4vh;
}

.tablet-page-furniture-page-catalog-basket-event-box {
    width: 100%;
    font-weight: 600;
    margin: 0;
    border-radius: 6px;
    padding: 12px 15px;
    background: rgb(119, 69, 255);
    background: linear-gradient(29deg, rgb(119, 69, 255) 0%, rgb(91, 31, 255) 62%);
    text-align: center;
    transition: .1s all;
    float: none;
    flex-shrink: 0;
    box-sizing: border-box;
}


.owned-undefinedtext {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 24px;
    text-align: center;
    font-size: 1.67vh;
    font-weight: 600;
    color: white;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}


.tablet-page-furniture-page-screen-undefinedtext {
    text-align: center;
    font-size: 1.67vh;
    font-weight: 600;
}

/* own-furniture ekranı (legacy kutu grid) */
.tablet-page-furniture-page-screen-own-furniture-wrapper {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 8px;
    align-content: start;
    align-items: start;
    padding: 10px 12px;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box {
    float: none;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 8.5rem;
    margin: 0;
    /* İki sütun + aksiyonlar altta tam genişlik: dar kutuda taşma olmaz */
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-auto-rows: min-content;
    column-gap: 10px;
    row-gap: 8px;
    align-items: start;
    box-sizing: border-box;
    padding: 12px 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: linear-gradient(180deg, rgb(42 42 42 / 15%), rgb(10 12 17 / 5%));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    background-image: none;
    overflow-x: hidden;
    overflow-y: visible;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-image {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    width: 56px;
    height: 56px;
    max-width: none;
    min-height: 0;
    margin: 0;
    aspect-ratio: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 14, 18, 0.45);
    background-image: url('/html/img/image_not_available.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-image .catalog-furniture-thumb {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-name {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    font-weight: 600;
    font-size: clamp(0.78rem, 1.2vh, 0.98rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
    overflow: visible;
    opacity: 0.92;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-amount {
    grid-column: 2;
    grid-row: 2;
    font-size: clamp(0.65rem, 1vh, 0.82rem);
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    opacity: 0.58;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-sellamount {
    grid-column: 2;
    grid-row: 3;
    font-size: clamp(0.65rem, 1vh, 0.82rem);
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    opacity: 0.58;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-altboxes {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    align-items: stretch;
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    min-height: min-content;
    font-size: clamp(0.62rem, 1vh, 0.8rem);
    align-self: stretch;
}

.tablet-page-furniture-page-screen-own-furniture-wrapper .tablet-page-furniture-box-altbox {
    margin: 0;
    flex: 1 1 120px;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    padding: 8px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    transition: .1s all;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
}

.tablet-page-furniture-box-altbox i {
    margin-right: 6%;
}

.tablet-page-furniture-box-altbox:hover {
    scale: 1.2;
    cursor: pointer;
    color: var(--hover-bg)
}

/* Shell texture shop (Customization → Textures) */
.tablet-shelltexture-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px;
    padding: 6px;
    align-content: start;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.tablet-shelltexture-shop-grid > .tablet-shelltexture-shop-mlo-banner {
    grid-column: 1 / -1;
}

.tablet-shelltexture-shop-pack {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    box-sizing: border-box;
}

.tablet-shelltexture-shop-pack-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 0;
}

.tablet-shelltexture-shop-pack-textures {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px;
    min-width: 0;
}

.tablet-shelltexture-shop-disk-title {
    font-size: clamp(0.82rem, 1.08vh, 0.94rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
}

.tablet-shelltexture-shop-card {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tablet-shelltexture-shop-card-title {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.tablet-shelltexture-shop-card-path {
    font-size: 0.82rem;
    opacity: 0.75;
    word-break: break-all;
    line-height: 1.35;
}

.tablet-shelltexture-shop-card-price {
    margin-top: 0.65rem;
    font-weight: 500;
}

.tablet-shelltexture-shop-empty {
    display: none;
    padding: 1.25rem 1rem;
    opacity: 0.85;
    text-align: center;
    box-sizing: border-box;
}

.tablet-shelltexture-shop-empty.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(10, 10, 12, 0.72);
    backdrop-filter: blur(4px);
}

.tablet-shelltexture-shop-mlo-banner {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-bottom: 0;
    border-radius: var(--tablet-box-radius, 12px);
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    font-size: 0.88rem;
    font-weight: 600;
}

.tablet-shelltexture-shop-mlo-banner-k {
    opacity: 0.75;
    font-weight: 500;
}

.tablet-shelltexture-shop-mlo-banner-v {
    margin-left: 4px;
}

.tablet-shelltexture-pack-owned-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(80, 200, 120, 0.2);
    border: 1px solid rgba(80, 200, 120, 0.45);
    color: rgba(200, 255, 210, 0.95);
    flex-shrink: 0;
    white-space: nowrap;
    position: absolute;
    right: 8px;
    top: 8px;
    transform: none;
    z-index: 3;
}

.tablet-shelltexture-btn {
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
}

.tablet-shelltexture-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.tablet-shelltexture-btn--primary {
    background: linear-gradient(180deg, rgba(88, 140, 255, 0.45), rgba(60, 100, 220, 0.5));
    border-color: rgba(120, 160, 255, 0.35);
}

.tablet-shelltexture-btn--secondary {
    width: 100%;
    margin-top: 6px;
    text-align: center;
}

.tablet-shelltexture-btn.is-disabled,
.tablet-shelltexture-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.tablet-shelltexture-tex-select.is-active {
    background: rgba(80, 200, 120, 0.22);
    border-color: rgba(100, 220, 140, 0.45);
}

.tablet-shelltexture-tex-part {
    font-size: 0.68rem;
    opacity: 0.72;
    text-align: center;
    width: 100%;
    line-height: 1.25;
    word-break: break-all;
    margin-top: -1px;
}

.tablet-shelltexture-tex-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    background: var(--tablet-box-bg, linear-gradient(180deg, rgba(20, 20, 21, 0.78), rgba(12, 12, 13, 0.78)));
    border-radius: var(--tablet-box-radius, 12px);
    overflow: hidden;
    border: 1px solid var(--tablet-box-border, rgba(255, 255, 255, 0.045));
    box-shadow: var(--tablet-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

.tablet-shelltexture-tex-card--compact {
    height: 100%;
    min-height: 196px;
}

/* Ensure öncesi dosya keşfi gecikirse kartı "pending restart" görseliyle işaretle. */
.tablet-shelltexture-tex-card--pending-restart {
    position: relative;
}

.tablet-shelltexture-tex-card--pending-restart .tablet-shelltexture-tex-thumb-inner {
    filter: blur(1.6px) saturate(0.5);
    opacity: 0.78;
}

.tablet-shelltexture-tex-card--pending-restart::after {
    content: attr(data-pending-label);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: max-content;
    max-width: calc(100% - 16px);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 190, 95, 0.5);
    color: rgba(255, 220, 160, 0.96);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .tablet-shelltexture-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        gap: 10px;
    }
}

.tablet-shelltexture-tex-inner--compact {
    display: grid;
    grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 6px 12px;
    padding: 10px;
}

.tablet-shelltexture-tex-card--compact .tablet-shelltexture-tex-preview {
    width: 100%;
    max-width: 108px;
    flex: 0 0 auto;
    align-self: center;
    justify-content: center;
}

.tablet-shelltexture-tex-card--compact .tablet-shelltexture-tex-thumb-inner {
    width: 100%;
    max-width: 108px;
}

.tablet-shelltexture-tex-main {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 106px;
}

.tablet-shelltexture-tex-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    width: 100%;
    min-height: 20px;
    padding-right: 0;
}

.tablet-shelltexture-tex-title {
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
    flex: 1 1 100%;
    min-width: 0;
    word-break: break-word;
    text-align: center;
}

.tablet-shelltexture-tex-card.is-tex-preview-expanded .tablet-shelltexture-tex-thumb-inner {
    width: 92%;
    max-width: min(240px, 88%);
}

.tablet-shelltexture-tex-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    gap: 6px;
}

.tablet-shelltexture-tex-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.tablet-shelltexture-tex-thumb-inner {
    width: min(64%, 132px);
    max-width: 132px;
    min-width: 74px;
    box-sizing: border-box;
    margin: 0 auto;
    transition: max-width 0.18s ease, width 0.18s ease;
}

.tablet-shelltexture-tex-thumb {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}

.tablet-shelltexture-tex-thumb img,
.tablet-shelltexture-tex-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(0, 0, 0, 0.2);
}

.tablet-shelltexture-tex-thumb-fail {
    font-size: 0.72rem;
    opacity: 0.55;
    padding: 8px;
    text-align: center;
}

.tablet-shelltexture-tex-thumb--empty {
    min-height: 56px;
}

.tablet-shelltexture-tex-placeholder {
    font-size: 0.68rem;
    opacity: 0.45;
    text-align: center;
    padding: 4px;
    word-break: break-all;
}

.tablet-shelltexture-tex-card--compact .tablet-shelltexture-tex-price-row {
    text-align: center;
    margin-top: 0;
}

.tablet-shelltexture-tex-price-row {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.9;
    text-align: center;
    width: 100%;
    margin-top: 1px;
    line-height: 1.2;
    min-height: 0;
}

.tablet-shelltexture-tex-card--compact .tablet-shelltexture-tex-actions {
    margin-top: auto;
    justify-content: center;
}

.tablet-shelltexture-tex-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 3px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    min-height: 64px;
}

.tablet-shelltexture-tex-actions .tablet-shelltexture-btn {
    padding: 5px 7px;
    font-size: 0.62rem;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.2;
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tablet-shelltexture-tex-actions .tablet-shelltexture-btn--secondary {
    margin-top: 0;
}

.tablet-shelltexture-tex-actions .tablet-shelltexture-pack-buy {
    max-width: none;
    min-width: 0;
}

.tablet-shelltexture-tex-actions .tablet-shelltexture-tex-select {
    max-width: none;
    min-width: 0;
}

.tablet-shelltexture-tex-card--applied .tablet-shelltexture-tex-select {
    background: linear-gradient(180deg, rgba(72, 178, 114, 0.42), rgba(50, 132, 88, 0.5));
    border-color: rgba(120, 230, 165, 0.42);
    color: rgba(226, 255, 236, 0.98);
}

.tablet-shelltexture-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.tablet-shelltexture-btn--ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.tablet-shelltexture-tex-body {
    padding: 0.55rem 0.65rem 0.65rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
}

.tablet-shelltexture-tex-price-line {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 6px;
    margin-bottom: 4px;
    text-align: center;
}

.tablet-shelltexture-tex-rtname {
    font-size: 0.72rem;
    opacity: 0.78;
    text-align: left;
    line-height: 1.25;
    word-break: break-word;
    width: 100%;
}

.tablet-shelltexture-tex-meta {
    padding: 0.55rem 0.65rem 0.65rem;
}

.tablet-shelltexture-tex-label {
    font-weight: 600;
    font-size: 0.82rem;
    text-align: left;
    width: 100%;
    line-height: 1.2;
    max-width: 100%;
    word-break: break-word;
}

.tablet-shelltexture-tex-orig {
    font-size: 0.72rem;
    opacity: 0.65;
    word-break: break-word;
    line-height: 1.25;
    text-align: left;
    width: 100%;
}

.tablet-shelltexture-tex-mapping {
    font-size: 0.65rem;
    opacity: 0.58;
    word-break: break-all;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    padding: 0 4px;
}

.tablet-shelltexture-tex-price {
    font-weight: 500;
    font-size: 0.9rem;
}

.tablet-shelltexture-shop-card--fallback .tablet-shelltexture-shop-card-id {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0.2rem 0;
}

.tablet-shelltexture-tex-inner .tablet-shelltexture-shop-fallback-hint {
    font-size: 0.78rem;
    opacity: 0.72;
    line-height: 1.35;
    padding: 0 4px;
    text-align: center;
    width: 100%;
}

.tablet-shelltexture-shop-fallback-hint {
    font-size: 0.82rem;
    opacity: 0.75;
    line-height: 1.35;
    padding: 10px 8px;
    text-align: center;
}

.tablet-shelltexture-btn--secondary {
    width: auto;
    margin-top: 0;
    text-align: center;
}

/* Shell etiketi görsel gürültü yapıyor; kullanıcı akışı için gizli. */
.tablet-shelltexture-shop-mlo-banner {
    display: none !important;
}

/* Mobilya: üst araç çubuğu — furniture ekranları ile aynı yatay padding (10px) ve altbox benzeri yüzey */
.tablet-page.furniture-page .tablet-furniture-page-toolbar {
    flex: 0 0 auto;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 2px 10px 4px;
    min-height: 0;
}

.tablet-page.furniture-page .tablet-furniture-world-edit-btn {
    display: none;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(203, 213, 225, 0.88);
    font-size: clamp(11px, 1.28vh, 13px);
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.1s ease, border-color 0.1s ease, background 0.1s ease, color 0.1s ease;
    pointer-events: auto;
}

.tablet-page.furniture-page .tablet-furniture-world-edit-btn i {
    opacity: 0.9;
    flex-shrink: 0;
    font-size: 0.95em;
}

.tablet-page.furniture-page .tablet-furniture-world-edit-btn:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.09);
    color: var(--hover-bg, rgba(226, 232, 240, 0.95));
}

.tablet-page.furniture-page .tablet-furniture-world-edit-btn:active {
    transform: scale(0.98);
}

.tablet-page.furniture-page .tablet-furniture-world-edit-btn.is-disabled,
.tablet-page.furniture-page .tablet-furniture-world-edit-btn[disabled],
.tablet-page-furniture-page-catalog-box--owned .furniture-owned-action-btn.is-disabled,
.tablet-page-furniture-page-catalog-box--owned .furniture-owned-action-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.4);
}

/* Üst toolbar’daki gizleme kuralını satın alınanlar sekmesinde geçersiz kıl */
.tablet-page.furniture-page .tablet-page-furniture-page-screen.furniture-buyedfurniture .tablet-furniture-world-edit-btn {
    display: inline-flex;
}

/* Gizmo: sadece .joblife-furniture-orbit-dock alanı — absolute, dock ortasında yazı; tam ekran yok */
.joblife-orbit-gizmo-hint-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    box-sizing: border-box;
    border-radius: 14px;
    overflow: hidden;
}

.joblife-orbit-gizmo-hint-overlay.hidden {
    display: none !important;
}

.joblife-orbit-gizmo-hint-overlay__blur {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.joblife-orbit-gizmo-hint-overlay__tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(42, 46, 56, 0.52);
}

.joblife-orbit-gizmo-hint-overlay__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px;
}

.joblife-orbit-gizmo-hint-overlay__inner {
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(22, 26, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.joblife-orbit-gizmo-hint-overlay__text {
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.96);
}

/* ── Mobilya freecam alt dock: tam genişlik, 100px hücre grid (resim üstte, isim + adet) ── */
.joblife-furniture-orbit-dock-overlay {
    position: fixed;
    inset: 0;
    z-index: 100050;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding: 0 8px 8px;
    box-sizing: border-box;
}

.joblife-furniture-orbit-dock-overlay.hidden {
    display: none !important;
}

.joblife-furniture-orbit-dock {
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    max-height: 42vh;
    min-height: 120px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(70, 70, 70, 0.34) 0%, rgba(224, 224, 224, 0.38) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

.joblife-furniture-orbit-dock__toolbar {
    flex: 0 0 auto;
    padding: 6px 8px 4px;
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.joblife-furniture-orbit-dock__cats {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.joblife-furniture-orbit-dock__cat {
    appearance: none;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.joblife-furniture-orbit-dock__cat:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 200, 120, 0.35);
    color: rgba(248, 250, 252, 0.98);
}

.joblife-furniture-orbit-dock__cat.is-active {
    background: rgba(255, 180, 90, 0.28);
    border-color: rgba(255, 200, 120, 0.55);
    color: rgba(255, 251, 235, 0.98);
}

.joblife-furniture-orbit-dock__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.joblife-furniture-orbit-dock__brand {
    flex: 0 0 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.95);
    font-size: 28px;
}

.joblife-furniture-orbit-dock__brand-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.12s ease;
}

.joblife-furniture-orbit-dock__brand-main:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.joblife-furniture-orbit-dock__brand-main:active {
    transform: scale(0.96);
}

.joblife-furniture-orbit-dock__brand-main:focus-visible {
    outline: 2px solid rgba(255, 200, 120, 0.65);
    outline-offset: 2px;
}

.joblife-furniture-orbit-dock__brand.is-mode-furniture .joblife-furniture-orbit-dock__brand-main {
    background: rgba(255, 180, 90, 0.22);
    border-color: rgba(255, 200, 120, 0.5);
    color: rgba(255, 251, 235, 0.98);
}

.joblife-furniture-orbit-dock__brand.is-mode-furniture .joblife-furniture-orbit-dock__brand-texture {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(200, 220, 240, 0.85);
}

.joblife-furniture-orbit-dock__brand.is-mode-texture .joblife-furniture-orbit-dock__brand-texture {
    background: rgba(255, 180, 90, 0.22);
    border-color: rgba(255, 200, 120, 0.5);
    color: rgba(255, 251, 235, 0.98);
}

.joblife-furniture-orbit-dock__brand.is-mode-texture .joblife-furniture-orbit-dock__brand-main {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(226, 232, 240, 0.95);
}

.joblife-furniture-orbit-dock__brand-texture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 34px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(200, 220, 240, 0.85);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.joblife-furniture-orbit-dock__brand-texture:hover {
    background: rgba(255, 180, 90, 0.2);
    border-color: rgba(255, 200, 120, 0.45);
    color: rgba(255, 251, 235, 0.98);
}

.joblife-furniture-orbit-dock__brand-texture:active {
    transform: scale(0.96);
}

.joblife-furniture-orbit-dock__scroll {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.joblife-furniture-orbit-dock__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    grid-auto-rows: min-content;
    justify-content: start;
    align-content: start;
    gap: 8px;
    padding: 10px 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

#joblife-furniture-orbit-dock-list {
    height: 220px;
    max-height: min(28vh, 220px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.joblife-furniture-orbit-dock__list.joblife-furniture-orbit-dock__list--texture {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    align-items: start;
}

.joblife-furniture-orbit-dock__list.joblife-furniture-orbit-dock__list--texture .joblife-furniture-orbit-dock__cell--texture {
    width: 100%;
    max-width: 168px;
    justify-self: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.joblife-furniture-orbit-dock__list.joblife-furniture-orbit-dock__list--texture .joblife-furniture-orbit-dock__cell--texture:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: transparent;
}

.joblife-furniture-orbit-dock__list.joblife-furniture-orbit-dock__list--texture .joblife-furniture-orbit-dock__cell--texture.is-selected .tablet-shelltexture-tex-card {
    outline: 2px solid rgba(77, 140, 255, 0.95);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px rgba(77, 140, 255, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.joblife-furniture-orbit-dock__list.joblife-furniture-orbit-dock__list--texture .tablet-shelltexture-tex-card--compact {
    min-height: 0;
    height: auto;
}

.joblife-furniture-orbit-dock__tex-meta {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    color: rgba(186, 198, 216, 0.95);
    text-align: center;
    width: 100%;
    padding: 4px 4px 6px;
    box-sizing: border-box;
    word-break: break-word;
}

#joblife-furniture-orbit-dock-list.joblife-furniture-orbit-dock__list--texture .tablet-shelltexture-tex-header {
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

#joblife-furniture-orbit-dock-list.joblife-furniture-orbit-dock__list--texture .tablet-shelltexture-tex-title {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
}

#joblife-furniture-orbit-dock-list.joblife-furniture-orbit-dock__list--texture .tablet-shelltexture-pack-owned-badge {
    font-size: 9px;
    padding: 2px 6px;
}

.joblife-furniture-orbit-dock__empty {
    grid-column: 1 / -1;
    color: rgba(148, 163, 184, 0.95);
    font-size: 13px;
    padding: 6px 4px;
}

.joblife-furniture-orbit-dock__cell {
    width: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 4px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.joblife-furniture-orbit-dock__cell:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 200, 120, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 180, 80, 0.25), 0 6px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.joblife-furniture-orbit-dock__cell:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.joblife-furniture-orbit-dock__cell-thumb {
    width: 88px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.joblife-furniture-orbit-dock__cell-thumb .catalog-furniture-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.joblife-furniture-orbit-dock__cell-name {
    width: 100%;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(248, 250, 252, 0.96);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.joblife-furniture-orbit-dock__cell-amt {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(186, 198, 216, 0.95);
}