html {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight-background) transparent
}

:root {
    --card-radius: 12px;
    --card-bg: #21283b9c;
    --card-border: rgba(148, 163, 184, .18);
    --shadow: 0 10px 25px rgba(15, 23, 42, .30);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, .28);
    --muted: rgb(100, 116, 139);
    --line: rgba(148, 163, 184, .18);
    --star: #f59e0b;
    --star-off: rgba(148, 163, 184, .55);
    --header-h: 72px;
    --sidebar-w: 280px;
    --bg: #141425 !important;
    --surface: #21283b;
    --text: #e5e7eb;
    --muted2: rgba(226, 232, 240, .72);
    --border: rgba(148, 163, 184, .18);
    --primary: #30caff;
    --primary2: #0ea5e9;
    --chip-green-bg: #0b780a;
    --chip-green-br: #0b780a;
    --chip-blue-bg: #0a3f78;
    --chip-blue-br: #0a3f78;
    --color-highlight-background: #4f535f;
    --color-modal-background: #1d2234;
    --success: #4CAF50;
    --success-dark: #2d8100;
    --cover-h: 170px;
    --cover-pad: 14px;
    --cover-icon: 56px;
    --cover-icon-radius: 16px;
    --cover-title-size: 16px;
    --module-name-size: 16px;
    --module-desc-size: 12.5px;
    --btn-buy-pad-y: 8px;
    --btn-buy-pad-x: 14px;
    --grid-gap: 16px;
    --footer-bg: #21283b9c
}

html[data-theme="light"] {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #0f172a;
    --muted2: rgba(100, 116, 139, 1);
    --border: rgba(148, 163, 184, .25);
    --line: rgba(226, 232, 240, .9);
    --footer-bg: rgba(255, 255, 255, .85);
    --card-bg: #ffffff;
    --card-border: rgba(148, 163, 184, .35);
    --shadow: 0 10px 25px rgba(15, 23, 42, .08);
    --shadow-hover: 0 14px 32px rgba(15, 23, 42, .14);
    --star-off: rgba(148, 163, 184, .6)
}

* {
    box-sizing: border-box
}

body {
    padding: 0;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto', "Segoe UI Emoji", sans-serif
}

a {
    color: inherit
}

.app {
    min-height: 100vh
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: #21283b9c;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

html[data-theme="light"] .app-header {
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(226, 232, 240, .9)
}

.header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 14px
}

.left-pack {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.hamburger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease
}

html[data-theme="light"] .hamburger {
    background: rgba(255, 255, 255, .65)
}

.hamburger:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: rgba(148, 163, 184, .38)
}

.hamburger svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 10px 18px rgba(0, 188, 212, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.brand-badge svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.brand-text strong {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1
}

.brand-text a {
	font-family: "Science Gothic", sans-serif;
    font-weight: 400;
}

.brand-text span {
    font-size: 13px;
    color: var(--muted2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.badge-dle {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .15);
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap
}

html[data-theme="light"] .badge-dle {
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.badge-dle i {
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .14);
    color: rgba(254, 202, 202, .95)
}

html[data-theme="light"] .badge-dle i {
    color: rgba(127, 29, 29, 1);
    border-color: rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .10)
}

.icon-btn {
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap
}

html[data-theme="light"] .icon-btn {
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.icon-btn:hover {
    box-shadow: var(--shadow);
    border-color: rgba(148, 163, 184, .38)
}

.icon-btn:active {
    transform: translateY(0)
}

.icon-btn:focus-visible {
    outline: 2px solid rgba(14, 165, 233, .55);
    outline-offset: 2px
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.user-wrap {
    position: relative
}

.user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    user-select: none;
    white-space: nowrap
}

html[data-theme="light"] .user-box {
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.user-box:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: rgba(148, 163, 184, .38)
}

.user-box:focus-visible {
    outline: 2px solid rgba(14, 165, 233, .55);
    outline-offset: 2px
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    flex: 0 0 auto;
    position: relative;
    overflow: hidden
}

.user-avatar::after {
    content: "";
    position: absolute;
    inset: -16px;
    background: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.7px) 0 0 / 18px 18px, radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.7px) 9px 9px / 18px 18px;
    opacity: .7;
    transform: rotate(-6deg);
    pointer-events: none
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.user-meta b {
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.user-meta i {
    font-style: normal;
    font-size: 12px;
    line-height: 1.1;
    color: var(--muted2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.user-caret {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .9
}

.user-caret svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.dropdown {
    position: absolute;
    top: calc(100%+10px);
    right: 0;
    width: 240px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, .20);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transform-origin: top right;
    transform: translateY(-6px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease;
    z-index: 70
}

html[data-theme="light"] .dropdown {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(148, 163, 184, .30);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .14)
}

.dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1)
}

.dropdown-head {
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .18)
}

html[data-theme="light"] .dropdown-head {
    border-bottom-color: rgba(226, 232, 240, .9)
}

.dropdown-head b {
    display: block;
    font-size: 13px;
    font-weight: 900
}

.dropdown-head span {
    display: block;
    font-size: 12px;
    color: var(--muted2);
    margin-top: 2px
}

.dropdown-list {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    text-decoration: none
}

html[data-theme="light"] .dd-item {
    background: rgba(15, 23, 42, .03)
}

.dd-item:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .dd-item:hover {
    background: rgba(15, 23, 42, .06)
}

.dd-item svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95;
    flex: 0 0 auto
}

.dd-item span {
    font-size: 13px;
    font-weight: 800
}

.app-body {
    position: relative;
    min-height: calc(100vh - var(--header-h))
}

.left-sidebar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: var(--sidebar-w);
    height: calc(100vh - var(--header-h));
    border-right: 1px solid rgba(148, 163, 184, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    display: flex;
	background: var(--card-bg);
    flex-direction: column
}

html[data-theme="light"] .left-sidebar {
    background: rgba(255, 255, 255, .85);
    border-right-color: rgba(226, 232, 240, .9)
}

.sidebar-head {
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.sidebar-head strong {
    font-size: 14px;
    letter-spacing: -.01em;
    font-weight: 900
}

.sidebar-head span {
    font-size: 12px;
    color: var(--muted2)
}

.sidebar-nav {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight-background) transparent
}

.cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    text-decoration: none
}

html[data-theme="light"] .cat-link {
    background: rgba(255, 255, 255, .65);
    border-color: rgba(148, 163, 184, .25)
}

.cat-link:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .cat-link:hover {
    background: rgba(255, 255, 255, .85)
}

.cat-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95;
    flex: 0 0 auto
}

.cat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.cat-text b {
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400
}

.cat-text i {
    font-style: normal;
    font-size: 12px;
    color: var(--muted2);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.sidebar-footer {
    margin-top: auto;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.tg-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap
}

html[data-theme="light"] .tg-btn {
    background: rgba(255, 255, 255, .65);
    border-color: rgba(148, 163, 184, .25)
}

.tg-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .tg-btn:hover {
    background: rgba(255, 255, 255, .85)
}

.tg-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.site-created {
    font-size: 12px;
    color: var(--muted2);
    display: flex;
    align-items: center;
    gap: 8px
}

.site-created svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9
}

.content {
    margin-left: var(--sidebar-w);
    padding: 22px 0 0
}

.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.15
}

.section-title small {
    font-weight: 700;
    font-size: 13px;
    color: var(--muted2);
    margin-left: 10px
}

.section-link {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid rgba(148, 163, 184, .18);
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .12)
}

html[data-theme="light"] .section-link {
    background: rgba(255, 255, 255, .65);
    border-color: rgba(226, 232, 240, .9);
    color: #0d518d;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.section-link:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .section-link:hover {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(148, 163, 184, .45)
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: stretch
}

.module-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(148, 163, 184, .28)
}

.module-cover {
    position: relative;
    height: var(--cover-h);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--cover-pad);
    color: #fff;
    overflow: hidden
}

.module-cover::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(rgb(255 255 255 / 37%) 1px, transparent 1.6px) 0 0 / 22px 22px, radial-gradient(rgba(255, 255, 255, .08) 1px, #00000040 1.6px) 11px 11px / 22px 22px;
    opacity: .75;
    transform: rotate(-4deg);
    pointer-events: none
}

.module-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .0), rgba(0, 0, 0, .22));
    pointer-events: none
}

.bg-violet {
    background: linear-gradient(135deg, #3b2a5f, #4a3a72)
}

.bg-slate {
    background: linear-gradient(135deg, #214a57, #2e5a6b)
}

.bg-indigo {
    background: linear-gradient(135deg, #38448e, #2f3a78)
}

.bg-green {
    background: linear-gradient(135deg, #1fb55e, #2aa35c)
}

.bg-purple {
    background: linear-gradient(135deg, #7b3ac4, #6b45a7)
}

.bg-navy {
    background: linear-gradient(135deg, #1b2f6b, #1f3a7a)
}

.chips {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 900;
    border-radius: 9px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: fit-content;
    line-height: 1.2
}

.chip--green {
    background: rgba(34, 197, 94, .22);
    border-color: rgba(34, 197, 94, .35)
}

.chip--blue {
    background: rgba(59, 130, 246, .22);
    border-color: rgba(59, 130, 246, .35)
}

.cover-center {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: var(--cover-icon) 1fr;
    gap: 12px;
    align-items: center;
    max-width: 360px
}

.cover-icon {
    width: var(--cover-icon);
    height: var(--cover-icon);
    border-radius: var(--cover-icon-radius);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18)
}

.cover-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.cover-title {
    margin: 0;
    font-size: var(--cover-title-size);
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25)
}

.cover-brand {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .10em;
    color: rgba(15, 23, 42, .92);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .9);
    padding: 3px 8px;
    border-radius: 7px;
    text-transform: uppercase;
    white-space: nowrap
}

.module-body {
    padding: 12px 14px 8px;
    flex: 1 1 auto;
    min-width: 0
}

.module-name {
    margin: 0 0 6px;
    font-size: var(--module-name-size);
    font-weight: 400;
    color: var(--text);
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.module-desc {
    margin: 0;
    color: var(--muted2);
    font-size: var(--module-desc-size);
    line-height: 1.52;
    min-height: 52px
}

.module-divider {
    height: 1px;
    background: var(--line);
    margin: 10px 0
}

.module-footer {
    padding: 0 14px 12px
}

.module-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.buy-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.btn-buy {
    border-radius: 12px;
    padding: var(--btn-buy-pad-y) var(--btn-buy-pad-x);
    font-weight: 950;
    box-shadow: 0 14px 22px rgba(0, 188, 212, .18);
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    transition: transform .12s ease, filter .12s ease
}

.btn-buy:hover {
    filter: brightness(1.05);
    transform: translateY(-1px)
}

.btn-buy:active {
    filter: brightness(.98);
    transform: translateY(0)
}

.price {
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -.02em;
    color: var(--text);
    white-space: nowrap
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    white-space: nowrap
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 3px
}

.star {
    width: 18px;
    height: 18px;
    display: inline-block
}

.star svg {
    width: 18px;
    height: 18px;
    fill: var(--star-off)
}

.star.on svg {
    fill: var(--star)
}

.count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted2);
    font-size: 13px;
    font-weight: 900
}

.count svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9
}

.page-footer {
    margin-top: 22px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: var(--footer-bg);
    overflow: hidden;
    box-shadow: var(--shadow)
}

html[data-theme="light"] .page-footer {
    border-color: rgba(226, 232, 240, .9)
}

.footer-top {
    padding: 18px 18px 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative
}

.footer-top::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.6px) 0 0 / 22px 22px, radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.6px) 11px 11px / 22px 22px;
    opacity: .6;
    transform: rotate(-3deg);
    pointer-events: none
}

