:root {
    --primary: #ff477e;
    --primary-soft: #ff9ab6;
    --secondary: #c17bff;
    --secondary-soft: #e2c2ff;
    --accent: #56e6d1;
    --pink: #ff6fa4;
    --bg: #090a12;
    --bg-alt: #10111d;
    --surface: rgba(18, 19, 32, .92);
    --surface-2: #191b2b;
    --surface-3: #25283d;
    --border: rgba(255, 255, 255, .075);
    --border-strong: rgba(255, 255, 255, .15);
    --text: #f5f4fb;
    --text-dim: #a4a4b8;
    --text-soft: #d4d2e2;
    --gradient-brand: linear-gradient(125deg, #ff477e 0%, #c17bff 58%, #56e6d1 100%);
    --gradient-hot: linear-gradient(125deg, #ff477e, #c17bff);
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 13px;
    --header-h: 76px;
    --bottom-nav-h: 74px;
    --tap: 48px;
    --ease: cubic-bezier(.2, .75, .25, 1);
    --shadow-card: 0 16px 48px rgba(0, 0, 0, .28);
    color-scheme: dark;
}

html[data-theme="light"] {
    --bg: #f3f2f8;
    --bg-alt: #eae8f2;
    --surface: rgba(255, 255, 255, .94);
    --surface-2: #fff;
    --surface-3: #f0edf7;
    --border: rgba(35, 29, 59, .09);
    --border-strong: rgba(35, 29, 59, .17);
    --text: #201d30;
    --text-dim: #747087;
    --text-soft: #49455d;
    --shadow-card: 0 14px 38px rgba(41, 31, 74, .09);
    color-scheme: light;
}

html { scroll-padding-top: calc(var(--header-h) + 22px); }
body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -.012em;
}
body::before {
    background:
        radial-gradient(ellipse 52% 38% at 8% -4%, rgba(255, 71, 126, .16), transparent 70%),
        radial-gradient(ellipse 48% 34% at 96% 8%, rgba(193, 123, 255, .16), transparent 72%),
        radial-gradient(ellipse 55% 36% at 52% 104%, rgba(86, 230, 209, .075), transparent 72%),
        linear-gradient(rgba(193, 123, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(193, 123, 255, .018) 1px, transparent 1px);
    background-size: auto, auto, auto, 52px 52px, 52px 52px;
}
html[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse 52% 38% at 8% -4%, rgba(255, 71, 126, .11), transparent 70%),
        radial-gradient(ellipse 48% 34% at 96% 8%, rgba(193, 123, 255, .13), transparent 72%),
        radial-gradient(ellipse 55% 36% at 52% 104%, rgba(86, 190, 176, .08), transparent 72%),
        linear-gradient(rgba(99, 81, 147, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 81, 147, .025) 1px, transparent 1px);
}

::selection { background: rgba(255, 71, 126, .85); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--secondary)); }

.reading-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 120;
    width: 0;
    height: 3px;
    background: var(--gradient-brand);
    box-shadow: 0 0 18px rgba(255, 71, 126, .55);
    pointer-events: none;
}

.site-header {
    height: calc(var(--header-h) + var(--safe-top));
    padding: var(--safe-top) clamp(16px, 4vw, 56px) 0;
    background: rgba(9, 10, 18, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
}
html[data-theme="light"] .site-header { background: rgba(248, 247, 252, .82); border-bottom-color: var(--border); }
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 126, .52), rgba(193, 123, 255, .52), transparent);
    pointer-events: none;
}
.site-header.scrolled { background: rgba(9, 10, 18, .94); box-shadow: 0 12px 35px rgba(0, 0, 0, .2); }
html[data-theme="light"] .site-header.scrolled { background: rgba(248, 247, 252, .96); }
.brand { gap: 11px; }
.brand-logo { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(145deg, #201829, #10131d) padding-box, var(--gradient-brand) border-box; }
.brand-name { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.12rem; font-weight: 950; letter-spacing: .13em; }
.brand-name span { background: var(--gradient-hot); -webkit-background-clip: text; background-clip: text; }
.site-nav { gap: 5px; }
.nav-link {
    padding: 11px 17px;
    border-radius: 999px;
    color: var(--text-dim);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: .88rem;
    font-weight: 750;
    letter-spacing: 0;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-3); }
.nav-link.active::after { width: 5px; height: 5px; bottom: 5px; background: var(--primary); }
.header-actions { gap: 8px; }
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-soft);
    background: var(--surface-2);
    cursor: pointer;
    transition: transform .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
}
.header-icon-btn svg { width: 19px; height: 19px; }
.header-icon-btn:hover { color: var(--primary); border-color: rgba(255, 71, 126, .55); transform: translateY(-2px); }
.header-icon-btn:active { transform: scale(.94); }
.lang-btn { height: 44px; border-radius: 14px; border-color: var(--border); background: var(--surface-2); }
.lang-btn:hover { border-color: var(--secondary); }
.drawer-toggle { border-radius: 14px; background: var(--surface-2); }
.drawer-toggle span { background: var(--primary); }

.hero {
    min-height: clamp(450px, 48vw, 620px);
    padding: 76px clamp(22px, 6vw, 90px) 100px;
    text-align: left;
    background-image: none;
    background-color: transparent;
    isolation: isolate;
}
.hero::before {
    z-index: -2;
    background:
        radial-gradient(ellipse 48% 85% at 78% 48%, rgba(193, 123, 255, .15), transparent 68%),
        radial-gradient(ellipse 42% 60% at 3% 12%, rgba(255, 71, 126, .13), transparent 72%),
        linear-gradient(112deg, rgba(9, 10, 18, .1), rgba(9, 10, 18, .88) 65%, rgba(9, 10, 18, .2));
}
html[data-theme="light"] .hero::before {
    background:
        radial-gradient(ellipse 48% 85% at 78% 48%, rgba(193, 123, 255, .18), transparent 68%),
        radial-gradient(ellipse 42% 60% at 3% 12%, rgba(255, 71, 126, .1), transparent 72%),
        linear-gradient(112deg, rgba(243, 242, 248, .05), rgba(243, 242, 248, .82) 68%, rgba(243, 242, 248, .1));
}
.hero::after { z-index: -1; height: 130px; background: linear-gradient(to top, var(--bg), transparent); }
.hero-content {
    width: min(100%, 1240px);
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr);
    align-items: center;
    gap: clamp(32px, 7vw, 100px);
    text-align: left;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 71, 126, .25);
    border-radius: 999px;
    background: rgba(255, 71, 126, .08);
    color: var(--primary-soft);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px var(--accent); }
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 0 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 71, 126, .16), rgba(193, 123, 255, .16));
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}
.hero-badge::before { inset: -2px; border-radius: 24px; opacity: .8; }
.hero-badge img { border-radius: 17px; }
.hero-logo-fallback, .brand-mark-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    letter-spacing: -.1em;
    color: #fff;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-logo-fallback { font-size: 1.65rem; }
