
.langsw { position: relative; display: inline-flex; align-items: center; }
.langsw-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border: 1.5px solid #eee; border-radius: 50px;
    background: #fff; color: #333; font-family: "Outfit", sans-serif;
    font-size: 14px; font-weight: 500; cursor: pointer; line-height: 1;
    transition: border-color .2s, background .2s; white-space: nowrap;
}
.langsw-trigger:hover { border-color: #FF8A3D; background: #FFF8F0; }
.langsw-trigger .fi { width: 18px; height: 13px; border-radius: 2px; flex-shrink: 0; }
.langsw-code { font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.langsw-chevron { width: 10px; height: 10px; flex-shrink: 0; transition: transform .2s; color: #999; }
.langsw.open .langsw-chevron { transform: rotate(180deg); }
.langsw-panel {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: #fff; border: 1px solid #eee; border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.10); min-width: 170px;
    z-index: 2000; padding: 6px; max-height: 340px; overflow-y: auto;
}
.langsw.open .langsw-panel { display: block; }
.langsw-item {
    display: flex; align-items: center; gap: 9px; padding: 8px 10px;
    border-radius: 8px; font-size: 14px; color: #333;
    text-decoration: none; transition: background .15s; white-space: nowrap;
}
.langsw-item:hover { background: #FFF8F0; }
.langsw-item-active { background: #FFF8F0; font-weight: 600; color: #FF8A3D; }
.langsw-item .fi { width: 20px; height: 15px; border-radius: 2px; flex-shrink: 0; }
@media (max-width: 900px) {
    .langsw-panel { right: auto; left: 0; }
}
        :root {
            --ink: #1B1A2E;
            --ink-2: #4A4860;
            --ink-3: #8A8799;
            --line: #ECE7DF;
            --cream: #FAF7F2;
            --orange: #FF8A3D;
            --orange-deep: #E8742A;
            --orange-soft: #FFF3E9;
            --side: 264px;
            --head: 'Outfit', system-ui, sans-serif;
            --logo: 'Bricolage Grotesque', system-ui, sans-serif;
            --body: 'DM Sans', system-ui, sans-serif;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); min-height: 100vh; }
        a { color: inherit; }

        
        body { display: flex; align-items: flex-start; }
        .sidebar { position: sticky; top: 0; flex: none; height: 100vh; width: var(--side); background: #fff; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; padding: 22px 16px 18px; z-index: 40; transition: transform .25s ease; }
        .sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
        .sidebar-logo img { width: 34px; height: 34px; flex: none; }
        .sidebar-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
        .nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
        .nav-item i { width: 20px; text-align: center; font-size: 16px; color: var(--ink-3); }
        .nav-item:hover { background: var(--cream); color: var(--ink); }
        .nav-item.active { background: var(--orange-soft); color: var(--ink); font-weight: 700; }
        .nav-item.active i { color: var(--orange-deep); }
        .sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
        .sidebar-footer .langsw { display: flex; }
        .sidebar-footer .langsw-trigger { width: 100%; justify-content: center; }
        
        .sidebar-footer .langsw { width: 100%; }
        .sidebar-footer .langsw-panel { top: auto !important; bottom: calc(100% + 8px) !important; left: 0 !important; right: 0 !important; width: auto !important; max-height: min(60vh, 360px); overflow-y: auto; z-index: 60; box-shadow: 0 -12px 28px -8px rgba(35, 28, 23, .25) !important; }
        .logout-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none; font: inherit; font-weight: 500; color: var(--ink-2); cursor: pointer; text-align: start; }
        .logout-btn i { width: 20px; text-align: center; color: var(--ink-3); }
        .logout-btn:hover { background: #FFEDE3; color: #8A3A0B; }
        [dir="rtl"] .logout-btn i { transform: scaleX(-1); }

        
        body .main-content { margin-left: 0 !important; margin-right: 0 !important; }
        body .nav-item.active { border-left: 0 !important; border-right: 0 !important; }
        body .sidebar { border-left: 0 !important; border-right: 0 !important; border-inline-end: 1px solid var(--line) !important; }

        
        .topbar { display: none; }
        .overlay { display: none; }

        
        .main-content { flex: 1; min-width: 0; padding: 40px clamp(20px, 4vw, 56px) 56px; }
        .inner { max-width: 1080px; margin: 0 auto; }
        .page-header { margin-bottom: 28px; }
        .page-title { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
        .page-subtitle { margin-top: 8px; font-size: 18px; color: var(--ink-2); }

        
        .tg-h { margin: 30px 0 14px; font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
        .tg-h:first-of-type { margin-top: 4px; }
        .tg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
        .tc { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 190px; padding: 22px; border: 2px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 0 4px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
        .tc:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
        .tc:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
        .tc:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
        .tc.feat { background: var(--orange-soft); }
        .tc-ico { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font-size: 19px; }
        .tc.feat .tc-ico { background: #fff; }
        .tc-n { font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; }
        .tc-d { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
        .tc-go { position: absolute; bottom: 20px; inset-inline-end: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
        .tc:hover .tc-go, .tc:focus-visible .tc-go { opacity: 1; transform: none; }
        [dir="rtl"] .tc-go i { transform: scaleX(-1); }
        .tc-tag { position: absolute; top: 20px; inset-inline-end: 20px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }

        @media (max-width: 1100px) {
            .tg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 768px) {
            body { display: block; }
            .sidebar { position: fixed; top: 0; bottom: 0; left: 0; height: auto; transform: translateX(-100%); box-shadow: none; visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
            [dir="rtl"] .sidebar, .sidebar:dir(rtl) { left: auto; right: 0; }
            [dir="rtl"] .sidebar, .sidebar:dir(rtl) { transform: translateX(100%); }
            .sidebar.show { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .15); visibility: visible; transition: transform .25s ease; }
            .overlay { display: block; position: fixed; inset: 0; background: rgba(35, 28, 23, .4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 30; }
            .overlay.show { opacity: 1; pointer-events: auto; }
            .topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
            .topbar .sidebar-logo { padding: 0; font-size: 17px; }
            .topbar .sidebar-logo img { width: 30px; height: 30px; }
            .mobile-toggle { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 18px; color: var(--ink); cursor: pointer; }
            .main-content { padding: 24px 16px 40px; }
            .page-title { font-size: 30px; }
            .page-subtitle { font-size: 16px; }
            .page-header { margin-bottom: 14px; }
            .tg-h { margin: 22px 0 10px; font-size: 18px; }
            .tg { grid-template-columns: 1fr; gap: 10px; }
            .tc { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; min-height: 0; padding: 14px 16px; border-width: 1.5px; border-radius: 18px; box-shadow: none; }
            .tc:hover, .tc:active { transform: none; box-shadow: none; }
            .tc-ico { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; font-size: 17px; }
            .tc-n { font-size: 16.5px; }
            .tc-d { font-size: 13.5px; line-height: 1.4; }
            .tc-go { display: none; }
            .tc-tag { position: static; grid-column: 2; justify-self: start; margin-top: 6px; font-size: 11px; }
            .tc.feat { border-color: var(--orange); }
        }
            
        body { background: #fff; }
        .sidebar-logo { font-family: var(--logo); letter-spacing: -0.02em; }
        .logout-btn:hover { background: var(--cream); color: var(--ink); }
        .tc { border: 1.5px solid var(--line); box-shadow: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
        .tc:hover { transform: translateY(-2px); border-color: #D9D1C5; box-shadow: 0 22px 40px -28px rgba(27, 26, 46, .35); }
        .tc:active { transform: none; box-shadow: none; }
        .tc.feat { border-color: #FFD3B3; }
        
        .tg ~ .tg .tc-ico { background: #F1EEFF; color: #5B47C9; }
        .tg ~ .tg .tc.feat .tc-ico { background: #fff; }
        .tc-tag { background: var(--orange); }
        @media (max-width: 768px) {
            .overlay { background: rgba(27, 26, 46, .4); }
            .tc:hover { transform: none; box-shadow: none; }
            .tc.feat { border-color: #FFD3B3; }
        }


        
        .tc { padding: 0; overflow: hidden; gap: 0; min-height: 0; }
        .tc-vis { display: flex; align-items: center; justify-content: center; height: 150px; background: var(--orange-soft); }
        .tg ~ .tg .tc-vis { background: #F1EEFF; }
        .tc.feat .tc-vis { background: #FFE6D3; }
        .tc-ico { display: none; }
        .tc-n { padding: 18px 20px 0; } .tc-d { padding: 6px 20px 20px; }
        .tc-tag { top: 14px; inset-inline-end: 14px; }
        .tc-go { bottom: 18px; inset-inline-end: 18px; }
        
        .tc-vis img { display: block; object-fit: cover; }
        .v-back { position: relative; width: 74px; height: 108px; padding: 14px 10px; border-radius: 3px 8px 8px 3px; background: #3A2A4A; box-shadow: 0 16px 24px -14px rgba(0,0,0,.5); }
        .v-back i { display: block; height: 3px; margin-bottom: 6px; border-radius: 3px; background: rgba(255,255,255,.45); } .v-back i.s { width: 65%; }
        .v-back .bc, .v-wrap .bc { position: absolute; left: 10px; bottom: 10px; width: 28px; height: 16px; border-radius: 2px; background: repeating-linear-gradient(90deg, #fff 0 2px, #ddd 2px 3px); }
        .v-wrap { display: flex; height: 108px; border-radius: 3px; overflow: hidden; box-shadow: 0 16px 24px -14px rgba(0,0,0,.5); }
        .v-wrap .bk { position: relative; width: 72px; padding: 12px 8px; background: #8F3B4D; }
        .v-wrap .bk i { display: block; height: 3px; margin-bottom: 5px; border-radius: 3px; background: rgba(255,255,255,.45); } .v-wrap .bk i.s { width: 60%; }
        .v-wrap .sp { width: 12px; background: #6E2C3B; }
        .v-wrap img { width: 72px; height: 108px; }
        .v-bio { display: flex; align-items: center; gap: 12px; width: 170px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 14px 24px -16px rgba(0,0,0,.35); }
        .v-bio .av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font-size: 17px; }
        .v-bio .ln { flex: 1; } .v-bio .ln i { display: block; height: 5px; margin: 6px 0; border-radius: 5px; background: #ECE7DF; } .v-bio .ln i:first-child { width: 70%; background: #D9D1C5; } .v-bio .ln i.s { width: 55%; }
        .v-vid { position: relative; width: 168px; height: 95px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 16px 24px -14px rgba(0,0,0,.55); }
        .v-vid img, .v-vid video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
        .v-vid .pl { position: absolute; inset: 0; display: grid; place-items: center; }
        .v-vid .pl i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; padding-left: 3px; }
        .v-vid .bar { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); } .v-vid .bar i { display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--orange); }
        .v-promo { display: flex; align-items: center; gap: 12px; }
        .v-promo span { display: grid; place-items: center; border-radius: 9px; box-shadow: 0 14px 22px -14px rgba(0,0,0,.45); }
        .v-promo .sq { width: 92px; height: 92px; background: #C94F5E; } .v-promo .sq img { width: 40px; height: 60px; border-radius: 2px 4px 4px 2px; }
        .v-promo .st { width: 64px; height: 112px; background: #2F3B5C; } .v-promo .st img { width: 36px; height: 54px; border-radius: 2px 4px 4px 2px; }
        .v-3d { perspective: 600px; }
        .v-3d span { position: relative; display: block; width: 74px; height: 111px; transform: rotateY(-28deg); transform-style: preserve-3d; }
        .v-3d img { width: 100%; height: 100%; border-radius: 2px 5px 5px 2px; box-shadow: 0 18px 26px -12px rgba(0,0,0,.55); }
        .v-3d span::after { content: ""; position: absolute; top: 3px; bottom: 3px; right: -11px; width: 11px; background: repeating-linear-gradient(0deg, #fff 0 1px, #E5DDD2 1px 2px); transform: rotateY(90deg); transform-origin: left; }
        @media (max-width: 768px) {
            .tc { display: grid; grid-template-columns: 120px minmax(0, 1fr); padding: 0; }
            .tc-vis { grid-row: 1 / span 3; height: auto; min-height: 110px; transform: scale(.62); transform-origin: center; background: none; }
            .tc { background-image: linear-gradient(90deg, var(--orange-soft) 120px, #fff 120px); }
            .tg ~ .tg .tc { background-image: linear-gradient(90deg, #F1EEFF 120px, #fff 120px); }
            .tc.feat { background-image: linear-gradient(90deg, #FFE6D3 120px, var(--orange-soft) 120px); }
            .tc-n { grid-column: 2; padding: 14px 14px 0; } .tc-d { grid-column: 2; padding: 2px 14px 14px; }
            .tc-tag { grid-column: 2; margin: 0 14px 14px; }
        }

        
        body.guest { display: block; }
        .gnav { display: flex; align-items: center; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; }
        .gnav-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--logo); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
        .gnav-brand img { width: 32px; height: 32px; }
        .gnav-links { margin-inline-start: auto; display: flex; align-items: center; gap: 24px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
        .gnav-links > a { text-decoration: none; }
        .gnav-links > a:hover, .gnav-links > a.on { color: var(--ink); }
        .gnav-links > a.on { font-weight: 700; }
        .gnav-cta { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff !important; font-weight: 700; }
        .guest .main-content { padding-top: 24px; }
        .guest .inner { max-width: 1120px; }
        @media (max-width: 768px) {
            .gnav { height: 62px; padding: 0 16px; gap: 12px; }
            .gnav-brand { font-size: 17px; } .gnav-brand img { width: 28px; height: 28px; }
            .gnav-links { gap: 12px; }
            .gnav-links > a:not(.gnav-cta) { display: none; }
            .gnav-cta { height: 38px; padding: 0 14px; font-size: 14px; }
            .guest .main-content { padding-top: 12px; }
        }