html[data-theme="light"] .footer-top::before {
    opacity: .35
}

.footer-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    flex: 1 1 280px
}

.footer-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 14px 26px rgba(14, 165, 233, .20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.footer-badge svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.footer-brand b {
    display: block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -.01em
}

.footer-brand span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted2);
    max-width: 520px
}

.footer-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 320px
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    color: var(--text);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    white-space: nowrap
}

html[data-theme="light"] .footer-pill {
    background: rgba(255, 255, 255, .65)
}

.footer-pill:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .footer-pill:hover {
    background: rgba(255, 255, 255, .92)
}

.footer-pill svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, .18);
    padding: 12px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted2);
    font-size: 12px;
    position: relative
}

html[data-theme="light"] .footer-bottom {
    border-top-color: rgba(226, 232, 240, .9)
}

.footer-bottom b {
    color: var(--text);
    font-weight: 950
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
    z-index: 80
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(86vw, 340px);
    background: rgb(36 40 53);
    border-right: 1px solid rgba(148, 163, 184, .18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-104%);
    transition: transform .18s ease;
    z-index: 90;
    display: flex;
    flex-direction: column
}

html[data-theme="light"] .drawer {
    background: rgba(255, 255, 255, .92);
    border-right-color: rgba(226, 232, 240, .9)
}

.drawer.open {
    transform: translateX(0)
}

.drawer-top {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .18)
}

html[data-theme="light"] .drawer-top {
    border-bottom-color: rgba(226, 232, 240, .9)
}

.drawer-top b {
    font-weight: 950;
    font-size: 14px
}

.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

html[data-theme="light"] .drawer-close {
    background: rgba(255, 255, 255, .65)
}

.drawer-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.drawer-body {
    padding: 12px;
    overflow: auto
}

.drawer-body .sidebar-nav {
    padding: 0
}

.drawer-body .sidebar-footer {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    margin-top: 12px
}

@media (max-width:1100px) {
    .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:860px) {
    .hamburger {
        display: flex
    }
    .left-sidebar {
        display: none
    }
    .content {
        margin-left: 0;
        padding-top: 18px
    }
    .brand-text span {
        display: none
    }
    .badge-dle {
        display: none
    }
}

@media (max-width:560px) {
    :root {
        --cover-h: 158px;
        --cover-icon: 52px;
        --cover-title-size: 15px;
        --grid-gap: 12px
    }
    .modules-grid {
        grid-template-columns: 1fr
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start
    }
    .section-link {
        width: 100%;
        justify-content: center
    }
    .user-meta {
        display: none
    }
    .badge-dle {
        display: inline-flex;
        height: 38px
    }
    .icon-btn {
        padding: 0 10px
    }
}

@media (max-width:420px) {
    .badge-dle {
        display: none
    }
    .header-actions {
        gap: 8px
    }
    .dropdown {
        width: 220px
    }
}

.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--muted2)
}

.breadcrumb-separator {
    opacity: 0.5
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 600
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none
}

.btn-primary:hover {
    transform: translateY(0) !important
}

.btn-primary:active {
    transform: translateY(0)
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary)
}

.btn-telegram {
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap
}

.btn-telegram:hover {
    background: #0077b3
}

.btn-telegram svg {
    width: 20px;
    height: 20px
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s
}

.modal.show {
    opacity: 1
}

.modal-content {
    background: var(--surface);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s
}

.modal.show .modal-content {
    transform: translateY(0)
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.modal-header h3 {
    margin: 0;
    font-size: 18px
}

.modal-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1)
}

.modal-body {
    padding: 20px
}



.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--muted2)
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.search-container {
    position: relative
}

.search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px 10px 16px;
    color: var(--text);
    width: 250px;
    font-size: 14px;
    transition: all 0.2s
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    width: 300px;
    background: rgba(255, 255, 255, 0.1)
}

.search-container svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted2)
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    max-height: 400px;
    margin-right: -15px;
    margin-left: -0.8rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight-background) transparent
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.2s
}

.search-result-item:last-child {
    border-bottom: none
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05)
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.search-result-info {
    flex: 1;
    min-width: 0
}

.search-result-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.search-result-info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.search-result-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--muted2)
}

.toolbar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.search {
    flex: 1;
    min-width: 200px
}

.filters {
    display: flex;
    gap: 12px
}

.select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    min-width: 160px;
    transition: all 0.2s
}

.select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1)
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
	display: none;
    margin: 30px 0
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary)
}

.pagination-btn svg {
    width: 16px;
    height: 16px
}

.pagination-numbers {
    display: flex;
    gap: 4px
}

.pagination-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s
}

.pagination-number:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary)
}

.pagination-current {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 600
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s
}

.stat-card:hover {}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1
}

.stat-label {
    font-size: 14px;
    color: var(--muted2);
    margin-top: 4px
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin: 24px 0
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.2s
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2)
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: white
}

.category-info h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.category-info p {
    margin: 0;
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5
}

.features-section {
    margin: 40px 0
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s
}

.feature-card:hover {
    transform: translateY(-3px)
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 18px
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.5
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 24px 0
}

@media (max-width:992px) {
    .product-layout {
        grid-template-columns: 1fr
    }
}

.product-cover {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px
}

.product-cover-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px
}

.product-cover-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px
}

.product-cover-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px
}

.product-cover-icon svg {
    width: 40px;
    height: 40px;
    color: white
}

.product-title {
    font-size: 32px;
    font-weight: 300;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3)
}

.product-chips {
    padding: 1rem
}

.product-developer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    z-index: 2;
    text-align: center
}

.product-info {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted2)
}

.product-meta-item svg {
    width: 18px;
    height: 18px
}

.product-cover::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(rgb(255 255 255 / 37%) 1px, transparent 1.6px) 0 0 / 22px 22px, radial-gradient(rgba(255, 255, 255, .08) 1px, #00000040 1.6px) 11px 11px / 22px 22px;
    opacity: .75;
    transform: rotate(-4deg);
    pointer-events: none
}

.product-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .0), rgba(0, 0, 0, .22));
    pointer-events: none
}

.screenshots-slider {
    margin: 20px 0
}

.screenshot-item {
    padding: 0 10px
}

.screenshot-item a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s
}

.screenshot-item a:hover {
    transform: translateY(-2px)
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.comment-form {
    margin-bottom: 30px
}

.comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 100px
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary)
}

.comments-list {
    margin-top: 20px
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border)
}

.comment-item:last-child {
    border-bottom: none
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.comment-avatar svg {
    width: 100%;
    height: 100%;
    color: var(--muted2)
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap
}

.comment-header strong {
    font-size: 14px
}

.comment-date {
    font-size: 12px;
    color: var(--muted2)
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text)
}

.comment-actions {
    margin-top: 8px
}

.comment-reply {
    background: #007f00;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 5px;
}

.comment-reply:hover {
    background: #005300;
}

.comment-delete {
	border: none;
    background: #d12424;
    border-radius: 5px;
}

.comment-delete:hover {
    background: #a51d1d;
}

.comment-reply-info button {
	border: none;
    background: red;
    border-radius: 5px;
}

.side-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px
}

.side-card h3 {
    margin: 0 0 20px;
    font-size: 18px
}

.kv {
    margin-bottom: 20px
}

.kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border)
}

.kv-row:last-child {
    border-bottom: none
}

.kv-row b {
    font-size: 14px;
    color: var(--muted2)
}

.kv-row span {
    font-size: 14px;
    font-weight: 600
}

.rating {
    text-align: center;
    margin: 20px 0
}

.rating-value {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0
}

.rating-count {
    font-size: 14px;
    color: var(--muted2);
    font-weight: normal
}

.user-rating {
    margin-top: 16px
}

.rating-stars-select {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px
}

.star-select {
    cursor: pointer;
    color: var(--star-off);
    transition: color 0.2s
}

.star-select:hover,
.star-select:hover~.star-select {
    color: var(--star)
}

.btn-wide {
    width: 100%;
    justify-content: center
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s
}

.mini-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(4px)
}

.mini-item b {
    font-size: 14px
}

.mini-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary)
}

.search-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin: 24px 0
}

@media (max-width:768px) {
    .search-layout {
        grid-template-columns: 1fr
    }
}

.filter-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px
}

.filter-card h3 {
    margin: 0 0 16px;
    font-size: 16px
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s
}

.filter-item:hover {
    background: rgba(255, 255, 255, 0.05)
}

.filter-item.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.3)
}

.filter-count {
    font-size: 12px;
    color: var(--muted2);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px)
}

.tag.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-color: rgba(14, 165, 233, 0.3)
}

.tag-count {
    font-size: 12px;
    color: var(--muted2)
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text)
}

.stat-label {
    font-size: 14px;
    color: var(--muted2);
    margin-top: 4px
}

.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.purchase-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.2s
}

.purchase-card:hover {
    border-color: var(--primary)
}

.purchase-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0
}

.purchase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.purchase-image svg {
    width: 100%;
    height: 100%;
    color: var(--muted2);
    padding: 20px
}

.purchase-info {
    flex: 1
}

.purchase-info h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.purchase-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap
}

.purchase-order,
.purchase-date {
    font-size: 14px;
    color: var(--muted2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px
}

.btn-icon {
    padding-left: 11px;
    padding-right: 11px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid var(--pf-border) !important;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .12s ease, background .12s ease, border-color .12s ease !important;
    cursor: pointer !important;
    user-select: none !important
}

.purchase-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3)
}

.status-paid {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3)
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3)
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3)
}

.purchase-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary)
}

.purchase-actions {
    display: flex;
    gap: 8px
}

.form-group {
    margin-bottom: 24px
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary)
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted2)
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.checkbox,
.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer
}

.checkbox input,
.radio input {
    margin: 0
}

.checkbox span,
.radio span {
    font-size: 14px
}

.settings-danger {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(239, 68, 68, 0.3)
}