.brand-mark-fallback { width: 42px; height: 42px; flex: 0 0 42px; font-size: 1.1rem; }
.hero-logo-fallback { width: 100%; height: 100%; }
body.search-open { overflow: hidden; }
.hero-title {
    max-width: 760px;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(3rem, 7.3vw, 6.4rem);
    font-weight: 950;
    line-height: .96;
    letter-spacing: -.075em;
    text-transform: none;
}
.hero-title span {
    display: block;
    margin-top: 9px;
    font-size: .62em;
    font-weight: 850;
    letter-spacing: -.055em;
    background: linear-gradient(100deg, #ff477e 5%, #c17bff 52%, #70e8d5 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero-description {
    max-width: 560px;
    margin-top: 22px;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.75;
}
.hero-stats { justify-content: flex-start; margin-top: 28px; gap: 9px; }
.stat-pill {
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    border-color: var(--border-strong);
    color: var(--text-soft);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: .76rem;
}
.stat-pill b { color: var(--accent); font-size: .94rem; }
.hero-cta { justify-content: flex-start; margin-top: 30px; gap: 12px; }
.btn-primary, .btn-ghost { min-height: 52px; border-radius: 15px; padding: 14px 23px; font-size: .92rem; }
.btn-primary { background: linear-gradient(110deg, #ff477e, #d06dca 60%, #a478ed); color: white; box-shadow: 0 12px 30px rgba(255, 71, 126, .2); }
.btn-primary:hover { box-shadow: 0 16px 38px rgba(255, 71, 126, .3); }
.btn-ghost { border-color: var(--border-strong); background: rgba(255, 255, 255, .045); color: var(--text); }

.hero-visual {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
    perspective: 900px;
    isolation: isolate;
}
.hero-orbit {
    position: absolute;
    width: min(32vw, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(193, 123, 255, .22);
    border-radius: 50%;
    box-shadow: inset 0 0 70px rgba(193, 123, 255, .06), 0 0 90px rgba(193, 123, 255, .055);
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(255, 71, 126, .24); border-radius: 50%; }
.hero-orbit::after { inset: 25%; border-style: solid; border-color: rgba(86, 230, 209, .24); }
.hero-orbit.orbit-two { width: min(25vw, 310px); transform: rotateX(68deg) rotateZ(-24deg); border-color: rgba(86, 230, 209, .25); }
.hero-orbit.orbit-three { width: min(39vw, 470px); transform: rotateY(68deg) rotateZ(25deg); border-color: rgba(255, 71, 126, .2); }
.hero-core {
    position: relative;
    z-index: 2;
    width: clamp(150px, 17vw, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 38%;
    background: linear-gradient(145deg, rgba(255, 71, 126, .18), rgba(193, 123, 255, .16) 52%, rgba(86, 230, 209, .1));
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 25px 85px rgba(0, 0, 0, .3), inset 0 0 45px rgba(255, 255, 255, .06), 0 0 70px rgba(193, 123, 255, .13);
    transform: rotate(-8deg);
    backdrop-filter: blur(12px);
}
.hero-core::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 31%; }
.hero-core span { font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 1000; letter-spacing: -.12em; padding-right: .12em; color: #fff; text-shadow: 0 5px 35px rgba(255, 71, 126, .35); }
.hero-float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(20, 21, 36, .78);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: heroFloat 6s ease-in-out infinite;
}
html[data-theme="light"] .hero-float-card { background: rgba(255, 255, 255, .82); border-color: rgba(50, 36, 82, .1); }
.hero-float-card strong { display: block; font-size: .82rem; color: var(--text); letter-spacing: 0; }
.hero-float-card small { display: block; margin-top: 1px; color: var(--text-dim); font-size: .68rem; }
.hero-float-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--primary-soft); background: rgba(255, 71, 126, .13); font-size: 1.1rem; }
.hero-float-card.card-one { top: 13%; right: 2%; }
.hero-float-card.card-two { bottom: 13%; left: 0; animation-delay: -2s; }
.hero-float-card.card-three { right: 3%; bottom: 4%; animation-delay: -4s; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
body.not-home .hero { min-height: 185px; padding: 30px 20px 54px; }
body.not-home .hero-content { display: block; max-width: 1200px; }
body.not-home .hero-copy { display: flex; align-items: center; gap: 16px; }
body.not-home .hero-eyebrow, body.not-home .hero-description, body.not-home .hero-visual { display: none; }
body.not-home .hero-badge { display: flex; flex: 0 0 auto; width: 54px; height: 54px; margin: 0; border-radius: 15px; }
body.not-home .hero-badge::before { border-radius: 17px; }
body.not-home .hero-badge img { border-radius: 12px; }
body.not-home .hero-title { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.06em; }
body.not-home .hero-title span { display: inline; margin-left: .18em; font-size: .74em; }
body.not-home .hero-stats, body.not-home .hero-cta { display: none; }

.news-ticker { max-width: 1280px; margin-top: -36px; margin-bottom: 34px; }
.news-ticker-shell { height: 56px; border-radius: 17px; border-color: var(--border-strong); background: var(--surface); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.news-ticker-badge { border-radius: 7px; background: var(--gradient-hot); color: #fff; letter-spacing: .08em; }
.news-ticker-item { font-size: .88rem; color: var(--text-soft); }
.news-ticker-separator { background: var(--primary); }

.content-shell { max-width: 1280px; gap: 22px; margin-bottom: 72px; }
.glass-panel {
    padding: clamp(23px, 4vw, 46px);
    border: 1px solid var(--border);
    border-radius: 27px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 45%), var(--surface);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
html[data-theme="light"] .glass-panel { background: rgba(255, 255, 255, .88); }
.glass-panel::before { height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 71, 126, .75), rgba(193, 123, 255, .7), rgba(86, 230, 209, .5), transparent); }
.neon-title, .section-title, .previews-label {
    color: var(--text);
    border-left: 4px solid var(--primary);
    padding-left: 14px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -.045em;
}
.neon-title::after { display: none; }
.section-head { margin-bottom: 23px; }
.count-pill { padding: 6px 12px; border: 1px solid rgba(193, 123, 255, .25); border-radius: 999px; background: rgba(193, 123, 255, .1); color: var(--secondary-soft); font-weight: 800; }

.news-feed { gap: 16px; }
.news-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 60%), var(--surface-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.news-card::before { height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary), transparent); }
.news-card.is-first { background: radial-gradient(ellipse 70% 100% at 100% 0, rgba(193, 123, 255, .1), transparent 72%), linear-gradient(145deg, rgba(255, 71, 126, .08), transparent 62%), var(--surface-2); border-color: rgba(255, 71, 126, .2); }
.news-card.is-first::before { height: 3px; background: var(--gradient-hot); }
.news-card-badge { background: rgba(86, 230, 209, .1); border-color: rgba(86, 230, 209, .22); color: var(--accent); font-family: Inter, sans-serif; letter-spacing: .08em; }
.news-card-badge::before { background: var(--accent); }
.news-card.is-first .news-card-badge { background: rgba(255, 71, 126, .11); border-color: rgba(255, 71, 126, .24); color: var(--primary-soft); }
.news-card-date { font-family: Inter, sans-serif; }
.news-card-body { color: var(--text-soft); line-height: 1.82; }
.news-card-body img { max-height: 240px; object-fit: contain; }
.news-card-toggle { min-height: 38px; padding: 5px 0; color: var(--primary-soft); font-weight: 800; }
.load-more { min-height: 50px; padding: 11px 22px; border-radius: 14px; background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.load-more:hover { border-color: var(--primary); background: var(--surface-3); }

.catalog-section, #catalog-section { margin-top: clamp(38px, 6vw, 72px) !important; scroll-margin-top: 110px; }
.catalog-section::before { content: ""; display: block; height: 1px; margin-bottom: 34px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.catalog-intro { margin: -8px 0 22px; color: var(--text-dim); font-size: .9rem; line-height: 1.65; }
.catalog-bar { gap: 13px; margin-bottom: 22px; }
.chips { gap: 8px; }
.chip { min-height: 42px; padding: 8px 14px; border-radius: 999px; border-color: var(--border); background: var(--surface-2); color: var(--text-dim); font-size: .79rem; }
.chip:hover { border-color: var(--secondary); color: var(--text); }
.chip.active { background: rgba(255, 71, 126, .13); border-color: rgba(255, 71, 126, .48); color: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(255, 71, 126, .08); }
.chip em { background: rgba(255, 255, 255, .07); color: inherit; }
.catalog-search { width: min(100%, 390px); }
.catalog-search input { min-height: 48px; border-radius: 14px; border-color: var(--border-strong); background: var(--surface-2); }
.catalog-search svg { color: var(--primary-soft); }
.catalog-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 71, 126, .1); }
.catalog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 18px; }
.p-card {
    border-color: var(--border);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 60%), var(--surface-2);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .1);
}
.p-card:hover { border-color: rgba(255, 71, 126, .45); box-shadow: 0 18px 42px rgba(0, 0, 0, .22); }
.p-cover { background: radial-gradient(circle at 70% 15%, rgba(193, 123, 255, .25), transparent 45%), linear-gradient(140deg, #1d2032, #11131f); }
.p-cover img { transition: transform .7s var(--ease), opacity .3s ease; }
.p-card:hover .p-cover img { transform: scale(1.075); }
.p-icon-solo { border-radius: 16px !important; background: linear-gradient(145deg, rgba(255, 71, 126, .13), rgba(193, 123, 255, .18)), var(--surface-3); }
.p-tag { border-radius: 7px; font-family: Inter, sans-serif; letter-spacing: .06em; }
.p-tag.test { background: rgba(193, 123, 255, .13); color: var(--secondary-soft); border-color: rgba(193, 123, 255, .3); }
.p-tag.rust { background: rgba(86, 230, 209, .1); color: var(--accent); border-color: rgba(86, 230, 209, .25); }
.p-title { margin: 8px 0 5px; color: var(--text); font-family: Inter, sans-serif; font-size: 1.05rem; font-weight: 850; letter-spacing: -.025em; }
.p-desc { color: var(--text-dim); font-size: .84rem; line-height: 1.58; }
.p-more { margin-top: 15px; color: var(--primary-soft); font-size: .77rem; font-weight: 850; letter-spacing: .04em; }
.catalog-empty { padding: 28px; border: 1px dashed var(--border-strong); border-radius: 17px; color: var(--text-dim); }

.contact-box { padding: clamp(20px, 5vw, 38px); border-radius: 22px; background: linear-gradient(145deg, rgba(255, 71, 126, .055), rgba(193, 123, 255, .055)), var(--surface-2); }
.contact-box::before { height: 2px; background: var(--gradient-brand); }
.contact-links-container { gap: 13px; }
.contact-link { min-height: 54px; border-radius: 15px; border-color: var(--border-strong); background: var(--surface-2); font-weight: 750; }
.contact-link:hover { border-color: var(--primary); background: var(--surface-3); box-shadow: 0 9px 22px rgba(255, 71, 126, .1); }

.product-header { gap: 16px; margin: 10px 0 18px; }
.product-header-icon { border-radius: 24px; border: 1px solid var(--border-strong); box-shadow: 0 12px 34px rgba(0, 0, 0, .2); }
.product-header .neon-title { border: 0; padding: 0; font-size: clamp(1.7rem, 4.5vw, 2.8rem); }
.product-actions { gap: 10px; margin: 25px 0 32px; }
.product-actions .contact-link { width: auto; min-width: 130px; }
.back-link { min-height: 42px; padding: 8px 13px; border-radius: 12px; background: var(--surface-2); color: var(--text-soft); }
.back-link:hover { border-color: var(--primary); color: var(--primary-soft); }
.product-description { padding: clamp(18px, 3vw, 30px); border-radius: 18px; background: var(--surface-2); color: var(--text-soft); line-height: 1.8; }
.product-menu-button { min-height: 58px; margin-top: 13px; border-radius: 15px; background: var(--surface-2); font-family: Inter, sans-serif; font-weight: 800; letter-spacing: 0; }
.product-menu-button:hover { border-color: var(--neon-color, var(--primary)); }
.toggle-neon-box-styled { border-radius: 0 0 15px 15px; background: rgba(0, 0, 0, .13); }
.gallery-item { border-radius: 17px; background: linear-gradient(145deg, rgba(255, 71, 126, .08), rgba(193, 123, 255, .09)), var(--surface-2); }
.gallery-item img { border-radius: 17px; }
.related-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }

.site-footer { padding: 34px 20px calc(38px + var(--safe-bottom)); border-top: 1px solid var(--border); background: rgba(9, 10, 18, .28); }
html[data-theme="light"] .site-footer { background: rgba(255, 255, 255, .28); }
.top-bar-item, .drawer-social-item { border-radius: 14px; border-color: var(--border); background: var(--surface-2); }
.top-bar-item:hover, .drawer-social-item:hover { border-color: var(--primary); box-shadow: 0 8px 22px rgba(255, 71, 126, .12); }
.footer-copy { color: var(--text-dim); font-size: .78rem; letter-spacing: .1em; }
.to-top { width: 48px; height: 48px; border-radius: 16px; border-color: var(--border-strong); background: var(--surface-2); color: var(--primary-soft); box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.toast { border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface-3); box-shadow: var(--shadow-card); }

.drawer { background: var(--surface); border-left-color: var(--border-strong); }
.drawer::before { background: var(--gradient-brand); }
.drawer-head { border-bottom-color: var(--border); }
.drawer-head span { font-family: Inter, sans-serif; letter-spacing: .08em; }
.menu-button, .nested-menu-button { border-radius: 15px; background: var(--surface-2); }
.menu-button:hover, .nested-menu-button:hover { border-color: rgba(255, 71, 126, .45); }
.menu-item { border-radius: 12px; }
.drawer-tester-card { background: linear-gradient(135deg, rgba(255, 71, 126, .12), rgba(193, 123, 255, .12)); border-color: rgba(193, 123, 255, .25); }
.drawer-tester-card::before { background: var(--gradient-brand); }
.drawer-tester-head h4 { color: var(--secondary-soft); }
.drawer-tester-btn { border-radius: 13px; background: linear-gradient(110deg, #ff477e, #c17bff); color: #fff; }

.bottom-nav {
    background: rgba(15, 16, 27, .94);
    border-top: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}
html[data-theme="light"] .bottom-nav { background: rgba(255, 255, 255, .94); border-top-color: var(--border-strong); }
.bottom-nav button { color: var(--text-dim); font-weight: 750; }
.bottom-nav button.active { color: var(--primary); }
.bottom-nav button.active::before { width: 34px; height: 3px; background: var(--gradient-hot); }
.bottom-nav button svg { width: 23px; height: 23px; }

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: start center;
    padding: min(14vh, 110px) 20px 30px;
    background: rgba(4, 5, 11, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-dialog {
    width: min(100%, 700px);
    max-height: min(76svh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 23px;
    background: var(--surface);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
    transform: translateY(14px) scale(.985);
    transition: transform .25s var(--ease);
}
.search-overlay.open .search-dialog { transform: translateY(0) scale(1); }
.search-dialog-head { display: flex; align-items: center; gap: 12px; padding: 17px; border-bottom: 1px solid var(--border); }
.search-dialog-head svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--primary); }
.search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 1.03rem;
}
.search-input::placeholder { color: var(--text-dim); }
.search-close { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); color: var(--text-dim); cursor: pointer; font-size: 1.2rem; }
.search-results { overflow: auto; padding: 11px; overscroll-behavior: contain; }
.search-results-label { padding: 9px 10px 11px; color: var(--text-dim); font-size: .69rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.search-result {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 13px;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.search-result:hover, .search-result:focus-visible { background: var(--surface-2); border-color: var(--border-strong); }
.search-result:active { transform: scale(.99); }
.search-result-icon { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, rgba(255, 71, 126, .19), rgba(193, 123, 255, .2)); color: var(--primary-soft); font-size: .8rem; font-weight: 950; }
.search-result-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.search-result-main { flex: 1; min-width: 0; }
.search-result-title { display: block; overflow: hidden; color: var(--text); font-size: .92rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.search-result-description { display: block; margin-top: 3px; overflow: hidden; color: var(--text-dim); font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.search-result-type { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--border); border-radius: 7px; color: var(--text-dim); font-size: .65rem; font-weight: 800; }
.search-empty { padding: 32px 16px; color: var(--text-dim); text-align: center; }
.search-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .7rem; }
.search-key { padding: 3px 7px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2); color: var(--text-soft); font-family: ui-monospace, monospace; }

@media (min-width: 900px) {
    .news-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-card.is-first { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .hero-content { grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr); gap: 24px; }
    .hero-visual { min-height: 290px; }
    .hero-orbit { width: min(34vw, 320px); }
    .hero-orbit.orbit-two { width: min(27vw, 260px); }
    .hero-orbit.orbit-three { width: min(40vw, 380px); }
    .hero-float-card { padding: 10px 12px; }
    .hero-float-card.card-one { right: -3%; }
    .hero-float-card.card-two { left: -3%; }
}
@media (max-width: 780px) {
    :root { --header-h: 64px; --bottom-nav-h: 72px; }
    body { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom)); }
    .site-header { background: rgba(9, 10, 18, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
    html[data-theme="light"] .site-header { background: rgba(248, 247, 252, .94); }
    .site-nav, .drawer-toggle { display: none; }
    .header-actions { gap: 6px; }
    .header-icon-btn, .lang-btn { width: 42px; min-width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 13px; }
    .lang-btn svg:first-child { width: 19px; }
    .lang-btn-name, .lang-btn .lang-chevron { display: none; }
    .hero { min-height: auto; padding: 58px 22px 84px; }
    .hero-content { display: block; width: min(100%, 640px); text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-eyebrow { margin-bottom: 20px; font-size: .62rem; }
    .hero-title { font-size: clamp(2.7rem, 12vw, 4.4rem); text-align: center; }
    .hero-title span { margin-top: 8px; }
    .hero-description { max-width: 510px; margin-top: 17px; font-size: .98rem; }
    .hero-visual { min-height: 240px; max-width: 440px; margin: 25px auto -12px; }
    .hero-core { width: 145px; }
    .hero-orbit { width: 230px; }
    .hero-orbit.orbit-two { width: 180px; }
    .hero-orbit.orbit-three { width: 270px; }
    .hero-float-card { padding: 9px 11px; }
    .hero-float-card.card-one { top: 5%; right: 0; }
    .hero-float-card.card-two { bottom: 6%; left: -2%; }
    .hero-float-card.card-three { right: 0; bottom: -3%; }
    .hero-stats { justify-content: center; margin-top: 22px; }
    .hero-cta { justify-content: center; flex-direction: row; max-width: 100%; margin-top: 24px; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { flex: 1 1 180px; }
    .news-ticker { margin-top: -29px; margin-bottom: 24px; padding: 0 14px; }
    .news-ticker-shell { height: 49px; }
    .news-ticker-item { gap: 9px; padding: 0 14px; }
    .content-shell { padding: 0 14px; gap: 15px; margin-bottom: 34px; }
    .glass-panel { padding: 22px; border-radius: 22px; }
    .bottom-nav { height: calc(var(--bottom-nav-h) + var(--safe-bottom)); }
    .bottom-nav button { gap: 4px; font-size: .69rem; }
    .bottom-nav button svg { width: 22px; height: 22px; }
    .to-top { bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 14px); }
    .catalog-bar { top: calc(var(--header-h) + var(--safe-top)); margin-left: -22px; margin-right: -22px; padding: 12px 22px; background: var(--surface); }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .p-card { flex-direction: column; }
    .p-cover { display: block; aspect-ratio: 16 / 10; }
    .p-icon-solo { display: none; }
    .p-body { padding: 14px; }
    .p-card.has-icon .p-body { padding-top: 14px; }
    .p-more { display: inline-flex; }
    .p-desc { -webkit-line-clamp: 3; }
    .contact-links-container { flex-direction: row; flex-wrap: wrap; }
    .contact-link { width: auto; flex: 1 1 220px; }
}
@media (max-width: 560px) {
    .hero { padding: 44px 18px 72px; }
    .hero-eyebrow { font-size: .57rem; letter-spacing: .12em; }
    .hero-title { font-size: clamp(2.5rem, 13vw, 3.65rem); }
    .hero-description { font-size: .92rem; line-height: 1.65; }
    .hero-visual { min-height: 205px; margin-top: 17px; }
    .hero-core { width: 122px; }
    .hero-core span { font-size: 2.55rem; }
    .hero-orbit { width: 190px; }
    .hero-orbit.orbit-two { width: 150px; }
    .hero-orbit.orbit-three { width: 225px; }
    .hero-float-card { gap: 7px; padding: 8px 9px; border-radius: 13px; }
    .hero-float-card strong { font-size: .7rem; }
    .hero-float-card small { font-size: .6rem; }
    .hero-float-icon { width: 31px; height: 31px; border-radius: 10px; font-size: .92rem; }
    .hero-float-card.card-one { top: 2%; right: -5px; }
    .hero-float-card.card-two { bottom: 1%; left: -5px; }
    .hero-float-card.card-three { bottom: -9%; right: -3px; }
    .hero-cta { flex-direction: column; align-items: stretch; width: min(100%, 360px); }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { flex: auto; width: 100%; }
    .stat-pill { padding: 7px 10px; font-size: .68rem; }
    .glass-panel { padding: 18px; border-radius: 20px; }
    .section-head { align-items: center; }
    .neon-title { font-size: 1.32rem; }
    .news-feed { grid-template-columns: 1fr; gap: 12px; }
    .news-card { padding: 17px; }
    .catalog-bar { margin-left: -18px; margin-right: -18px; padding: 11px 18px; }
    .catalog-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .catalog-bar .chips::-webkit-scrollbar { display: none; }
    .chip { flex: 0 0 auto; }
    .catalog-grid { grid-template-columns: 1fr; gap: 11px; }
    .p-card { flex-direction: row; align-items: stretch; min-height: 125px; }
    .p-cover { display: none; }
    .p-icon-solo { display: block; width: 76px; height: 76px; margin: 13px 0 13px 13px; border-radius: 17px !important; align-self: center; }
    .p-body { justify-content: center; padding: 13px; }
    .p-card.has-icon .p-body { padding-top: 13px; }
    .p-title { margin: 6px 0 3px; font-size: .95rem; }
    .p-desc { -webkit-line-clamp: 2; font-size: .75rem; }
    .p-more { display: none; }
    .product-actions { flex-direction: column; }
    .product-actions .contact-link, .multicolor-tag { width: 100%; justify-content: center; }
    .product-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-left: -18px; margin-right: -18px; padding: 0 18px 8px; scrollbar-width: none; }
    .gallery-item { flex: 0 0 86%; scroll-snap-align: center; }
    .contact-links-container { flex-direction: column; }
    .contact-link { width: 100%; }
    .search-overlay { align-items: end; padding: 0; }
    .search-dialog { width: 100%; max-height: 88svh; border-radius: 22px 22px 0 0; border-bottom: 0; }
    .search-dialog-head { padding: 13px 14px; }
    .search-results { padding: 8px; }
    .search-result { min-height: 66px; padding: 8px; }
    .search-dialog-foot { padding: 11px 14px calc(12px + var(--safe-bottom)); }
    body.not-home .hero { min-height: 142px; padding: 20px 16px 42px; }
    body.not-home .hero-copy { gap: 12px; }
    body.not-home .hero-badge { width: 45px; height: 45px; border-radius: 13px; }
    body.not-home .hero-title { font-size: clamp(1.35rem, 6vw, 1.85rem); }
    body.not-home .hero-title span { display: block; margin: 2px 0 0; font-size: .66em; }
}
@media (max-width: 360px) {
    .site-header { padding-left: 10px; padding-right: 10px; gap: 5px; }
    .brand { gap: 7px; }
    .brand-logo { width: 36px; height: 36px; }
    .brand-name { font-size: .98rem; }
    .header-actions { gap: 4px; }
    .header-icon-btn, .lang-btn { width: 38px; min-width: 38px; height: 38px; }
    .hero-stats { gap: 6px; }
    .stat-pill { font-size: .62rem; }
}

[dir="rtl"] .hero-content, [dir="rtl"] .hero-copy, [dir="rtl"] .catalog-intro { text-align: right; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats, [dir="rtl"] .hero-cta { direction: rtl; }
[dir="rtl"] .hero-float-card { direction: rtl; }

@media (hover: none) {
    .p-card:hover, .contact-link:hover, .menu-button:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-float-card { animation: none !important; }
    .search-dialog, .search-overlay { transition: none !important; }
}

/* Light theme contrast correction */
html[data-theme="light"] {
    --primary: #a91f55;
    --primary-soft: #a51d50;
    --secondary: #713b9e;
    --secondary-soft: #603184;
    --accent: #087b70;
    --accent-soft: #583783;
    --pink: #b4235c;
    --bg: #f5f3f9;
    --bg-alt: #eeebf4;
    --surface: rgba(255, 255, 255, .97);
    --surface-2: #ffffff;
    --surface-3: #f0edf6;
    --border: rgba(43, 31, 63, .12);
    --border-strong: rgba(43, 31, 63, .2);
    --text: #211b2c;
    --text-dim: #5f586b;
    --text-soft: #393246;
    --gradient-brand: linear-gradient(125deg, #b51f58 0%, #71399e 58%, #087b70 100%);
    --gradient-hot: linear-gradient(125deg, #b51f58, #71399e);
    --shadow-card: 0 14px 38px rgba(41, 31, 74, .10);
    color-scheme: light;
}

html[data-theme="light"] body,
html[data-theme="light"] #main-content,
html[data-theme="light"] .content-shell {
    color: var(--text);
}

html[data-theme="light"] .hero-title span {
    background-image: linear-gradient(100deg, #a91f55 5%, #713b9e 52%, #087b70 100%);
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-eyebrow,
html[data-theme="light"] .hero-float-icon,
html[data-theme="light"] .news-card-toggle,
html[data-theme="light"] .p-more,
html[data-theme="light"] .to-top {
    color: var(--primary) !important;
}

html[data-theme="light"] .stat-pill b,
html[data-theme="light"] .news-card-badge:not(.is-first),
html[data-theme="light"] .product-actions .yt-btn {
    color: var(--accent) !important;
}

html[data-theme="light"] .count-pill,
html[data-theme="light"] .drawer-tester-head h4,
html[data-theme="light"] .test-badge,
html[data-theme="light"] .p-tag.test,
html[data-theme="light"] .product-actions .share-btn {
    color: var(--secondary) !important;
}

html[data-theme="light"] .news-card.is-first .news-card-badge {
    color: #a51d50 !important;
}

html[data-theme="light"] .p-tag.rust {
    color: #914b16 !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
html[data-theme="light"] .menu-item:hover,
html[data-theme="light"] .chip:hover,
html[data-theme="light"] .back-link:hover,
html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .load-more,
html[data-theme="light"] .search-result,
html[data-theme="light"] .generic-modal-box {
    color: var(--text) !important;
}

html[data-theme="light"] .drawer-close {
    color: var(--text) !important;
}

html[data-theme="light"] .drawer-close:hover {
    color: #ffffff !important;
}

html[data-theme="light"] .chip.active {
    color: #ffffff !important;
}

html[data-theme="light"] .chip.active em {
    color: rgba(255, 255, 255, .84) !important;
}

html[data-theme="light"] .drawer-tester-btn,
html[data-theme="light"] .multicolor-tag {
    color: #ffffff !important;
}

html[data-theme="light"] .product-menu-button,
html[data-theme="light"] .req-link {
    color: var(--text) !important;
}

html[data-theme="light"] .perm-list strong,
html[data-theme="light"] .cmd-table td:nth-child(2) {
    color: var(--secondary) !important;
}

html[data-theme="light"] .product-actions .contact-link.license-btn {
    border-color: var(--border-strong) !important;
}

html[data-theme="light"] .product-actions .contact-link.widget-btn {
    color: #8f4b00 !important;
}

html[data-theme="light"] .contact-box [style*="color:#5bb4ee"] {
    color: #145f8e !important;
}

html[data-theme="light"] .hero-float-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .p-card,
html[data-theme="light"] .contact-box,
html[data-theme="light"] .search-dialog,
html[data-theme="light"] .drawer {
    color: var(--text);
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
    color: var(--text);
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: var(--text-dim);
    opacity: 1;
}

/* Light theme: readable product links inside news posts */
html[data-theme="light"] .news-card-body a,
html[data-theme="light"] .news-card-body a:link,
html[data-theme="light"] .news-card-body a:visited,
html[data-theme="light"] .news-card-body a *,
html[data-theme="light"] .news-card-body a:visited * {
    color: #8f1748 !important;
    -webkit-text-fill-color: #8f1748 !important;
    text-decoration-color: rgba(143, 23, 72, .55) !important;
}

html[data-theme="light"] .news-card-body a:hover,
html[data-theme="light"] .news-card-body a:focus-visible,
html[data-theme="light"] .news-card-body a:hover * {
    color: #64268f !important;
    -webkit-text-fill-color: #64268f !important;
    text-decoration-color: rgba(100, 38, 143, .7) !important;
}

/* ZH3LL visual system refresh: consistent contrast, hierarchy and touch layouts */
:root {
    --font-ui: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;
    --primary: #ff477e;
    --primary-soft: #ff9fbd;
    --secondary: #b879ff;
    --secondary-soft: #dfc0ff;
    --accent: #52e4d0;
    --pink: #ff6fa4;
    --gradient-brand: linear-gradient(118deg, #ff477e 0%, #b879ff 54%, #52e4d0 100%);
    --gradient-hot: linear-gradient(118deg, #ff477e, #b879ff);
    --radius-lg: 26px;
    --radius-md: 19px;
    --radius-sm: 13px;
    --tap: 48px;
    --shadow-card: 0 18px 52px rgba(0, 0, 0, .28);
}
html[data-theme="light"] {
    --bg: #f7f6fb;
    --bg-alt: #efedf6;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --surface-3: #f0edf7;
    --border: rgba(37, 27, 57, .12);
    --border-strong: rgba(37, 27, 57, .22);
    --text: #211a2d;
    --text-dim: #625a70;
    --text-soft: #40374e;
    --primary: #a71950;
    --primary-soft: #921746;
    --secondary: #69329b;
    --secondary-soft: #592985;
    --accent: #08776d;
    --pink: #a71950;
    --gradient-brand: linear-gradient(118deg, #a71950 0%, #69329b 54%, #08776d 100%);
    --gradient-hot: linear-gradient(118deg, #a71950, #69329b);
    --shadow-card: 0 14px 38px rgba(45, 31, 69, .10);
    color-scheme: light;
}
html, body { font-family: var(--font-ui); }
.brand-name, .neon-title, .section-title, .product-menu-button, .menu-button, .p-title, .page-btn, .previews-label {
    font-family: var(--font-display) !important;
    letter-spacing: -.025em !important;
}
.brand-name { font-weight: 900; letter-spacing: .075em !important; }
.neon-title { font-weight: 850; line-height: 1.12; }
.site-header { border-bottom-color: var(--border); }
.header-icon-btn, .lang-btn, .drawer-toggle {
    min-width: var(--tap); min-height: var(--tap); border-radius: 14px;
    border-color: var(--border-strong); background: var(--surface-2);
    color: var(--text); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header-icon-btn:hover, .lang-btn:hover, .drawer-toggle:hover {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 71, 126, .10), 0 8px 22px rgba(0,0,0,.10);
}
.nav-link { font-family: var(--font-ui) !important; font-weight: 800; }
.btn-primary, .btn-ghost, .contact-link, .load-more, .back-link, .news-card-toggle, .product-menu-button, .menu-button, .chip, .search-close, .lang-item {
    font-family: var(--font-ui); font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary { border: 1px solid rgba(255,255,255,.2); box-shadow: 0 9px 28px rgba(255,71,126,.23); }
.btn-primary:hover, .contact-link:hover, .load-more:hover { transform: translateY(-2px); }
.hero { isolation: isolate; }
.hero-content { max-width: 1240px; }
.hero-title { font-family: var(--font-display); letter-spacing: -.055em; line-height: 1.02; }
.hero-description { max-width: 680px; line-height: 1.8; }
.glass-panel, .news-card, .p-card, .contact-box, .product-description, .search-dialog, .lang-sheet {
    border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.news-card, .p-card { overflow: hidden; }
.news-card { border-radius: 20px; }
.news-card-body { overflow-wrap: anywhere; }
.news-card-body a, .news-card-body a:link, .news-card-body a:visited, .news-card-body .news-product-link {
    color: #ff75a1; -webkit-text-fill-color: currentColor; font-weight: 850;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
    border-radius: 5px; transition: color .18s ease, background .18s ease;
}
.news-card-body a:hover, .news-card-body a:focus-visible, .news-card-body .news-product-link:hover {
    color: #ffd0e0; -webkit-text-fill-color: currentColor; background: rgba(255,255,255,.08);
}
html[data-theme="light"] .news-card-body a,
html[data-theme="light"] .news-card-body a:link,
html[data-theme="light"] .news-card-body a:visited,
html[data-theme="light"] .news-card-body a *,
html[data-theme="light"] .news-card-body a:visited *,
html[data-theme="light"] .news-card-body .news-product-link {
    color: #8d1749 !important; -webkit-text-fill-color: #8d1749 !important;
    text-decoration-color: rgba(141,23,73,.55) !important;
}
html[data-theme="light"] .news-card-body a:hover,
html[data-theme="light"] .news-card-body a:focus-visible,
html[data-theme="light"] .news-card-body a:hover * {
    color: #5e2a8b !important; -webkit-text-fill-color: #5e2a8b !important;
}
html[data-theme="light"] .news-card-body [style*="color: white"],
html[data-theme="light"] .news-card-body [style*="color:white"],
html[data-theme="light"] .news-card-body [style*="color: #fff"],
html[data-theme="light"] .news-card-body [style*="color:#fff"] { color: var(--text) !important; -webkit-text-fill-color: var(--text) !important; }
.p-card { border-radius: 21px; background: var(--surface-2); }
.p-card:hover { border-color: var(--primary); box-shadow: 0 18px 42px rgba(120,50,100,.16); }
.p-title { color: var(--text) !important; }
.p-desc { color: var(--text-dim) !important; }
.product-description { color: var(--text-soft); overflow-wrap: anywhere; }
.product-description a { color: var(--primary); font-weight: 800; }
.product-description img { max-width: 100%; height: auto; }
.catalog-search input, .lang-search, .search-input { font: 650 16px/1.4 var(--font-ui); }
.catalog-search input:focus, .lang-search:focus, .search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,71,126,.12); }
.search-result { border-radius: 15px; }
.search-result-title { color: var(--text) !important; }
.search-result-description { color: var(--text-dim) !important; }
.lang-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.lang-item { min-height: 64px; border-radius: 14px; }
.lang-item-native { font-family: var(--font-ui); font-weight: 800; }
.lang-item-en { color: var(--text-dim); }
.lang-item.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, var(--surface-2)); }
.product-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.product-actions .contact-link { min-height: 48px; padding: 11px 16px; }
.contact-link { border-radius: 14px; }
.menu-button, .product-menu-button { min-height: 54px; }
.site-footer { color: var(--text-soft); }
.bottom-nav { padding-bottom: max(8px, var(--safe-bottom)); }

/* Light mode: all common surfaces and text use the same contrast tokens. */
html[data-theme="light"] body,
html[data-theme="light"] #main-content,
html[data-theme="light"] .content-shell,
html[data-theme="light"] .news-card,
html[data-theme="light"] .news-card-body,
html[data-theme="light"] .p-card,
html[data-theme="light"] .p-body,
html[data-theme="light"] .product-description,
html[data-theme="light"] .contact-box,
html[data-theme="light"] .drawer,
html[data-theme="light"] .search-dialog,
html[data-theme="light"] .lang-sheet,
html[data-theme="light"] .generic-modal-box,
html[data-theme="light"] .toggle-neon-box-styled { color: var(--text); }
html[data-theme="light"] .site-header,
html[data-theme="light"] .bottom-nav,
html[data-theme="light"] .drawer,
html[data-theme="light"] .search-dialog,
html[data-theme="light"] .lang-sheet,
html[data-theme="light"] .generic-modal-box { background-color: var(--surface) !important; }
html[data-theme="light"] .news-card,
html[data-theme="light"] .p-card,
html[data-theme="light"] .contact-box,
html[data-theme="light"] .product-description,
html[data-theme="light"] .menu-button,
html[data-theme="light"] .product-menu-button,
html[data-theme="light"] .contact-link,
html[data-theme="light"] .back-link,
html[data-theme="light"] .chip,
html[data-theme="light"] .load-more,
html[data-theme="light"] .search-result,
html[data-theme="light"] .lang-item,
html[data-theme="light"] .catalog-search input,
html[data-theme="light"] .lang-search,
html[data-theme="light"] .search-input { border-color: var(--border-strong); }
html[data-theme="light"] .news-card-date,
html[data-theme="light"] .p-desc,
html[data-theme="light"] .catalog-intro,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .lang-item-en,
html[data-theme="light"] .search-result-description,
html[data-theme="light"] .search-results-label,
html[data-theme="light"] .search-dialog-foot { color: var(--text-dim) !important; }
html[data-theme="light"] .news-card-badge:not(.is-first),
html[data-theme="light"] .p-more,
html[data-theme="light"] .hero-eyebrow,
html[data-theme="light"] .stat-pill b { color: var(--primary) !important; }
html[data-theme="light"] .nav-link,
html[data-theme="light"] .menu-item,
html[data-theme="light"] .menu-button,
html[data-theme="light"] .product-menu-button,
html[data-theme="light"] .contact-link,
html[data-theme="light"] .back-link,
html[data-theme="light"] .chip,
html[data-theme="light"] .load-more,
html[data-theme="light"] .header-icon-btn,
html[data-theme="light"] .lang-btn,
html[data-theme="light"] .drawer-toggle,
html[data-theme="light"] .search-close { color: var(--text) !important; }
html[data-theme="light"] .nav-link.active,
html[data-theme="light"] .chip.active { background: var(--gradient-hot); color: #fff !important; border-color: transparent; }
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .drawer-tester-btn,
html[data-theme="light"] .multicolor-tag { color: #fff !important; }
html[data-theme="light"] .hero-title { color: var(--text); }
html[data-theme="light"] .hero-title span { -webkit-text-fill-color: transparent; }
html[data-theme="light"] .hero-float-card { background: rgba(255,255,255,.94); border-color: var(--border); }
html[data-theme="light"] .hero-float-card strong { color: var(--text); }
html[data-theme="light"] .hero-float-card small { color: var(--text-dim); }
html[data-theme="light"] .toggle-neon-box-styled { background: #f4f1f8; }
html[data-theme="light"] .cmd-table, html[data-theme="light"] .cmd-table td { color: var(--text); border-color: var(--border); }
html[data-theme="light"] .perm-list strong { color: var(--secondary) !important; }
html[data-theme="light"] .news-card.is-first { background: linear-gradient(135deg, rgba(167,25,80,.055), rgba(105,50,155,.055)), #fff; }
html[data-theme="light"] .news-card.is-first .news-card-badge { color: #921746 !important; }
html[data-theme="light"] .news-ticker-shell { background: var(--surface); border-color: var(--border); }
html[data-theme="light"] .news-ticker-item { color: var(--text-soft); }
html[data-theme="light"] .toast { background: #fff; color: var(--text); border-color: var(--border-strong); }

@media (max-width: 760px) {
    :root { --header-h: 66px; --bottom-nav-h: 68px; }
    .site-header { padding-left: 13px; padding-right: 13px; }
    .brand { gap: 8px; }
    .brand-logo { width: 36px; height: 36px; }
    .brand-name { font-size: .96rem; }
    .header-actions { gap: 6px; }
    .header-icon-btn, .lang-btn, .drawer-toggle { width: 42px; min-width: 42px; height: 42px; min-height: 42px; }
    .lang-btn { padding: 0 8px; }
    .hero { padding-top: 38px; padding-bottom: 48px; }
    .hero-title { font-size: clamp(2.35rem, 11vw, 4rem); }
    .hero-description { font-size: .96rem; }
    .hero-cta { display: grid; grid-template-columns: 1fr; width: min(100%, 360px); }
    .hero-cta > * { width: 100%; justify-content: center; }
    .news-feed { grid-template-columns: 1fr !important; gap: 13px; }
    .news-card { padding: 17px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .p-card { border-radius: 16px; }
    .p-cover { height: auto; aspect-ratio: 1.22 / 1; }
    .p-icon-solo { width: 46px; height: 46px; }
    .p-body { padding: 12px; }
    .p-title { font-size: .91rem; line-height: 1.3; }
    .p-desc { font-size: .76rem; line-height: 1.5; }
    .p-more { font-size: .72rem; }
    .catalog-bar { align-items: stretch; }
    .catalog-search { width: 100%; }
    .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: 0 0 auto; }
    .product-header-icon { width: 104px; height: 104px; }
    .product-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .product-actions .contact-link, .product-actions .multicolor-tag { width: 100%; min-width: 0; justify-content: center; text-align: center; }
    .product-description { padding: 16px; font-size: .94rem; }
    .product-gallery { gap: 10px; }
    .lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lang-item { min-height: 60px; padding: 10px; gap: 8px; }
    .lang-item-native { font-size: .88rem; }
    .lang-item-en { font-size: .68rem; }
    .search-result { min-height: 68px; }
    .search-result-icon { width: 43px; height: 43px; flex-basis: 43px; }
    .search-result-type { display: none; }
    .section-head { align-items: center; gap: 10px; }
    .section-head .neon-title { font-size: clamp(1.55rem, 7vw, 2.2rem); }
}
@media (max-width: 380px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .lang-grid { grid-template-columns: 1fr; }
    .brand-name { font-size: .85rem; }
    .product-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.news-card-body .neon-text { color: var(--primary) !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
html[data-theme="light"] .news-card-body,
html[data-theme="light"] .news-card-body *:not(a) {
    color: var(--text-soft) !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}
html[data-theme="light"] .news-card-body .neon-text { color: var(--primary) !important; }
html[data-theme="light"] .news-card-body a,
html[data-theme="light"] .news-card-body a * { color: #8d1749 !important; -webkit-text-fill-color: #8d1749 !important; }



/* ZH3LL 2026 — premium interface system */
:root {
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --primary: #a855f7;
  --primary-soft: #c084fc;
  --secondary: #22d3ee;
  --secondary-soft: #67e8f9;
  --accent: #f5b942;
  --gradient-brand: linear-gradient(120deg,#a855f7 0%,#6366f1 48%,#22d3ee 100%);
  --gradient-hot: linear-gradient(120deg,#a855f7,#ec4899);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --tap: 46px;
}
html[data-theme="dark"] {
  --bg: #080b16;
  --surface: #101629;
  --surface-2: #151e34;
  --surface-3: #1b2740;
  --text: #f4f6ff;
  --text-soft: #c1cbe0;
  --text-dim: #8e9bb8;
  --border: rgba(165,180,252,.14);
  --border-strong: rgba(165,180,252,.27);
  --shadow-card: 0 18px 55px rgba(0,0,0,.28);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #f0f3fa;
  --surface-3: #e8edf7;
  --text: #182238;
  --text-soft: #394761;
  --text-dim: #66748e;
  --border: rgba(34,48,78,.10);
  --border-strong: rgba(34,48,78,.18);
  --primary: #7928ca;
  --primary-soft: #9333ea;
  --secondary: #087e9b;
  --secondary-soft: #0e7490;
  --gradient-brand: linear-gradient(120deg,#7928ca 0%,#5554d8 52%,#087e9b 100%);
  --gradient-hot: linear-gradient(120deg,#7928ca,#c02672);
  --shadow-card: 0 16px 42px rgba(30,43,75,.09);
}
html, body { font-family: var(--font-body) !important; }
body { background: var(--bg); color: var(--text); letter-spacing: -.012em; }
::selection { background: rgba(168,85,247,.25); color: var(--text); }
a { text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(34,211,238,.65) !important; outline-offset: 3px; }

/* Header and navigation */
.site-header {
  min-height: var(--header-h);
  background: color-mix(in srgb,var(--surface) 88%,transparent) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 8px 32px rgba(12,20,42,.06);
  backdrop-filter: blur(22px) saturate(150%) !important;
}
.brand-name { font-family: var(--font-display) !important; font-weight: 800; letter-spacing: -.055em; }
.nav-link { border-radius: 12px; font-weight: 750; transition: .22s ease; }
.nav-link:hover { background: var(--surface-2); transform: translateY(-1px); }
.header-icon-btn,.lang-btn,.drawer-toggle { border-radius: 14px !important; }
.header-icon-btn:hover,.lang-btn:hover,.drawer-toggle:hover { transform: translateY(-2px); }

/* Hero: content-led, not a generic template */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 12%,rgba(168,85,247,.17),transparent 42%),
    radial-gradient(ellipse at 88% 26%,rgba(34,211,238,.12),transparent 38%),
    linear-gradient(180deg,var(--surface),var(--bg)) !important;
}
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.22;
  background-image: linear-gradient(rgba(145,160,205,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(145,160,205,.12) 1px,transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom,black,transparent 88%);
}
.hero-content { position:relative; z-index:1; }
.hero-title { font-family:var(--font-display) !important; font-weight:800; letter-spacing:-.065em !important; }
.hero-description { color:var(--text-soft) !important; }
.hero-eyebrow { border:1px solid var(--border-strong); background:var(--surface-2); border-radius:999px; padding:8px 13px; }
.hero-core { filter: drop-shadow(0 0 24px rgba(168,85,247,.32)); }
.hero-orbit { border-color:rgba(168,85,247,.35) !important; }
.hero-float-card { border-radius:17px !important; backdrop-filter:blur(16px); }

/* Section hierarchy and panels */
.content-shell { max-width:1360px; gap:26px; }
.glass-panel,.news-card,.p-card,.contact-box,.product-description {
  border-radius:22px !important;
  border-color:var(--border) !important;
  box-shadow:var(--shadow-card) !important;
}
.glass-panel { background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 96%,var(--primary) 4%),var(--surface)) !important; }
.neon-title,.section-title { font-family:var(--font-display) !important; letter-spacing:-.045em !important; }
.neon-title { border-left:4px solid var(--secondary); padding-left:13px; }
.section-head { margin-bottom:22px; }

/* Product catalogue: readable cards, clear hierarchy */
.catalog-bar { padding:15px; border:1px solid var(--border); border-radius:19px; background:var(--surface); box-shadow:var(--shadow-card); }
.catalog-search input { min-height:48px; border-radius:14px !important; background:var(--surface-2) !important; color:var(--text) !important; border:1px solid var(--border-strong) !important; }
.catalog-search input::placeholder { color:var(--text-dim) !important; opacity:1; }
.chip { border-radius:999px !important; padding:9px 15px !important; }
.p-card { background:var(--surface) !important; transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease !important; }
.p-card:hover { transform:translateY(-5px); border-color:rgba(168,85,247,.5) !important; box-shadow:0 20px 46px rgba(89,55,150,.15) !important; }
.p-title { font-family:var(--font-display) !important; font-weight:800 !important; letter-spacing:-.025em; color:var(--text) !important; }
.p-desc { color:var(--text-soft) !important; line-height:1.65 !important; }
.p-more { color:var(--secondary) !important; font-weight:800; }
.product-description { line-height:1.8; }
.product-actions > * { min-height:46px; border-radius:13px !important; }

/* News cards and ticker — explicit contrast, including inline-styled links */
.news-feed { gap:18px !important; }
.news-card { background:var(--surface) !important; padding:clamp(18px,2.4vw,27px) !important; }
.news-card-title { font-family:var(--font-display) !important; letter-spacing:-.035em; }
.news-card-body { line-height:1.8 !important; overflow-wrap:anywhere; }
.news-ticker {
  max-width:1360px !important;
  margin-top:-27px !important;
  margin-bottom:30px !important;
}
.news-ticker-shell {
  height:58px !important;
  border-radius:16px !important;
  border:1px solid var(--border-strong) !important;
  background:var(--surface) !important;
  box-shadow:0 12px 35px rgba(25,35,65,.09) !important;
}
.news-ticker-item { color:var(--text) !important; font-weight:700 !important; gap:12px !important; }
.news-ticker-badge { background:var(--gradient-hot) !important; color:#fff !important; border-radius:7px !important; }
.news-ticker-text { color:var(--text) !important; }
.news-ticker-text a,
.news-ticker-text a:link,
.news-ticker-text a:visited,
.news-ticker-text a:hover,
.news-ticker-text a:active,
.news-ticker-text a *,
.news-ticker-text [style],
.news-ticker-text [style] * {
  color:var(--ticker-link-color,var(--primary)) !important;
  -webkit-text-fill-color:var(--ticker-link-color,var(--primary)) !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html[data-theme="light"] .news-ticker-text,
html[data-theme="light"] .news-ticker-text *,
html[data-theme="light"] .news-ticker-item { color:#26334d !important; -webkit-text-fill-color:currentColor !important; }
html[data-theme="light"] .news-ticker-text a,
html[data-theme="light"] .news-ticker-text a *,
html[data-theme="light"] .news-ticker-text [style],
html[data-theme="light"] .news-ticker-text [style] * {
  color:#7024b8 !important;
  -webkit-text-fill-color:#7024b8 !important;
  text-shadow:none !important;
  font-weight:850 !important;
}
html[data-theme="light"] .news-card-body a,
html[data-theme="light"] .news-card-body a *,
html[data-theme="light"] .news-card-body [style] a,
html[data-theme="light"] .news-card-body [style] a * {
  color:#7024b8 !important;
  -webkit-text-fill-color:#7024b8 !important;
  text-shadow:none !important;
}
html[data-theme="light"] .news-card-body,
html[data-theme="light"] .news-card-body *:not(a) {
  -webkit-text-fill-color:currentColor !important;
}

/* Search, language picker, overlays */
.search-dialog,.lang-sheet,.generic-modal-box,.drawer {
  border:1px solid var(--border-strong) !important;
  border-radius:24px !important;
  background:var(--surface) !important;
  box-shadow:0 28px 90px rgba(12,20,42,.24) !important;
}
.search-result { border-radius:14px !important; }
.search-result:hover { background:var(--surface-2) !important; }
.lang-item { border-radius:15px !important; background:var(--surface-2) !important; border:1px solid var(--border) !important; }
.lang-item:hover { border-color:var(--primary) !important; transform:translateY(-2px); }
.lang-item-native { color:var(--text) !important; font-weight:800; }
.lang-item-en { color:var(--text-dim) !important; }
input,textarea,select { color:var(--text) !important; }
input::placeholder,textarea::placeholder { color:var(--text-dim) !important; opacity:1; }

/* Buttons: consistent shape, contrast and touch target */
.btn-primary,.btn-ghost,.contact-link,.multicolor-tag,.drawer-tester-btn {
  min-height:46px; border-radius:13px !important; font-weight:800 !important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease !important;
}
.btn-primary { color:#fff !important; background:var(--gradient-brand) !important; box-shadow:0 8px 24px rgba(124,58,237,.24) !important; }
.btn-primary:hover,.contact-link:hover,.multicolor-tag:hover { transform:translateY(-2px); filter:brightness(1.05); }
.btn-ghost { background:var(--surface-2) !important; color:var(--text) !important; border:1px solid var(--border-strong) !important; }
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .drawer-tester-btn,
html[data-theme="light"] .multicolor-tag { color:#fff !important; }

/* Light theme: enforce readable foregrounds on every major surface */
html[data-theme="light"] body { color:#182238 !important; background:#f5f7fc !important; }
html[data-theme="light"] .site-header,
html[data-theme="light"] .bottom-nav,
html[data-theme="light"] .drawer,
html[data-theme="light"] .search-dialog,
html[data-theme="light"] .lang-sheet,
html[data-theme="light"] .generic-modal-box,
html[data-theme="light"] .glass-panel,
html[data-theme="light"] .news-card,
html[data-theme="light"] .p-card,
html[data-theme="light"] .contact-box,
html[data-theme="light"] .product-description { color:#182238 !important; }
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .neon-title,
html[data-theme="light"] .news-card-title,
html[data-theme="light"] .p-title,
html[data-theme="light"] .product-title { color:#182238 !important; }
html[data-theme="light"] .hero-description,
html[data-theme="light"] .p-desc,
html[data-theme="light"] .news-card-body,
html[data-theme="light"] .product-description,
html[data-theme="light"] .section-description { color:#46536d !important; }
html[data-theme="light"] .news-card-body *:not(a),
html[data-theme="light"] .product-description *:not(a) {
  text-shadow:none !important;
}
html[data-theme="light"] .news-card-body a,
html[data-theme="light"] .product-description a,
html[data-theme="light"] .news-card-body a *,
html[data-theme="light"] .product-description a * {
  color:#7024b8 !important; -webkit-text-fill-color:#7024b8 !important;
}
html[data-theme="light"] .nav-link,
html[data-theme="light"] .header-icon-btn,
html[data-theme="light"] .lang-btn { color:#27334b !important; }
html[data-theme="light"] .news-ticker-shell { background:#fff !important; }
html[data-theme="light"] .news-ticker-badge { color:#fff !important; }
html[data-theme="light"] .news-ticker-text a { color:#7024b8 !important; -webkit-text-fill-color:#7024b8 !important; }

/* Responsive refinements */
@media (min-width:1100px) {
  .catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .news-feed { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content-shell { padding-left:24px; padding-right:24px; }
}
@media (max-width:760px) {
  .news-ticker { padding:0 12px !important; margin-top:-20px !important; }
  .news-ticker-shell { height:50px !important; border-radius:13px !important; }
  .news-ticker-item { padding:0 13px !important; gap:8px !important; font-size:.78rem !important; }
  .news-ticker-badge { font-size:.61rem !important; }
  .news-ticker-icon-frame { width:25px !important; height:25px !important; min-width:25px !important; }
  .news-ticker-text { max-width:66vw !important; }
  .hero { padding-top:44px !important; padding-bottom:54px !important; }
  .content-shell { gap:16px !important; padding:0 13px !important; }
  .glass-panel { padding:19px !important; border-radius:19px !important; }
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
  .p-card { min-width:0; }
  .p-title { overflow-wrap:anywhere; }
  .lang-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .header-actions { gap:7px !important; }
  .header-icon-btn,.lang-btn,.drawer-toggle { min-width:42px !important; min-height:42px !important; }
}
@media (max-width:420px) {
  .catalog-grid { grid-template-columns:1fr !important; }
  .news-card { padding:16px !important; }
  .lang-grid { grid-template-columns:1fr !important; }
  .hero-title { letter-spacing:-.05em !important; }
}
@media (prefers-reduced-motion:no-preference) {
  .p-card,.news-card,.glass-panel { animation:surface-arrive .55s both; }
  @keyframes surface-arrive { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; }
}