.settings-danger h3 {
    color: #ef4444;
    margin-bottom: 16px
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(0) !important
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted2)
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--border)
}

.empty-state h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--text)
}

.empty-state p {
    margin: 0 0 24px;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto
}

@media (max-width:768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px
    }
    .profile-stats {
        justify-content: center
    }
    .purchase-card {
        flex-direction: column;
        text-align: center
    }
    .purchase-meta {
        justify-content: center
    }
    .purchase-actions {
        width: 100%;
        justify-content: center
    }
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted2);
    font-size: 12px;
    margin-bottom: 10px
}

.crumbs a {
    color: var(--muted2);
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    padding: 6px 10px;
    border-radius: 999px;
    transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease
}

html[data-theme="light"] .crumbs a {
    background: rgba(255, 255, 255, .7);
    border-color: rgba(148, 163, 184, .25)
}

.crumbs a:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, .35);
    color: var(--text);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .crumbs a:hover {
    background: rgba(255, 255, 255, .92)
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--content-gap);
    align-items: start
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-width: 0
}

.post-hero {
    position: relative;
    min-height: var(--hero-h);
    background: linear-gradient(135deg, rgba(0, 188, 212, .22), rgba(14, 165, 233, .18));
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    overflow: hidden
}

html[data-theme="light"] .post-hero {
    background: linear-gradient(135deg, rgba(0, 188, 212, .18), rgba(14, 165, 233, .12));
    border-bottom-color: rgba(226, 232, 240, .9)
}

.post-hero::before {
    content: "";
    position: absolute;
    inset: -50px;
    background: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.6px) 0 0 / 22px 22px, radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px) 11px 11px / 22px 22px;
    opacity: .65;
    transform: rotate(-3deg);
    pointer-events: none
}

.post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .32));
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.hero-title {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.02em;
    line-height: 1.15
}

.hero-sub {
    margin: 0;
    color: var(--muted2);
    font-size: 12.5px;
    line-height: 1.4
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--pill-border);
    background: var(--pill-bg);
    font-size: 12px;
    font-weight: 950;
    color: var(--text);
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .12)
}

html[data-theme="light"] .pill {
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.pill svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    transition: transform .12s ease, filter .12s ease;
    white-space: nowrap
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

.btn-primary:active {
    transform: translateY(0);
    filter: brightness(.98)
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    font-weight: 950;
    color: var(--text);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    white-space: nowrap
}

html[data-theme="light"] .btn-ghost {
    background: rgba(255, 255, 255, .7)
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .btn-ghost:hover {
    background: rgba(255, 255, 255, .92)
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.post-body {
    padding: 14px 16px 16px
}

.post-body h2 {
    font-size: 16px;
    font-weight: 950;
    margin: 0 0 10px;
    letter-spacing: -.01em
}

.post-body p {
    margin: 0 0 10px;
    color: var(--muted2);
    line-height: 1.7;
    font-size: 13.5px
}

.post-body ul {
    margin: 0 0 12px 18px;
    color: var(--muted2);
    line-height: 1.65;
    font-size: 13.5px
}

.callout {
    margin: 12px 0 14px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, .22);
    background: var(--accent-soft);
    color: var(--text)
}

.callout b {
    font-weight: 950
}

.callout p {
    margin: 6px 0 0;
    color: var(--muted2)
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 12px 0
}

pre {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    overflow: auto;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10)
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.55;
    white-space: pre;
    background: #2c303c;
    border-radius: 8px
}

.side-stack {
    display: flex;
    flex-direction: column;
    gap: var(--content-gap);
    position: sticky;
    top: calc(var(--header-h)+14px)
}

.side-card {
    padding: 14px
}

.side-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -.01em
}

.kv {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.kv-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06)
}

html[data-theme="light"] .kv-row {
    background: rgba(15, 23, 42, .03);
    border-color: rgba(148, 163, 184, .25)
}

.kv-row b {
    font-size: 12px;
    color: var(--muted2);
    font-weight: 400
}

.kv-row span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text);
    white-space: nowrap
}

.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line)
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 3px
}

.star {
    width: 18px;
    height: 18px;
    display: inline-block
}

.star svg {
    width: 18px;
    height: 18px;
    fill: var(--star-off)
}

.star.on svg {
    fill: var(--star)
}

.count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted2);
    font-size: 12px;
    font-weight: 950
}

.count svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9
}

.btn-wide {
    width: 100%;
    justify-content: center
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    transition: transform .12s ease, border-color .12s ease, background .12s ease
}

html[data-theme="light"] .mini-item {
    background: rgba(15, 23, 42, .03);
    border-color: rgba(148, 163, 184, .25)
}

.mini-item:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .mini-item:hover {
    background: rgba(15, 23, 42, .06)
}

.mini-item b {
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px
}

.mini-item span {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted2);
    white-space: nowrap
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.02em;
    line-height: 1.15
}

.page-title small {
    font-weight: 800;
    font-size: 12px;
    color: var(--muted2);
    margin-left: 10px;
    letter-spacing: .02em
}

.toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin-bottom: 14px
}

.search {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10)
}

html[data-theme="light"] .search {
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9;
    flex: 0 0 auto
}

.search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 400
}

.search input::placeholder {
    color: rgba(226, 232, 240, .55)
}

html[data-theme="light"] .search input::placeholder {
    color: rgba(100, 116, 139, .7)
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex: 0 0 auto
}

.select {
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    padding: 0 10px;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10);
    outline: none
}

html[data-theme="light"] .select {
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06)
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch
}

.module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .16s ease, box-shadow .16s ease
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover)
}

.cover {
    position: relative;
    height: var(--cover-h);
    padding: 12px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.cover::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px) 0 0 / 22px 22px, radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.6px) 11px 11px / 22px 22px;
    opacity: .7;
    transform: rotate(-4deg);
    pointer-events: none
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .00), rgba(0, 0, 0, .35));
    pointer-events: none
}

.bg-violet {
    background: linear-gradient(135deg, #3b2a5f, #4a3a72)
}

.bg-slate {
    background: linear-gradient(135deg, #214a57, #2e5a6b)
}

.bg-indigo {
    background: linear-gradient(135deg, #38448e, #2f3a78)
}

.bg-green {
    background: linear-gradient(135deg, #1fb55e, #2aa35c)
}

.bg-purple {
    background: linear-gradient(135deg, #7b3ac4, #6b45a7)
}

.bg-navy {
    background: linear-gradient(135deg, #1b2f6b, #1f3a7a)
}

.bg-red {
    background: linear-gradient(135deg, #c13a3a, #b13a4e)
}

.chips {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: inherit;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 20px)
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: fit-content;
    color: #fff;
    font-weight: 900;
    white-space: nowrap
}

.chip--green {
    background: var(--chip-green-bg);
    border-color: var(--chip-green-br);
    color: #eafff2
}

.chip--blue {
    background: var(--chip-blue-bg);
    border-color: var(--chip-blue-br);
    color: #eaf2ff
}

.cover-title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-weight: 400;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    font-size: 16px;
    line-height: 1.2;
    max-width: 100%
}

.card-body {
    padding: 12px 12px 10px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

.name {
    margin: 0;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.desc {
    margin: 0;
    color: var(--muted2);
    font-size: 12.8px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 62px
}

.divider {
    height: 1px;
    background: var(--line);
    margin-top: 2px
}

.card-footer {
    padding: 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.buy-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.btn-buy {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    transition: transform .12s ease, filter .12s ease;
    white-space: nowrap;
    font-size: 13px;
    box-shadow: none
}

.btn-buy:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

.btn-buy:active {
    transform: translateY(0);
    filter: brightness(.98)
}

.price {
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -.01em;
    white-space: nowrap
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-left: auto
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 3px
}

.star {
    width: 16px;
    height: 16px;
    display: inline-block
}

.star svg {
    width: 16px;
    height: 16px;
    fill: var(--star-off)
}

.star.on svg {
    fill: var(--star)
}

.count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted2);
    font-size: 12px;
    font-weight: 950
}

.count svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9
}

.pager {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(255, 255, 255, .06);
    box-shadow: var(--shadow)
}

html[data-theme="light"] .pager {
    background: rgba(255, 255, 255, .88);
    border-color: rgba(226, 232, 240, .9);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08)
}

.pager b {
    font-weight: 950
}

.pager-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    font-weight: 950;
    color: var(--text);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    white-space: nowrap
}

html[data-theme="light"] .btn-ghost {
    background: rgba(255, 255, 255, .7)
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10)
}

html[data-theme="light"] .btn-ghost:hover {
    background: rgba(255, 255, 255, .92)
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.quality-card h3 {
    margin-bottom: 10px
}

.quality-chips {
    margin: 8px 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.quality-kv {
    display: grid;
    gap: 10px
}

.quality-kv .kv-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06)
}

.quality-kv .kv-key {
    flex: 0 0 auto;
    max-width: 46%;
    border-radius: 10px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2;
    opacity: .9;
    white-space: nowrap
}

.quality-kv .kv-val {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    opacity: .92;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto
}

@media (max-width:520px) {
    .quality-kv .kv-row {
        flex-direction: column;
        gap: 8px
    }
    .quality-kv .kv-key {
        max-width: 100%;
        white-space: normal
    }
}

.quality-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, .10);
    font-size: 13px;
    line-height: 1.5;
    opacity: .85
}

.file-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08)
}

.file-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0
}

.file-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .12s ease, background .12s ease, border-color .12s ease
}

.file-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.file-btn:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .18)
}

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

.file-meta {
    min-width: 0;
    flex: 1 1 auto
}

.file-name {
    font-size: 14px;
    font-weight: 600;
    opacity: .95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-hint {
    margin-top: 4px;
    font-size: 12.5px;
    opacity: .75;
    line-height: 1.35
}

@media (max-width:520px) {
    .file-field {
        flex-direction: column;
        align-items: stretch
    }
    .file-btn {
        width: 100%;
        justify-content: center
    }
    .file-name {
        text-align: center
    }
}

.review-form-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px
}

.review-rating {
    text-align: right;
    min-width: 160px
}

.rating-stars-select .star-select {
    cursor: pointer
}

.star-select svg {
    opacity: .55;
    transition: .12s
}

.star-select.is-active svg {
    opacity: 1
}

.review-inline-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 8px;
    opacity: .9
}

.review-inline-rating .star {
    font-size: 14px;
    opacity: .35;
    line-height: 1
}

.review-inline-rating .star.is-on {
    opacity: 1;
    color: #ffd700
}

.review-inline-text {
    font-size: 13px;
    opacity: .8;
    margin-left: 6px
}

@media (max-width:520px) {
    .review-form-top {
        flex-direction: column
    }
    .review-rating {
        text-align: left
    }
}

.category-head-row {
    display: flex;
    align-items: flex-start;
    gap: 14px
}

.category-icon-large {
    flex: 0 0 auto;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08)
}

.category-icon-large svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.category-info {
    min-width: 0
}

.category-title {
    position: relative !important;
    margin: 0 !important;
    padding-right: 46px !important;
    padding: 0 !important;
    border-bottom: none !important
}

@media (max-width:520px) {
    .category-icon-large {
        width: 42px;
        height: 42px;
        border-radius: 12px
    }
    .category-head-row {
        gap: 12px
    }
}

.category-header {
    margin-bottom: 1rem
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 20000;
    opacity: 0;
    transition: opacity .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.modal.show {
    opacity: 1;
    display: flex !important
}

.modal .modal-content {
    width: min(520px, 100%);
    max-height: 90vh;
    background: var(--color-modal-background);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .6);
    position: relative;
    z-index: 20001;
    display: flex;
    flex-direction: column
}

.modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-align: left
}

.modal .modal-header h3 {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.modal .modal-close {
    flex: 0 0 auto;
    margin-left: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    opacity: .75
}

.modal .modal-close:hover {
    opacity: 1
}

.modal .modal-body {
    padding: 16px;
    overflow-y: auto
}

.modal .modal-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: .75
}

.modal .modal-close:hover {
    opacity: 1
}

.tgme_widget_login.large button.tgme_widget_login_button {
    font-size: 16px !important;
    line-height: 20px !important;
    padding: 9px 21px 11px !important;
    border-radius: 12px !important
}

button.tgme_widget_login_button {
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    border-radius: 17px;
    background-color: #262b3c !important;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 7px 16px 6px;
    margin: 0;
    border: none;
    color: #fff;
    cursor: pointer
}

:root {
    --pf-card-radius: 16px;
    --pf-soft-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    --pf-border: rgba(255, 255, 255, .08);
    --pf-border-strong: rgba(255, 255, 255, .12);
    --pf-muted: rgba(255, 255, 255, .72);
    --pf-muted2: rgba(255, 255, 255, .55)
}

.profile-wrap {
    max-width: 1180px;
    margin: 0 auto
}

.profile-surface {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-card-radius);
    box-shadow: var(--pf-soft-shadow)
}

.profile-header {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    margin-bottom: 14px;
    border-radius: var(--pf-card-radius);
    background: var(--card-bg);
    border: 1px solid var(--border)
}

.profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--pf-border);
    display: flex;
    align-items: center;
    justify-content: center
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.profile-avatar-large svg {
    width: 34px;
    height: 34px;
    opacity: .9;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7
}

.profile-info {
    min-width: 0
}

.profile-name {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: .2px
}

.profile-sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--pf-muted2);
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.profile-sub .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pf-border)
}

.profile-sub .pill svg {
    width: 16px;
    height: 16px;
    opacity: .9;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7
}

.profile-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px
}

.profile-stat {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pf-border);
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 140px
}

.profile-stat .stat-value {
    display: block;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2
}

.profile-stat .stat-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--pf-muted2)
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--pf-border);
    color: inherit;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
    cursor: pointer;
    user-select: none
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--pf-border-strong)
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    margin-top: -6px
}

.profile-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.profile-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid var(--pf-border);
    color: inherit;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease, border-color .12s ease
}

.profile-tab svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    opacity: .95
}

.profile-tab:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10);
}

.profile-tab.active {
    border-color: rgba(148, 163, 184, .35);
    background: var(--card-bg)
}

.tab-badge {
    margin-left: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800
}

.profile-content {
    padding: 18px;
    border-radius: var(--pf-card-radius);
    background: var(--card-bg);
    border: 1px solid var(--border)
}

.profile-content h2 {
    margin: 0 0 14px 0;
    font-size: 18px
}

.section-note {
    margin-top: -6px;
    margin-bottom: 14px;
    color: var(--pf-muted2);
    font-size: 13px
}

.empty-state {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--pf-card-radius);
    background: rgba(255, 255, 255, .03);
    border: 1px dashed rgba(255, 255, 255, .14)
}

.empty-state svg {
    width: 40px;
    height: 40px;
    opacity: .85;
    fill: none;
    stroke-width: 1.7
}

.empty-state h3 {
    margin: 10px 0 6px;
    font-size: 16px
}

.empty-state p {
    margin: 0 0 14px;
    color: var(--pf-muted2);
    font-size: 13px
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 8px;
    background: #066fd1;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: transform .12s ease, filter .12s ease
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.purchase-card {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: var(--pf-card-radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--pf-border)
}

.purchase-image {
    width: 78px;
    height: 78px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--pf-border);
    display: flex;
    align-items: center;
    justify-content: center
}

.purchase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.purchase-info {
    min-width: 0
}

.purchase-info h3 {
    margin: 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.purchase-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: var(--pf-muted2);
    font-size: 12px
}

.purchase-order {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pf-border)
}

.purchase-date {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pf-border)
}

.purchase-status {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    font-weight: 800
}

.status-pending {
    border-color: rgba(255, 193, 7, .35);
    background: rgba(255, 193, 7, .12)
}

.status-paid {
    border-color: rgba(0, 200, 83, .35);
    background: rgba(0, 200, 83, .12);
    color: #089b00
}

.status-completed {
    border-color: rgba(6, 111, 209, .35);
    background: rgba(6, 111, 209, .12)
}

.status-cancelled {
    border-color: rgba(255, 82, 82, .35);
    background: rgba(255, 82, 82, .12)
}

.purchase-price {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
	color: #fff !important;
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    min-width: 170px
}

.settings-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.form-group {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-card-radius);
    padding: 14px
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--pf-muted2);
    margin-bottom: 8px
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .18);
    color: inherit;
    outline: none
}

.form-group input[disabled] {
    opacity: .7;
    cursor: not-allowed
}

.form-group small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--pf-muted2)
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.checkbox,
.radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: var(--pf-muted)
}

.checkbox input,
.radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.checkbox span,
.radio span {
    position: relative;
    padding-left: 30px;
    line-height: 1.25
}

.checkbox span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
    transition: all .12s ease
}

.checkbox span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 4px;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity .12s ease
}

.checkbox input:checked+span::before {
    background: rgba(6, 111, 209, .20);
    border-color: rgba(6, 111, 209, .45)
}

.checkbox input:checked+span::after {
    border-left-color: #fff;
    border-bottom-color: #fff;
    opacity: 1
}

.checkbox:hover span::before {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .07)
}

.checkbox input:focus-visible+span::before {
    outline: 2px solid rgba(6, 111, 209, .6);
    outline-offset: 2px
}

.radio span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: all .12s ease
}

.radio span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    opacity: 0;
    transform: scale(.7);
    transition: all .12s ease
}

.radio input:checked+span::before {
    background: rgba(6, 111, 209, .20);
    border-color: rgba(6, 111, 209, .45)
}

.radio input:checked+span::after {
    opacity: 1;
    transform: scale(1)
}

.radio:hover span::before {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .07)
}

.radio input:focus-visible+span::before {
    outline: 2px solid rgba(6, 111, 209, .6);
    outline-offset: 2px
}

.settings-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.settings-danger {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--pf-card-radius);
    border: 1px solid rgba(255, 82, 82, .28);
    background: rgba(255, 82, 82, .08)
}

.settings-danger h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 900
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 82, 82, .15);
    border: 1px solid rgba(255, 82, 82, .35);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s ease, filter .12s ease
}

.btn-danger:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

.btn-danger svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7
}

.modules-grid.compact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

@media (max-width:980px) {
    .profile-header {
        grid-template-columns: 76px 1fr
    }
    .profile-actions {
        grid-column: 1 / -1;
        justify-content: flex-start
    }
    .purchase-card {
        grid-template-columns: 78px 1fr
    }
    .purchase-actions {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap
    }
    .settings-form {
        grid-template-columns: 1fr
    }
    .modules-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:560px) {
    .profile-avatar-large {
        width: 76px;
        height: 76px
    }
    .profile-stat {
        min-width: 0;
        flex: 1 1 140px
    }
    .modules-grid.compact {
        grid-template-columns: 1fr
    }
}

.rating-stars-select {
    display: flex;
    gap: 4px;
    margin-top: 8px
}

.star-select {
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.star-select:hover {
    transform: scale(1.2)
}

.star-select svg {
    width: 24px;
    height: 24px
}

.star-select:hover~.star-select {
    transform: scale(1)
}

.star-select svg path[fill="#ffd700"] {
    fill: #ffd700 !important
}

.star-select svg path {
    stroke: #ffd700;
    stroke-width: 1.5;
    transition: fill 0.2s ease
}

.stars {
    display: flex;
    gap: 2px
}

.stars .star {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.stars .star svg {
    width: 16px;
    height: 16px
}

.stars .star.on svg path {
    fill: #ffd700
}

.stars .star.half svg path {
    fill: #ffd700
}

.stars .star:not(.on):not(.half) svg path {
    fill: none;
    stroke: #666;
    stroke-width: 1
}

.rating-value {
    font-size: 14px;
    margin-top: 8px;
    color: var(--text)
}

.rating-count {
    font-size: 12px;
    color: var(--muted2)
}

.user-rating {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border)
}

.user-rating small {
    color: var(--muted2);
    display: block;
    margin-bottom: 4px
}

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid white;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

.file-info {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px
}

.file-info strong {
    color: var(--text);
    font-size: 14px
}

.file-info div {
    font-size: 13px;
    color: var(--muted2);
    margin-bottom: 4px
}

.purchased-info {
    text-align: center
}

.purchase-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px
}

.btn-success {
    background-color: var(--success);
    border: 1px solid var(--success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 8px
}

.btn-success:hover {
    background-color: var(--success-dark);
    border-color: var(--success-dark)
}

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

.rating-stats-section {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px
}

.rating-stat-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px
}

.review-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.stat-subtitle {
    font-size: 12px;
    color: var(--muted2);
    margin-top: 4px
}

.rating-value {
    font-size: 12px;
    color: var(--muted2);
    margin-left: 4px;
    font-weight: 600
}

.rating-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    flex-grow: 1
}

.rating-progress-fill {
    height: 100%;
    transition: width 0.3s ease
}

.rating-progress-fill--5 {
    background: var(--success)
}

.rating-progress-fill--4 {
    background: var(--success)
}

.rating-progress-fill--3 {
    background: var(--warning)
}

.rating-progress-fill--2 {
    background: var(--danger)
}

.rating-progress-fill--1 {
    background: var(--danger)
}

.reviews-carousel-container {
    position: relative;
    margin: 20px auto 40px;
    max-width: 1200px
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease
}

.review-card {
    flex-shrink: 0;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    height: 240px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box
}

.review-card:hover {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease
}

.review-text {
    position: relative;
    overflow: hidden
}

.carousel-dot {
    transition: all 0.3s ease
}

.carousel-dot:hover {
    transform: scale(1.2)
}

.carousel-dot.active {
    background: var(--accent) !important;
    transform: scale(1.2)
}

@media (max-width:1200px) {
    .reviews-carousel-container {
        padding: 0 40px
    }
}

@media (max-width:1024px) {
    .reviews-carousel-container {
        padding: 0 30px
    }
    .review-card {
        height: 220px;
        padding: 20px
    }
}

@media (max-width:768px) {
    .reviews-carousel-container {
        padding: 0 20px
    }
    .review-card {
        height: 200px;
        padding: 16px
    }
    .carousel-dots {
        margin-top: 20px
    }
}

@media (max-width:480px) {
    .reviews-carousel-container {
        padding: 0 0px
    }
    .review-card {
        height: 220px
    }
}

.product-info {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0
}

.product-screenshots {
    width: 100%;
    max-width: 100%;
    /*overflow: hidden;*/
    min-width: 0
}

.screenshots-slider .slick-list {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #ffffff !important
}

@media (max-width:768px) {
    .header-inner .brand {
        display: none !important
    }
    .header-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%
    }
    .header-inner .left-pack,
    .header-inner .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0
    }
    .header-inner .left-pack {
        flex: 0 0 auto
    }
    .header-inner .header-actions {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: flex-end
    }
    .header-inner .search-container {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%
    }
    .header-inner .search-input {
        width: 100%;
        max-width: 100%;
        min-width: 0
    }
    .header-inner .currency-selector {
        flex: 0 0 auto
    }
    .header-inner .user-wrap {
        flex: 0 0 auto;
        min-width: 0
    }
    .header-inner .user-box .user-meta {
        display: none !important
    }
    .header-inner .user-box {
        padding: 6px 8px;
        gap: 8px
    }
    .header-inner .user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        overflow: hidden;
        flex: 0 0 auto
    }
    .header-inner .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px
    }
    .header-inner .dropdown {
        right: 0;
        left: auto;
        max-width: calc(100vw - 16px)
    }
}

@media (max-width:420px) {
    .header-inner {
        gap: 8px
    }
    .header-inner .left-pack,
    .header-inner .header-actions {
        gap: 8px
    }
    .header-inner .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 10px
    }
}

@media (max-width:768px) {
    .profile-header {
        display: grid;
        grid-template-columns: 84px 1fr;
        grid-template-areas: "avatar info" "actions actions";
        gap: 14px 14px;
        padding: 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px)
    }
    .profile-avatar-large {
        grid-area: avatar;
        width: 84px;
        height: 84px;
        border-radius: 18px;
        overflow: hidden;
        position: relative;
        border: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 10px 25px rgba(0, 0, 0, .25)
    }
    .profile-avatar-large img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover
    }
    .profile-avatar-large::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(120px 80px at 20% 15%, rgba(255, 255, 255, .18), transparent 55%), linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .30));
        pointer-events: none
    }
    .profile-info {
        grid-area: info;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 10px
    }
    .profile-name {
        margin: 0;
        font-size: 18px;
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: .2px;
        color: #fff;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical
    }
    .profile-sub {
        display: flex;
        flex-wrap: wrap;
        gap: 8px
    }
    .profile-sub .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1;
        color: rgba(255, 255, 255, .92);
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .10);
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
    .profile-sub .pill svg {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        stroke: rgba(255, 255, 255, .85);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round
    }
    .profile-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px
    }
    .profile-stat {
        padding: 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .08);
        min-width: 0
    }
    .profile-stat .stat-value {
        display: block;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: .2px;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
    .profile-stat .stat-label {
        display: block;
        margin-top: 4px;
        font-size: 11px;
        color: rgba(255, 255, 255, .65);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
    .profile-actions {
        grid-area: actions;
        display: flex;
        gap: 10px
    }
    .profile-actions .btn-ghost {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        color: rgba(255, 255, 255, .95);
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
        transition: transform .12s ease, background .12s ease, border-color .12s ease;
        -webkit-tap-highlight-color: transparent
    }
    .profile-actions .btn-ghost svg {
        width: 18px;
        height: 18px;
        stroke: rgba(255, 255, 255, .9)
    }
    .profile-actions .btn-ghost:active {
        transform: translateY(1px) scale(.99);
        background: rgba(255, 255, 255, .09);
        border-color: rgba(255, 255, 255, .18)
    }
}

@media (max-width:420px) {
    .profile-header {
        grid-template-columns: 76px 1fr
    }
    .profile-avatar-large {
        width: 76px;
        height: 76px;
        border-radius: 16px
    }
    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
    .profile-stat:nth-child(3) {
        grid-column: 1 / -1
    }
}

@media (max-width:768px) {
    .purchase-card {
        display: grid;
        grid-template-columns: 64px 1fr;
        grid-template-areas: "img info" "actions actions";
        gap: 12px 12px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
        overflow: hidden
    }
    .purchase-image {
        grid-area: img;
        width: 64px;
        height: 64px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .10);
        box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
        position: relative;
        overflow: hidden
    }
    .purchase-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }
    .purchase-image svg {
        width: 26px;
        height: 26px;
        stroke: rgba(255, 255, 255, .9)
    }
    .purchase-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(120px 80px at 20% 15%, rgba(255, 255, 255, .14), transparent 55%), linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .22));
        pointer-events: none
    }
    .purchase-info {
        grid-area: info;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px
    }
    .purchase-info h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.15;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
    .purchase-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center
    }
    .purchase-order {
        display: inline-flex;
        max-width: 100%;
        padding: 7px 10px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1;
        color: rgba(255, 255, 255, .85);
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(255, 255, 255, .10);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
    .purchase-date {
        font-size: 12px;
        color: rgba(255, 255, 255, .65);
        white-space: nowrap
    }
    .purchase-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(255, 255, 255, .06);
        color: rgba(255, 255, 255, .92);
        white-space: nowrap
    }
    .purchase-status.status-paid {
        border-color: rgba(46, 204, 113, .35);
        background: rgba(46, 204, 113, .12)
    }
    .purchase-status.status-pending {
        border-color: rgba(241, 196, 15, .35);
        background: rgba(241, 196, 15, .12)
    }
    .purchase-status.status-canceled {
        border-color: rgba(231, 76, 60, .35);
        background: rgba(231, 76, 60, .12)
    }
    .purchase-price {
        margin-top: 2px;
        font-size: 16px;
        font-weight: 900;
        color: #fff;
        letter-spacing: .2px
    }
    .purchase-actions {
        grid-area: actions;
        display: flex;
        gap: 10px
    }
    .purchase-actions .btn-ghost {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 12px 14px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 800;
        font-size: 14px;
        color: rgba(255, 255, 255, .95);
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
        transition: transform .12s ease, background .12s ease, border-color .12s ease;
        -webkit-tap-highlight-color: transparent
    }
    .purchase-actions .btn-ghost:active {
        transform: translateY(1px) scale(.99);
        background: rgba(255, 255, 255, .09);
        border-color: rgba(255, 255, 255, .18)
    }
}

@media (max-width:420px) {
    .purchase-card {
        grid-template-columns: 58px 1fr;
        padding: 11px
    }
    .purchase-image {
        width: 58px;
        height: 58px;
        border-radius: 13px
    }
    .purchase-info h3 {
        font-size: 14px
    }
    .purchase-order {
        width: 100%
    }
    .purchase-meta {
        gap: 8px
    }
}

.service-content {
    width: 100%
}

.service-content textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 12px;
    resize: vertical;
    min-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight-background) transparent
}

.support-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    min-height: 520px
}

@media (max-width:980px) {
    .support-layout {
        grid-template-columns: 1fr
    }
}

.ticket-list {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight-background) transparent
}

.ticket-item {
    display: block;
    padding: 14px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: .15s ease
}

.ticket-item:hover {
    background: rgba(255, 255, 255, .04)
}

.ticket-item.active {
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08)
}

.ticket-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.ticket-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1.2
}

.ticket-status {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    white-space: nowrap
}

.ticket-item-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px
}

.ticket-last {
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px
}

.ticket-time {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    white-space: nowrap
}

.status-open {
    background: rgba(46, 204, 113, .14);
    border-color: rgba(46, 204, 113, .35)
}

.status-pending {
    background: rgba(241, 196, 15, .14);
    border-color: rgba(241, 196, 15, .35)
}

.status-answered {
    background: rgba(52, 152, 219, .14);
    border-color: rgba(52, 152, 219, .35)
}

.status-resolved {
    background: rgba(155, 89, 182, .14);
    border-color: rgba(155, 89, 182, .35)
}

.status-closed {
    background: rgba(231, 76, 60, .14);
    border-color: rgba(231, 76, 60, .35)
}

.chat-panel {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    min-height: 520px
}

.chat-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start
}

.chat-title {
    font-weight: 800;
    font-size: 15px;
    color: #fff
}

.chat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px
}

.chat-pill {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .04)
}

.chat-messages {
    padding: 14px 14px;
    overflow: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.chat-loading {
    color: rgba(255, 255, 255, .7);
    font-size: 13px
}

.msg {
    display: flex;
    gap: 10px;
    align-items: flex-end
}

.msg.user {
    justify-content: flex-end
}

.msg.support {
    justify-content: flex-start
}

.bubble {
    max-width: min(720px, 100%);
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.35;
    white-space: pre-wrap;
    word-wrap: break-word
}

.msg.user .bubble {
    background: rgba(52, 152, 219, .14);
    border-color: rgba(52, 152, 219, .28)
}

.msg.support .bubble {
    background: rgba(46, 204, 113, .10);
    border-color: rgba(46, 204, 113, .22)
}

.msg-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    margin-top: 6px
}

.chat-compose {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 12px 14px
}

.compose-wrap {
    display: grid;
    gap: 10px;
    align-items: flex-end
}

#chatMessageInput {
    width: 100%;
    min-height: 46px;
    resize: vertical;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .18);
    color: #fff;
    outline: none
}

.compose-hint {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6)
}

.chat-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 24px
}

.chat-empty-inner {
    text-align: center;
    max-width: 520px
}

.chat-empty-inner h3 {
    margin: 12px 0 6px;
    color: #fff
}

.chat-empty-inner p {
    color: rgba(255, 255, 255, .7)
}

.tickets-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px
}

.tickets-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

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

@media (max-width:980px) {
    .licenses-grid {
        grid-template-columns: 1fr
    }
}

.license-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 14px
}

.license-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start
}

.license-title {
    font-weight: 800;
    font-size: 14px;
    color: #fff
}

.license-title a {
    color: #fff;
    text-decoration: none
}

.license-title a:hover {
    text-decoration: underline
}

.license-status {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    white-space: nowrap
}

.status-active {
    background: rgba(46, 204, 113, .14);
    border-color: rgba(46, 204, 113, .35)
}

.status-expired {
    background: rgba(241, 196, 15, .14);
    border-color: rgba(241, 196, 15, .35)
}

.status-revoked {
    background: rgba(231, 76, 60, .14);
    border-color: rgba(231, 76, 60, .35)
}

.license-body {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.license-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: center
}

.license-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .62)
}

.license-value {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.license-code {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92)
}

.license-domain {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .86)
}

.btn-small {
    padding: 8px 10px;
    font-size: 12px
}

.license-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.license-hint {
    color: rgba(255, 255, 255, .62);
    font-size: 12px
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.modal-title {
    color: #fff;
    font-weight: 800;
    font-size: 15px
}

.modal-close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .8);
    cursor: pointer;
    font-size: 18px
}

.modal-body {
    margin-top: 12px
}

.modal-body label {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    margin: 10px 6px 6px;
    text-align: left;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .20);
    color: #fff;
    outline: none
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px
}

.msg {
    display: flex;
    gap: 10px;
    margin-bottom: 12px
}

.msg.user {
    justify-content: flex-end
}

.msg.support {
    justify-content: flex-start
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 36px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.avatar-fallback {
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.msg-content {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.msg-head {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.msg-name {
    font-size: 12px;
    font-weight: 700
}

.msg-time {
    font-size: 11px;
    opacity: .6;
    white-space: nowrap
}

.msg-meta {
    display: none
}

.info-banner {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    margin: 14px 0;
    backdrop-filter: blur(6px)
}

.info-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    color: #fff
}

.info-banner__title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 4px
}

.info-banner__text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85)
}

.info-banner__text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .95
}

.info-banner--support {
    background: rgb(37 255 0 / 6%);
    border: 1px solid rgb(100 255 0 / 18%)
}

.info-banner--terms {
    background: var(--card-bg);
    border: 1px solid var(--border)
}

.product-main {
    max-width: 818px
}

pre,
code {
    display: block;
    background: #f6f6f6;
    white-space: pre;
    text-shadow: none !important;
    border-radius: 0px;
    padding: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

pre {
    background-color: #1a1a1a;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 1rem 0;
    border-left: 4px solid #444
}

code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #2d2d2d;
    padding: 2px 6px;
    border-radius: 4px;
    color: #e6e6e6
}

.hljs-keyword {
    color: #ff79c6;
    font-weight: bold
}

.hljs-title {
    color: #50fa7b
}

.hljs-string {
    color: #f1fa8c
}

.hljs-number {
    color: #bd93f9
}

.hljs-comment {
    color: #6272a4;
    font-style: italic
}

.hljs-built_in {
    color: #8be9fd
}

.hljs-function {
    color: #50fa7b
}

.hljs-params {
    color: #f8f8f2
}

.hljs-literal {
    color: #ff79c6
}

.hljs-operator {
    color: #ff79c6
}

.hljs-punctuation {
    color: #f8f8f2
}

.hljs-tag {
    color: #ff79c6
}

.hljs-attr {
    color: #50fa7b
}

.hljs-name {
    color: #ff5555
}

.language-html .hljs-tag {
    color: #ff79c6
}

.language-html .hljs-name {
    color: #ff5555
}

.language-html .hljs-attr {
    color: #50fa7b
}

.language-html .hljs-string {
    color: #f1fa8c
}

.language-css .hljs-selector-tag {
    color: #ff79c6
}

.language-css .hljs-property {
    color: #50fa7b
}

.language-css .hljs-value {
    color: #f1fa8c
}

.language-css .hljs-attribute {
    color: #ff5555
}

.language-javascript .hljs-keyword {
    color: #ff79c6
}

.language-javascript .hljs-function {
    color: #50fa7b
}

.language-javascript .hljs-variable {
    color: #f8f8f2
}

.language-javascript .hljs-number {
    color: #bd93f9
}

.language-python .hljs-keyword {
    color: #ff79c6
}

.language-python .hljs-built_in {
    color: #8be9fd
}

.language-python .hljs-number {
    color: #bd93f9
}

.language-java .hljs-class {
    color: #50fa7b
}

.language-java .hljs-keyword {
    color: #ff79c6
}

.language-java .hljs-number {
    color: #bd93f9
}

.language-cpp .hljs-keyword {
    color: #ff79c6
}

.language-cpp .hljs-number {
    color: #bd93f9
}

.language-php .hljs-variable {
    color: #f8f8f2
}

.language-php .hljs-keyword {
    color: #ff79c6
}

.language-ruby .hljs-symbol {
    color: #f1fa8c
}

.language-ruby .hljs-keyword {
    color: #ff79c6
}

.language-sql .hljs-keyword {
    color: #ff79c6
}

.language-sql .hljs-built_in {
    color: #8be9fd
}

.language-json .hljs-attr {
    color: #50fa7b
}

.language-json .hljs-string {
    color: #f1fa8c
}

.language-json .hljs-number {
    color: #bd93f9
}

.language-json .hljs-literal {
    color: #ff79c6
}

.language-bash .hljs-built_in {
    color: #8be9fd
}

.language-bash .hljs-literal {
    color: #ff79c6
}

.hljs-meta {
    color: #ffb86c
}

.hljs-section {
    color: #50fa7b
}

.hljs-emphasis {
    font-style: italic
}

.hljs-strong {
    font-weight: bold;
    color: #ff5555
}

code[data-start][data-end] {
    background: #44475a;
    padding: 8px 12px;
    display: inline-block;
    border-left: 3px solid #ff5555;
    margin: 2px 0
}

:not(pre)>code {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em
}

.code-container {
    background: #1a1a1a;
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3)
}

.code-header {
    background: #2d2d2d;
    padding: 8px 16px;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.9em;
    color: #888;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.code-header .language {
    color: #50fa7b;
    font-weight: bold
}

.code-body {
    padding: 1rem;
    overflow-x: auto
}

@media (max-width:768px) {
    pre {
        font-size: 13px;
        padding: 0.75rem
    }
    .code-container {
        border-radius: 6px
    }
}

.adblock-notice {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.adblock-notice-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.adblock-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.adblock-title {
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #93c5fd;
    font-size: 15px;
}

.adblock-title-icon {
    width: 18px;
    height: 18px;
    fill: #93c5fd;
}

.adblock-text {
    margin: 0;
    opacity: 0.9;
    color: #cbd5e1;
}

.adblock-highlight {
    font-weight: 600;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 2px;
}

.adblock-subtext {
    display: block;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

.telegram-widget-container {
    margin-top: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.telegram-config-error {
    margin-top: 10px;
    padding: 10px;
    font-size: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}

.telegram-config-error b {
    color: #f87171;
}

.modal-body p {
    color: #cbd5e1;
    opacity: 0.9;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.license-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    min-width: 600px;
    font-size: 14px;
    border: 1px solid var(--border);
}

.license-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.license-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 900;
    color: var(--text);
    border-bottom: 1px solid rgba(148, 163, 184, .25);
    border-right: 1px solid rgba(148, 163, 184, .18);
    white-space: nowrap;
}

html[data-theme="light"] .license-table th {
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    border-right: 1px solid rgba(226, 232, 240, .7);
}

.license-table th:last-child {
    border-right: none;
}

.license-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    border-right: 1px solid rgba(148, 163, 184, .12);
    color: var(--text);
    font-weight: 500;
}

html[data-theme="light"] .license-table td {
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    border-right: 1px solid rgba(226, 232, 240, .5);
}

.license-table td:last-child {
    border-right: none;
}

.license-table tr:last-child td {
    border-bottom: none;
}

.license-table tr:nth-child(even) {
    background: rgba(255, 255, 255, .02);
}

html[data-theme="light"] .license-table tr:nth-child(even) {
    background: rgba(15, 23, 42, .02);
}

.license-table tr:hover {
    background: rgba(255, 255, 255, .05);
}

html[data-theme="light"] .license-table tr:hover {
    background: rgba(15, 23, 42, .04);
}

.license-table td[style*="text-align:center"] {
    font-weight: 900;
}

.license-table .status-yes {
    color: var(--success);
    font-weight: 900;
}

.license-table .status-no {
    color: #ef4444;
    font-weight: 900;
    opacity: .8;
}

.license-table .status-na {
    color: var(--muted2);
    font-weight: 500;
}

@media (max-width: 768px) {
    .table-container {
        margin: 16px -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .license-table {
        font-size: 13px;
        min-width: 500px;
    }
    .license-table th,
    .license-table td {
        padding: 12px 14px;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 420px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    padding: 16px;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-consent-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.25);
}

.cookie-consent-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cookie-consent-title {
    font-size: 16px;
    font-weight: 950;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}

.cookie-consent-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted2);
    margin: 0 0 16px;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    transition: transform 0.12s ease, filter 0.12s ease;
    white-space: nowrap;
    font-size: 13px;
    box-shadow: 0 6px 16px rgba(0, 188, 212, 0.25);
}

.btn-cookie-accept:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-cookie-accept:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-cookie-learn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    font-weight: 950;
    color: var(--text);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    white-space: nowrap;
    font-size: 13px;
}

html[data-theme="light"] .btn-cookie-learn {
    background: rgba(255, 255, 255, .7);
}

.btn-cookie-learn:hover {
    border-color: rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .10);
}

html[data-theme="light"] .btn-cookie-learn:hover {
    background: rgba(255, 255, 255, .92);
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        margin: 0 auto;
    }
    .cookie-consent-buttons {
        flex-direction: column;
    }
    .btn-cookie-learn {
        width: 100%;
    }
}

.product-videos {
    margin: 30px 0;
}

.product-videos h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.videos-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 50.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container.other {
    padding-bottom: 0;
    height: auto;
}

.video-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-tertiary);
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s ease;
}

.video-link:hover {
    background: var(--bg-quaternary);
}

.video-link svg {
    margin-right: 12px;
}

.video-link span {
    font-weight: 500;
    font-size: 1.1rem;
}

.video-title {
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media screen and (max-width: 768px) {
    .product-videos h2 {
        font-size: 1.3rem;
    }
    .video-link {
        padding: 15px;
    }
    .video-title {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .container,
    .product-layout,
    .product-main,
    .app-body {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .screenshot-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .product-cover,
    .product-cover-center,
    .product-info,
    .product-full-description,
    .product-comments,
    .product-screenshots {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-break: break-word !important;
    }
    .product-content table,
    .product-content pre,
    .product-content img {
        max-width: 100% !important;
        height: auto !important;
    }
    .product-main {
        max-width: 100vw !important;
        width: 100% !important;
        padding: 0 0px !important;
        margin: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumbs {
        font-size: 12px;
        line-height: 1.3;
        padding: 8px 0;
        margin: 0 0 12px 0;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }
    .breadcrumbs a {
        text-decoration: none;
        transition: color 0.2s ease;
        display: inline-block;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
    .breadcrumbs a:hover {
        color: #2a6cbe;
        text-decoration: underline;
    }
    .breadcrumb-separator {
        color: #999;
        margin: 0 4px;
        display: inline-block;
        vertical-align: middle;
    }
    .breadcrumb-current {
        font-weight: 500;
        display: inline-block;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px 0;
    font-size: 14px;
    border: 1px solid var(--border, #e2e8f0);
    background: var(--table-bg, transparent);
}

table thead {
    background: var(--table-header-bg, rgba(255, 255, 255, 0.02));
}

table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 900;
    color: var(--text, #333);
    border-bottom: 1px solid var(--table-border-bottom, rgba(148, 163, 184, .25));
    border-right: 1px solid var(--table-border-right, rgba(148, 163, 184, .18));
    white-space: nowrap;
}

table th:last-child {
    border-right: none;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--table-cell-border-bottom, rgba(148, 163, 184, .18));
    border-right: 1px solid var(--table-cell-border-right, rgba(148, 163, 184, .12));
    color: var(--text, #333);
    font-weight: 500;
}

table td:last-child {
    border-right: none;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:nth-child(even) {
    background: var(--table-row-even-bg, rgba(255, 255, 255, .02));
}

table tr:hover {
    background: var(--table-row-hover-bg, rgba(255, 255, 255, .05));
}

table td[style*="text-align:center"],
table td.center {
    font-weight: 900;
}

table .status-yes {
    color: var(--success, #10b981);
    font-weight: 900;
}

table .status-no {
    color: var(--error, #ef4444);
    font-weight: 900;
    opacity: .8;
}

table .status-na {
    color: var(--muted, #94a3b8);
    font-weight: 500;
}

.table-container,
div[style*="overflow-x"],
div:has(> table) {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.table-container table,
div[style*="overflow-x"] table,
div:has(> table)>table {
    min-width: 600px;
    margin: 0;
}

html[data-theme="light"] table {
    border-color: var(--border-light, #e2e8f0);
}

html[data-theme="light"] table thead {
    background: var(--table-header-bg-light, rgba(15, 23, 42, 0.05));
}

html[data-theme="light"] table th {
    border-bottom-color: var(--table-border-bottom-light, rgba(226, 232, 240, .9));
    border-right-color: var(--table-border-right-light, rgba(226, 232, 240, .7));
}

html[data-theme="light"] table td {
    border-bottom-color: var(--table-cell-border-bottom-light, rgba(226, 232, 240, .7));
    border-right-color: var(--table-cell-border-right-light, rgba(226, 232, 240, .5));
}

html[data-theme="light"] table tr:nth-child(even) {
    background: var(--table-row-even-bg-light, rgba(15, 23, 42, .02));
}

html[data-theme="light"] table tr:hover {
    background: var(--table-row-hover-bg-light, rgba(15, 23, 42, .04));
}

@media (max-width: 768px) {
  table {
    font-size: 14px;
    width: 100%;
    border-collapse: collapse;
  }

  table th,
  table td {
    padding: 10px 8px;
    text-align: left;
  }

  .table-container,
  div[style*="overflow-x"],
  div:has(> table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
    border-radius: 0;
  }
  
  .table-container table,
  div[style*="overflow-x"] table,
  div:has(> table) > table {
    min-width: 100%;
    width: 100%;
  }
  
  table tr {
    border-bottom: 1px solid #eee;
  }
  
  table th {
    font-weight: 600;
  }
}

.bg-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
}

.bg-violet {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%) !important;
}

.bg-purple {
    background: linear-gradient(135deg, #9333ea 0%, #c026d3 100%) !important;
}

.bg-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
}

.bg-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.bg-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
}

.bg-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.bg-yellow {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
}

.bg-lime {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%) !important;
}

.bg-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

.bg-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.bg-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
}

.bg-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.bg-sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

.bg-slate {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
}

.bg-gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
}

.bg-zinc {
    background: linear-gradient(135deg, #71717a 0%, #52525b 100%) !important;
}

.bg-stone {
    background: linear-gradient(135deg, #78716c 0%, #57534e 100%) !important;
}

.bg-black {
    background: linear-gradient(135deg, #111827 0%, #000000 100%) !important;
}

    .free-product-block,
    .dev-product-block {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .free-label {
        color: var(--success);
        font-weight: bold;
        font-size: 16px;
        text-align: center;
    }

    .dev-label {
        color: #8b5cf6;
        font-weight: bold;
        font-size: 16px;
        text-align: center;
    }

    .btn-buy.free-btn {
        background: var(--success);
        color: white;
        border: none;
    }

    .btn-buy.free-btn:hover {
        background: var(--success-dark);
    }

    .chip--orange {
        background: linear-gradient(135deg, #ff9800, #ff5722);
        color: white;
    }

    .chip--purple {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
        color: white;
    }

    #loadingIndicator .loader {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    #loadingIndicator .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
	
	@media (max-width: 480px) {
  .product-developer {
    position: absolute;
    bottom: 20px;
    left: 0;
    transform: translateX(50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    z-index: 2;
    text-align: center;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
	display: none;
  }
}

.select option {
  background-color: #242835;
  color: #fff;
}

.free-price {
  color: var(--success);
  font-weight: bold;
  font-size: 16px;
}

.user-rating a {
  color: var(--primary-color);
  text-decoration: none;
}

.user-rating a:hover {
  text-decoration: underline;
}

.no-file-info {
  border: 1px solid var(--border-color);
}

.msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.msg.user {
    justify-content: flex-end;
}

.msg.support {
    justify-content: flex-start;
}

.bubble {
    max-width: min(720px, 100%);
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    word-wrap: break-word;
    margin-bottom: 4px;
}

.msg.user .bubble {
    background: rgba(52, 152, 219, .14);
    border-color: rgba(52, 152, 219, .28);
}

.msg.support .bubble {
    background: rgba(46, 204, 113, .10);
    border-color: rgba(46, 204, 113, .22);
}

.msg-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
}

.msg-sender {
    font-weight: 600;
}

.message-files {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.message-file .icon {
    flex-shrink: 0;
}

.message-file .file-link {
    color: #3b82f6;
    text-decoration: none;
}

.message-file .file-link:hover {
    text-decoration: underline;
}

.message-file .file-size {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    margin-left: auto;
}

.file-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .05);
    border-radius: 6px;
    font-size: 13px;
}

.file-item .file-size {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.file-item .remove-file {
    margin-left: auto;
    cursor: pointer;
    color: rgba(255, 255, 255, .5);
    font-size: 16px;
    line-height: 1;
}

.file-item .remove-file:hover {
    color: rgba(255, 255, 255, .9);
}

.status-pending {
    background: rgba(241, 196, 15, .14);
    border-color: rgba(241, 196, 15, .35);
}

.status-in-progress {
    background: rgba(52, 152, 219, .14);
    border-color: rgba(52, 152, 219, .35);
}

.status-completed {
    background: rgba(46, 204, 113, .14);
    border-color: rgba(46, 204, 113, .35);
}

.status-cancelled {
    background: rgba(231, 76, 60, .14);
    border-color: rgba(231, 76, 60, .35);
}

.msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.msg-avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #3498db;
    flex-shrink: 0;
}

.msg {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.msg.user {
    justify-content: flex-end;
}

.msg.support {
    justify-content: flex-start;
}

.msg-content {
    max-width: 70%;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
}

.msg-sender {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.msg-time {
    color: rgba(255, 255, 255, 0.5);
}

.btn-file {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.file-list {
    margin-top: 10px;
	border: none !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.file-item .icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
}

.file-item .file-size {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.file-item .remove-file {
    margin-left: auto;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
}

.file-item .remove-file:hover {
    color: rgba(255, 255, 255, 0.9);
}

.message-files {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.message-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
}

.message-file .file-link {
    color: #3498db;
    text-decoration: none;
}

.message-file .file-link:hover {
    text-decoration: underline;
}

.message-file .file-size {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.product-updates {
    margin: 2rem 0;
    border-radius: 8px;
}

.product-updates h2 {
    margin-top: 0;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-item {
    background: rgba(255, 255, 255, .06);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #383e4c;
}

.update-header {
    margin-bottom: 1rem;
}

.update-version {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.update-badge {
    background: #15adee;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.update-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.update-title {
    margin: 0;
    color: #fff;
    font-size: 1.125rem;
}

.update-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-type {
    display: flex;
    gap: 0.5rem;
}

.update-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.update-type-badge.type-feature {
    background: #10b981;
    color: white;
}

.update-type-badge.type-fix {
    background: #ef4444;
    color: white;
}

.update-type-badge.type-change {
    background: #4CAF50;
    color: white;
}

.update-type-badge.type-security {
    background: #8b5cf6;
    color: white;
}

.update-type-badge.type-other {
    background: #6b7280;
    color: white;
}

.payment-method-info {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 0px;
  border-bottom: 1px dashed rgba(255, 255, 255, .10);
}

#paymentProductTitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

#paymentProductPrice {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent, #4361ee);
  margin-bottom: 0;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-method-card {
  background: #313541;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-method-card:hover {
  border-color: var(--accent, #4361ee);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.1);
}

.payment-method-card[data-method="cryptopay"] {
  position: relative;
  overflow: hidden;
}

.payment-method-card[data-method="cryptopay"]::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgb(67 238 164 / 10%) 0%, rgba(67, 97, 238, 0.05) 100%);
  border-radius: 0 12px 0 60px;
}

.payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-method-card[data-method="cryptopay"] .payment-method-icon {
  
}

.payment-method-details {
  flex: 1;
}

.payment-method-details h4 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 6px 0;
}

.payment-method-details p {
  font-size: 13px;
  color: var(--muted2);
  margin: 0;
  line-height: 1.4;
}

.payment-method-badge {
  margin-top: 10px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.chip--green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-payment-method {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-payment-method:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.payment-security-info {
    background: rgb(37 255 0 / 6%);
    border: 1px solid rgb(100 255 0 / 18%);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.payment-security-info svg {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.payment-security-info p {
    color: var(--muted2) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: 100%;
}

.notification {
  position: relative;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideIn 0.3s forwards;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(30, 30, 35, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification:not(.show) {
  opacity: 0;
  transform: translateX(100%);
}

.notification-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  min-height: 64px;
}

.notification-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.notification-content:hover::after {
  opacity: 1;
}

.notification-text {
  flex: 1;
  padding-right: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  word-break: break-word;
  font-weight: 400;
}

.notification-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-left: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.notification-close:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.2);
}

.notification-info {
  border-left: 4px solid #3498db;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1) 0%,
    rgba(30, 30, 35, 0.95) 30%
  );
}

.notification-info .notification-close:hover {
  color: #3498db;
}

.notification-success {
  border-left: 4px solid #2ecc71;
  background: linear-gradient(135deg, rgb(46 204 113 / 7%) 0%, rgb(30 30 35 / 42%) 30%);
}

.notification-success .notification-close:hover {
  color: #2ecc71;
}

.notification-warning {
  border-left: 4px solid #f39c12;
  background: linear-gradient(
    135deg,
    rgba(243, 156, 18, 0.1) 0%,
    rgba(30, 30, 35, 0.95) 30%
  );
}

.notification-warning .notification-close:hover {
  color: #f39c12;
}

.notification-error {
  border-left: 4px solid #e74c3c;
  background: linear-gradient(
    135deg,
    rgba(231, 76, 60, 0.1) 0%,
    rgba(30, 30, 35, 0.95) 30%
  );
}

.notification-error .notification-close:hover {
  color: #e74c3c;
}

.notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 14px;
}

.notification-info .notification-icon {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.notification-success .notification-icon {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.notification-warning .notification-icon {
  background: rgba(243, 156, 18, 0.2);
  color: #f39c12;
}

.notification-error .notification-icon {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
  }
}

@media (max-width: 768px) {
  #notification-container {
    left: 16px;
    right: 16px;
    max-width: none;
    top: 12px;
  }
  
  .notification {
    transform: translateY(-100%);
    background: rgba(25, 25, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-100%) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  @keyframes slideOut {
    from {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    to {
      opacity: 0;
      transform: translateY(-100%) scale(0.95);
    }
  }
}

.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, currentColor, rgba(255, 255, 255, 0.5));
  opacity: 0.5;
  width: 100%;
  transform-origin: left;
  animation: progress 5s linear forwards;
}

@keyframes progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.notification-close::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s;
  z-index: -1;
}

.notification-close:hover::after {
  opacity: 0.2;
}

.notification {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.notification-content {
  cursor: default;
}

.notification-inner {
  display: flex;
  align-items: center;
  flex: 1;
}

ol {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin: 0;
}

ol li {
    counter-increment: item;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
    min-height: 30px;
}

ol li::before {
    content: counter(item) "";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-size: 1em;
    font-weight: 400;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #066fd1;
}

ul li::marker {
    color: #066fd1;
    font-size: 1.25em;
}

.license-select { margin-top: 14px;margin-bottom: 14px;}
.license-title { font-weight: 700; margin-bottom: 10px; }
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .license-grid {
    grid-template-columns: 1fr;
  }
}
.license-item {
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px; border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: .15s ease;
}
.license-item:hover { transform: translateY(-1px); }
.license-item input { display:none; }
.license-item.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.0);
}
.license-body { display:flex; flex-direction:column; gap:2px; margin-top: 0px; }
.license-name { font-weight:800; }
.license-desc { font-size: 12px; color: var(--muted2); }
.license-price { font-weight:800; white-space:nowrap; }
.license-hint { margin-top: 8px; font-size: 12px; color: var(--muted2); }

.installation-service {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.installation-service__title {
  margin-bottom: 10px;
  font-weight: 700;
}
.installation-service__option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .15s ease;
}
.installation-service__option:hover {
  border-color: var(--accent);
}
.installation-service__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.installation-service__check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  position: relative;
}
.installation-service__option input:checked + .installation-service__check {
  border-color: var(--accent);
  background: var(--accent);
}
.installation-service__option input:checked + .installation-service__check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.installation-service__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}
.installation-service__name { font-weight: 700; }
.installation-service__description { color: var(--muted2); font-size: 12px; line-height: 1.45; }
.installation-service__price { margin-left: auto; font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) {
  .installation-service__option { flex-wrap: wrap; }
  .installation-service__price { width: 100%; padding-left: 31px; }
}
.auth-modal-content {
  max-width: 560px;
}

.auth-consents {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.auth-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.auth-consent-item input {
  margin-top: 3px;
}


.auth-intro {
  margin: 0 0 18px;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  text-align: center;
}

.auth-consents {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.auth-consents-remembered {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 150, 255, .12);
  border: 1px solid rgba(31, 150, 255, .2);
  color: #dff0ff;
  font-weight: 600;
  text-align: center;
}

.auth-provider-btn.is-active {
  border-color: rgba(13, 139, 255, .45);
  background: linear-gradient(135deg, rgba(13,139,255,.22), rgba(19,104,214,.2));
  box-shadow: 0 8px 24px rgba(6, 111, 209, .18);
}

.auth-form-card {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.auth-form-card--compact {
  margin-bottom: 12px;
}

.auth-form-card .form-group:last-child {
  margin-bottom: 0;
}

.auth-provider-list {
  display: grid;
  gap: 10px;
}

.auth-provider-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.auth-provider-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.1);
}

.auth-provider-btn--telegram {
  background: rgba(39, 167, 231, .16);
}

.auth-provider-btn--google {
  background: rgba(255,255,255,.09);
}

.auth-provider-btn--vk {
  background: rgba(0, 119, 255, .14);
}

.auth-provider-btn--yandex {
  background: rgba(255, 80, 0, .14);
}


.auth-email-panel {
  margin-top: 18px;
  padding-top: 6px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.auth-email-tab {
  appearance: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 14px;
  min-height: 46px;
  padding: 12px 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .18s ease;
}

.auth-email-tab:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.auth-email-tab.is-active {
  color: #fff;
  border-color: rgba(13, 139, 255, .45);
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 8px 24px rgba(6, 111, 209, .22);
}

.auth-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.auth-actions-row--single {
  align-items: flex-start;
}

.auth-submit-btn {
  min-width: 168px;
}

.auth-inline-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 16px;
  flex: 1 1 240px;
}

.auth-switch-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #dbe9ff;
  padding: 6px 0;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
}

.auth-switch-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-switch-link:focus-visible,
.auth-email-tab:focus-visible,
.auth-submit-btn:focus-visible {
  outline: 2px solid rgba(13, 139, 255, .5);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .auth-actions-row,
  .auth-actions-row--single {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-submit-btn {
    width: 100%;
    min-width: 0;
  }

  .auth-inline-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
  }

  .auth-switch-link {
    text-align: left;
  }
}



.product-cover-icon img.js-image-zoom,
.screenshot-item img.js-image-zoom {
    cursor: zoom-in;
}

.site-image-zoom-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.site-image-zoom-modal.is-open {
    display: flex;
}

.site-image-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(8px);
}

.site-image-zoom-dialog {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1280px);
    max-height: 92vh;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.site-image-zoom-img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 56px);
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    background: rgba(15, 23, 42, 0.95);
}

.site-image-zoom-caption {
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    max-width: 900px;
}

.site-image-zoom-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

body.image-zoom-open {
    overflow: hidden;
}

/* Safari / iPhone / macOS text spacing fixes */
@supports (-webkit-touch-callout: none) {
    .product-card,
    .product-card p,
    .product-card li,
    .product-card span,
    .product-card strong,
    .product-short-description p,
    .product-full-description p,
    .product-full-description li,
    .product-meta-item,
    .comment-text,
    .comment-header,
    .info-banner__text,
    .info-banner__text p,
    .info-banner__text li,
    .compatibility-grid,
    .compatibility-card,
    .compatibility-card * {
        letter-spacing: normal !important;
        word-spacing: normal !important;
        text-align: left;
        text-justify: auto;
        font-kerning: normal;
        font-variant-ligatures: normal;
    }

    .product-meta,
    .comment-header,
    .product-meta-item,
    .product-chips,
    .product-cover-center {
        text-align: initial;
    }
}

#lightbox {
    z-index: 20000 !important;
}

#lightbox .lb-outerContainer,
#lightbox .lb-container {
    overflow: visible !important;
}

#lightbox .lb-image {
    transition: transform .2s ease;
    transform-origin: center center;
    cursor: zoom-in;
}

.lb-zoom-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20050;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lb-zoom-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: rgba(15, 23, 42, .88);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.lb-zoom-btn:hover {
    background: rgba(30, 41, 59, .98);
}

/* Обязательное указание домена после покупки лицензируемого товара */
.required-license-domain-modal {
  z-index: 12000;
  overflow-y: auto;
  padding: 20px 0;
  background: rgba(3, 8, 20, .78);
  backdrop-filter: blur(7px);
}
.required-license-domain-content {
  max-width: 610px;
  margin: 4vh auto;
  border: 1px solid rgba(255, 255, 255, .10);
}
.required-license-domain-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(6, 111, 209, .35);
  border-radius: 14px;
  background: rgba(6, 111, 209, .10);
}
.required-license-domain-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #67b4ff;
  background: rgba(6, 111, 209, .18);
}
.required-license-domain-heading {
  margin-bottom: 5px;
  font-weight: 800;
  color: var(--text);
}
.required-license-domain-alert p {
  margin: 0;
  color: var(--muted2);
  line-height: 1.55;
}
.required-license-domain-error {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(239, 68, 68, .35);
  border-radius: 10px;
  color: #ff9c9c;
  background: rgba(239, 68, 68, .10);
}
.required-license-domain-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.required-license-domain-actions button:disabled {
  opacity: .65;
  cursor: wait;
}
@media (max-width: 640px) {
  .required-license-domain-modal { padding: 10px; }
  .required-license-domain-content { width: 100%; margin: 2vh auto; }
  .required-license-domain-alert { padding: 14px; }
  .required-license-domain-actions { flex-direction: column-reverse; }
  .required-license-domain-actions .btn-primary,
  .required-license-domain-actions .btn-ghost { width: 100%; }
}


.purchase-extra-service {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 9px;
  background: rgba(34,197,94,.08);
  color: var(--text);
  font-size: 13px;
}
.purchase-extra-service svg {
  flex: 0 0 auto;
  color: var(--success);
}

.language-selector{position:relative;display:flex;align-items:center}
.language-selector__button{min-width:44px;gap:6px}
.language-selector__flag{display:inline-flex;align-items:center;justify-content:center;width:24px;height:18px;line-height:1;flex:0 0 24px}
.language-flag-img{display:block;width:24px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.15)}
.language-flag-emoji{font-size:18px;line-height:1}
.language-selector__code{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.language-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:1200;display:none;min-width:220px;max-height:360px;overflow:auto;padding:8px;border:1px solid var(--border-color,#2b3445);border-radius:10px;background:#21283b;box-shadow:0 18px 45px rgba(0,0,0,.34)}
.language-menu.is-open{display:block}
.language-menu__item{display:flex;text-decoration:none;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background .16s ease,color .16s ease}
.language-menu__item:hover,.language-menu__item.is-active{background:rgba(6,111,209,.16);color:#5aa9ff}
.language-menu__item.is-loading{opacity:.55;pointer-events:none}
.language-menu__flag{display:inline-flex;align-items:center;justify-content:center;width:24px;height:18px;text-align:center;flex:0 0 24px}
.language-menu__name{flex:1;white-space:nowrap}
.language-menu__check{opacity:0}
.language-menu__item.is-active .language-menu__check{opacity:1}
@media (max-width:760px){.language-selector__code{display:none}.language-menu{right:-52px;min-width:200px}}
