:root {
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* =========================================
   1. ADMIN BAR & CORE SETTINGS
   ========================================= */

/* Adjust the login admin bar to show the web document below topbar */
.customize-support header,
.customize-support #search-overlay,
.customize-support #mobile-menu {
    top: 32px;
}

@media (max-width: 782px) {

    .customize-support header,
    .customize-support #search-overlay,
    .customize-support #mobile-menu {
        top: 46px;
    }
}

body {
    font-family: var(--font-stack);
    background-color: #f7f7f7;
    min-height: 100vh;
    color: #1f2937;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
}

.dark body {
    background-color: #070910;
    color: #f3f4f6;
}

/* =========================================
   2. BACKGROUND PATTERNS
   ========================================= */

.icon-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    color: #64748b;
    opacity: 0.04;
    transform: rotate(-10deg);
    transition: opacity 0.3s ease;
}

.dark .bg-icon {
    color: #94a3b8;
    opacity: 0.05;
}

/* =========================================
   3. CONTAINERS & PANELS (Liquid/Glass)
   ========================================= */

/* Main Container */
.liquid-container {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
}

.dark .liquid-container {
    background: linear-gradient(135deg,
            rgba(19, 23, 33, 0.86),
            rgba(9, 11, 18, 0.72));
    border: 1px solid rgba(245, 177, 26, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Panels */
.liquid-panel {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.dark .liquid-panel {
    background: linear-gradient(135deg,
            rgba(19, 23, 33, 0.90),
            rgba(9, 11, 18, 0.78));
    border: 1px solid rgba(245, 177, 26, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* =========================================
   4. CARDS
   ========================================= */

/* Standard Glass Card */
.glass-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark .glass-card {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.6),
            rgba(30, 41, 59, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.6));
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.dark .glass-card:hover {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.9),
            rgba(30, 41, 59, 0.6));
    border-color: #34d399;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.glass-card.interactive:active {
    transform: scale(0.98);
}

.glass-card-static {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.dark .glass-card-static {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.6),
            rgba(30, 41, 59, 0.3));
}

/* Generic Interactive Wrapper */
.glass-interactive:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    cursor: pointer;
}

.dark .glass-interactive:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* Liquid Card (Horizontal/List) */
.liquid-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark .liquid-card {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.5),
            rgba(30, 41, 59, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.liquid-card:hover {
    transform: translateY(-4px);
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.7));
}

.dark .liquid-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.9),
            rgba(30, 41, 59, 0.5));
}

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */

.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.dark .glass-header {
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.85),
            rgba(15, 23, 42, 0.7));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-arrow {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

/* =========================================
   6. FOOTER
   ========================================= */

.glass-footer {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.dark .glass-footer {
    background: linear-gradient(180deg,
            rgba(30, 41, 59, 0.6),
            rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

/* Footer Link Light Effect */
.footer-link {
    position: relative;
    padding-left: 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #9ca3af;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
}

.footer-link:hover {
    color: #10b981;
}

.dark .footer-link:hover {
    color: #34d399;
}

.footer-link:hover::before {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981, 0 0 12px #34d399;
    transform: translateY(-50%) scale(1.2);
}

/* =========================================
   7. BUTTONS & CHIPS
   ========================================= */

/* Liquid Button */
.btn-liquid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-liquid:hover,
.btn-liquid:active {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

/* Liquid Danger Button */
.btn-liquid-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-liquid-danger:hover,
.btn-liquid-danger:active {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* Telegram Button */
.btn-telegram {
    background: linear-gradient(135deg, #108bb9, #057996);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover,
.btn-telegram:active {
    background: linear-gradient(135deg, #108bb9, #057996);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.5);
}

/* Glass Chip */
.glass-chip {
    display: inline-block;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
}

.dark .glass-chip {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.6),
            rgba(30, 41, 59, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.glass-chip:hover {
    transform: translateY(-3px);
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* =========================================
   8. UI UTILITIES & BADGES
   ========================================= */

/* Icon Box */
.liquid-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    flex-shrink: 0;
}

.dark .liquid-icon-box {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
}

/* Platform Icons */
.liquid-platform-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.liquid-platform-icon.android {
    background: linear-gradient(135deg, #3ddc84, #34a853);
}

.liquid-platform-icon.ios {
    background: linear-gradient(135deg, #333, #000);
}

/* Badges */
.liquid-mod-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    letter-spacing: 0.05em;
}

.liquid-new-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.liquid-trending-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark .badge-glass {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.liquid-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #64748b;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.dark .liquid-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Text Colors */
.liquid-text-primary {
    color: #1f2937;
}

.dark .liquid-text-primary {
    color: #f1f5f9;
}

.liquid-text-secondary {
    color: #6b7280;
}

.dark .liquid-text-secondary {
    color: #94a3b8;
}

.liquid-text-tertiary {
    color: #9ca3af;
}

.dark .liquid-text-tertiary {
    color: #64748b;
}

.liquid-success {
    color: #10b981;
}

.text-gradient {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   9. SHUTTER OVERLAY
   ========================================= */

.shutter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(240, 253, 244, 0.98);
    z-index: 100;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dark .shutter-overlay {
    background: rgba(15, 23, 42, 0.98);
}

.shutter-overlay.open {
    height: 100vh;
}

.shutter-input {
    font-size: 1.5rem;
    border: none;
    border-bottom: 2px solid #10b981;
    background: transparent;
    width: 80%;
    max-width: 700px;
    padding: 1rem 0;
    outline: none;
    color: #065f46;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

@media (min-width: 768px) {
    .shutter-input {
        font-size: 2rem;
    }
}

.dark .shutter-input {
    border-color: #34d399;
    color: #ecfdf5;
}

.shutter-overlay.open .shutter-input {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   10. SLIDER
   ========================================= */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
}

.dark .slide-content-glass {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.slider-nav-btn:hover {
    background: rgba(16, 185, 129, 0.8);
    border-color: rgba(16, 185, 129, 1);
    color: white;
}

.dark .slider-nav-btn {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .slider-nav-btn:hover {
    background: rgba(16, 185, 129, 0.8);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.slider-dot.active {
    width: 24px;
    border-radius: 99px;
    background: #10b981;
}

/* =========================================
   11. ACCORDION & TYPOGRAPHY
   ========================================= */

.accordion-content {
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-content.active {
    max-height: 1000px;
    opacity: 1;
}

.rotate-icon {
    transition: transform 0.3s ease;
}

.rotate-icon.active {
    transform: rotate(180deg);
}

/* --- Headings (H1 - H6) --- */
.prose-custom h1,
.prose-custom h2,
.prose-custom h3,
.prose-custom h4,
.prose-custom h5,
.prose-custom h6 {
    color: #1f2937;
    font-weight: 800;
    line-height: 1.25;
    padding-bottom: 0.5rem;
}

.dark .prose-custom h1,
.dark .prose-custom h2,
.dark .prose-custom h3,
.dark .prose-custom h4,
.dark .prose-custom h5,
.dark .prose-custom h6 {
    color: #f3f4f6;
}

.prose-custom h1 {
    font-size: 2.25rem;
    margin-top: 0;
}

.prose-custom h2 {
    font-size: 1.75rem;
}

.prose-custom h3 {
    font-size: 1.35rem;
}

.prose-custom h4 {
    font-size: 1.15rem;
}

.prose-custom h5 {
    font-size: 1rem;
}

.prose-custom h6 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.dark .prose-custom h6 {
    color: #9ca3af;
}

/* --- Content --- */
.content-area {
    word-break: break-word;
}

/* --- Paragraphs --- */
.prose-custom p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    color: #4b5563;
}

.dark .prose-custom p {
    color: #9ca3af;
}

/* --- Links (Anchor Tags) --- */
.prose-custom a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.2s;
}

.dark .prose-custom a {
    color: #60a5fa;
}

.prose-custom a:hover {
    color: #1d4ed8;
}

.dark .prose-custom a:hover {
    color: #93c5fd;
}

/* --- Lists (UL, OL, LI) --- */
.prose-custom ul,
.prose-custom ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
    color: #4b5563;
}

.dark .prose-custom ul,
.dark .prose-custom ol {
    color: #9ca3af;
}

.prose-custom ul {
    list-style-type: disc;
}

.prose-custom ol {
    list-style-type: decimal;
}

.prose-custom li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Nested Lists */
.prose-custom ul ul,
.prose-custom ul ol,
.prose-custom ol ul,
.prose-custom ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* --- Blockquotes --- */
.prose-custom blockquote {
    font-weight: 500;
    font-style: italic;
    color: #111827;
    border-left: 0.25rem solid #e5e7eb;
    margin: 1.6em 0;
    padding-left: 1em;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.dark .prose-custom blockquote {
    color: #f3f4f6;
    border-left-color: #374151;
    background: rgba(255, 255, 255, 0.05);
}

/* --- Code (Inline) --- */
.prose-custom code {
    color: #db2777;
    /* Pinkish color for inline code */
    font-weight: 600;
    font-size: 0.875em;
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
}

.dark .prose-custom code {
    color: #f472b6;
    background-color: #374151;
}

/* --- Preformatted Text (Code Blocks) --- */
.prose-custom pre {
    color: #e5e7eb;
    background-color: #1f2937;
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.7;
    margin-top: 1.7em;
    margin-bottom: 1.7em;
    border-radius: 0.5rem;
    padding: 1em;
    border: 1px solid #374151;
}

.dark .prose-custom pre {
    background-color: #111827;
    /* Darker bg for dark mode */
}

/* Reset code styles inside pre */
.prose-custom pre code {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* --- Images & Media --- */
.prose-custom img,
.prose-custom video,
.prose-custom figure {
    margin: 1em auto;
    border-radius: 0.5rem;
    height: auto;
    max-width: 100%;
}

.prose-custom img,
.prose-custom video {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Horizontal Rule (Divider) --- */
.prose-custom hr {
    border-color: #e5e7eb;
    border-top-width: 1px;
    margin-top: 3em;
    margin-bottom: 3em;
}

.dark .prose-custom hr {
    border-color: #374151;
}

/* --- Tables --- */
.prose-custom table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 0.875em;
    border-collapse: collapse;
}

.prose-custom thead {
    border-bottom: 2px solid #e5e7eb;
    background-color: #f9fafb;
}

.dark .prose-custom thead {
    border-bottom-color: #4b5563;
    background-color: #374151;
}

.prose-custom th {
    color: #111827;
    font-weight: 600;
    padding: 0.75rem;
    vertical-align: bottom;
}

.dark .prose-custom th {
    color: #f3f4f6;
}

.prose-custom td {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem;
    vertical-align: top;
    color: #4b5563;
}

.dark .prose-custom td {
    border-bottom-color: #374151;
    color: #9ca3af;
}

.prose-custom tbody tr:nth-child(odd) {
    background-color: transparent;
}

.prose-custom tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.dark .prose-custom tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* =========================================
   IPAOMTK Brand Refresh
   ========================================= */

:root {
    --ipaomtk-red: #e11d2f;
    --ipaomtk-red-dark: #9f1021;
    --ipaomtk-gold: #f5b11a;
    --ipaomtk-gold-soft: #fff1b8;
    --ipaomtk-ink: #080b12;
    --ipaomtk-panel: #111827;
    --ipaomtk-muted: #6b7280;
    --ipaomtk-ring: rgba(225, 29, 47, 0.24);
}

html.dark,
html.dark body,
.dark body {
    background: #080b12 !important;
}

body {
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 177, 26, 0.12), transparent 26rem),
        radial-gradient(circle at 100% 8%, rgba(225, 29, 47, 0.10), transparent 24rem),
        #f8fafc;
}

.dark body {
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 177, 26, 0.10), transparent 28rem),
        radial-gradient(circle at 100% 8%, rgba(225, 29, 47, 0.14), transparent 26rem),
        #080b12 !important;
}

.glass-header {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(225, 29, 47, 0.10) !important;
    box-shadow: 0 14px 40px rgba(8, 11, 18, 0.08) !important;
}

.dark .glass-header {
    background: rgba(8, 11, 18, 0.96) !important;
    border-bottom: 1px solid rgba(245, 177, 26, 0.18) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42) !important;
}

.glass-header nav {
    background: rgba(8, 11, 18, 0.06) !important;
    border-color: rgba(225, 29, 47, 0.10) !important;
}

.dark .glass-header nav {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(245, 177, 26, 0.16) !important;
}

.glass-header a[class*="bg-white"],
.glass-header .bg-white,
.glass-header .dark\:bg-emerald-600 {
    background: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(225, 29, 47, 0.24) !important;
}

.glass-header a:hover,
.glass-header button:hover {
    color: #fff !important;
}

.btn-liquid,
.liquid-new-badge,
.liquid-trending-badge,
.slider-dot.active,
.glass-chip:hover,
.bg-emerald-500,
.bg-emerald-600,
.bg-green-500,
.dark .dark\:bg-emerald-600,
.hover\:bg-emerald-500:hover,
.dark .dark\:hover\:bg-emerald-600:hover {
    background: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
    color: #fff !important;
}

.btn-liquid {
    border-color: rgba(245, 177, 26, 0.28) !important;
    box-shadow: 0 10px 28px rgba(225, 29, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.btn-liquid:hover,
.btn-liquid:active {
    background: linear-gradient(135deg, #f23b46, #b71326) !important;
    box-shadow: 0 14px 34px rgba(225, 29, 47, 0.38) !important;
}

.text-emerald-400,
.text-emerald-500,
.text-emerald-600,
.text-emerald-700,
.text-green-600,
.text-green-700,
.hover\:text-emerald-600:hover,
.hover\:text-green-500:hover,
.group:hover .group-hover\:text-green-300,
.group:hover .group-hover\:text-emerald-500,
.dark .dark\:text-emerald-400,
.dark .dark\:text-green-400,
.dark .group:hover .dark\:group-hover\:text-emerald-400,
.liquid-success {
    color: var(--ipaomtk-red) !important;
}

.dark .text-emerald-400,
.dark .text-emerald-500,
.dark .text-emerald-600,
.dark .text-emerald-700,
.dark .text-green-600,
.dark .text-green-700,
.dark .dark\:text-emerald-400,
.dark .dark\:text-green-400,
.dark .liquid-success {
    color: var(--ipaomtk-gold) !important;
}

.liquid-icon-box {
    background: rgba(225, 29, 47, 0.10) !important;
    color: var(--ipaomtk-red) !important;
    border: 1px solid rgba(225, 29, 47, 0.12);
}

.dark .liquid-icon-box {
    background: rgba(245, 177, 26, 0.12) !important;
    color: var(--ipaomtk-gold) !important;
    border-color: rgba(245, 177, 26, 0.16);
}

.glass-card:hover,
.liquid-card:hover,
.glass-interactive:hover {
    border-color: var(--ipaomtk-red) !important;
    box-shadow: 0 20px 42px rgba(225, 29, 47, 0.18) !important;
}

.dark .glass-card:hover,
.dark .liquid-card:hover,
.dark .glass-interactive:hover {
    border-color: rgba(245, 177, 26, 0.42) !important;
    box-shadow: 0 20px 42px rgba(245, 177, 26, 0.12) !important;
}

.liquid-platform-icon.ios {
    background: linear-gradient(135deg, #151922, #030508) !important;
    border: 1px solid rgba(245, 177, 26, 0.35);
}

.liquid-platform-icon.android {
    background: linear-gradient(135deg, #f5b11a, #e11d2f) !important;
}

.liquid-mod-badge {
    background: linear-gradient(135deg, var(--ipaomtk-gold), var(--ipaomtk-red)) !important;
    color: #111827 !important;
}

.ipaomtk-app-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
    min-height: 132px;
    padding: 1rem 1.15rem;
    border-radius: 0.95rem;
    position: relative;
    overflow: hidden;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 241, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.08), transparent 12rem);
    border: 1px solid rgba(225, 29, 47, 0.10);
    box-shadow: 0 14px 28px rgba(8, 11, 18, 0.06);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dark .ipaomtk-app-card {
    background:
        linear-gradient(135deg, rgba(19, 23, 33, 0.98), rgba(10, 12, 19, 0.98)),
        radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.14), transparent 12rem);
    border-color: rgba(245, 177, 26, 0.13);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.ipaomtk-app-card:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 29, 47, 0.28);
    background:
        linear-gradient(135deg, #fff, #fff7f2),
        radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.10), transparent 12rem);
    box-shadow: 0 18px 34px rgba(225, 29, 47, 0.12);
}

.dark .ipaomtk-app-card:hover {
    background:
        linear-gradient(135deg, rgba(25, 31, 44, 0.98), rgba(17, 20, 29, 0.96)),
        radial-gradient(circle at 100% 0%, rgba(245, 177, 26, 0.12), transparent 12rem);
    border-color: rgba(245, 177, 26, 0.24);
    box-shadow: 0 18px 36px rgba(225, 29, 47, 0.10);
}

.ipaomtk-card-media {
    position: relative;
    z-index: 1;
}

.ipaomtk-card-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.ipaomtk-card-icon {
    width: 84px;
    height: 84px;
    border-radius: 0.9rem;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(8, 11, 18, 0.16);
    border: 1px solid rgba(245, 177, 26, 0.18);
}

.ipaomtk-card-body {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ipaomtk-card-topline,
.ipaomtk-card-meta,
.ipaomtk-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ipaomtk-card-topline {
    display: block;
    margin-bottom: 0.45rem;
}

.ipaomtk-card-title {
    color: #101827;
    font-weight: 950;
    font-size: 1.08rem;
    line-height: 1.16;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
    padding-right: 6.6rem;
}

.dark .ipaomtk-card-title {
    color: #f8fafc;
}

.ipaomtk-card-meta {
    margin-top: 0;
    color: #5f6b7b;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.ipaomtk-card-meta span {
    padding: 0;
    border: 0;
    background: transparent;
}

.ipaomtk-card-detail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.52rem;
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.dark .ipaomtk-card-meta span,
.dark .ipaomtk-card-detail {
    color: #d2dae5;
}

.ipaomtk-card-mod {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    color: var(--ipaomtk-gold);
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ipaomtk-card-mod svg {
    width: 0.72rem;
    height: 0.72rem;
    flex: 0 0 auto;
}

.ipaomtk-status-pill {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(225, 29, 47, 0.16), rgba(245, 177, 26, 0.16));
    color: var(--ipaomtk-red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0.36rem 0.72rem;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(225, 29, 47, 0.16);
}

.dark .ipaomtk-status-pill {
    background: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(225, 29, 47, 0.26);
}

@media (max-width: 640px) {
    .ipaomtk-app-card {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 128px;
        gap: 0.95rem;
        padding: 0.95rem;
        border-radius: 1rem;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 235, 0.92)),
            radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.12), transparent 10rem),
            radial-gradient(circle at 0% 100%, rgba(245, 177, 26, 0.16), transparent 9rem);
        border-color: rgba(225, 29, 47, 0.18);
        box-shadow: 0 12px 28px rgba(225, 29, 47, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    }

    .ipaomtk-app-card:hover {
        transform: none;
        box-shadow: none;
    }

    .dark .ipaomtk-app-card {
        background:
            linear-gradient(135deg, rgba(19, 23, 33, 0.98), rgba(10, 12, 19, 0.98)),
            radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.13), transparent 12rem);
        border-color: rgba(245, 177, 26, 0.13);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
    }

    .ipaomtk-card-media {
        margin-bottom: 0;
    }

    .ipaomtk-card-icon {
        width: 84px;
        height: 84px;
        border-radius: 0.95rem;
    }

    .ipaomtk-card-topline {
        display: block;
        min-height: 0;
        margin-bottom: 0.45rem;
    }

    .ipaomtk-card-title {
        font-size: 1rem;
        line-height: 1.16;
        -webkit-line-clamp: 2;
        min-height: 2.32rem;
        padding-right: 5.75rem;
    }

    .ipaomtk-card-meta {
        gap: 0.65rem;
        font-size: 0.86rem;
    }

    .ipaomtk-card-detail {
        gap: 0.55rem;
        margin-top: 0.48rem;
        font-size: 0.76rem;
    }

    .ipaomtk-card-mod {
        max-width: 10.5rem;
    }

    .ipaomtk-status-pill {
        font-size: 0.66rem;
        padding: 0.32rem 0.56rem;
    }

    .liquid-platform-icon {
        top: -0.45rem !important;
        right: -0.45rem !important;
        width: 1.55rem;
        height: 1.55rem;
        box-shadow: 0 8px 18px rgba(8, 11, 18, 0.22);
    }

    .liquid-platform-icon svg {
        width: 0.78rem;
        height: 0.78rem;
    }

    .liquid-mod-badge {
        padding: 0.18rem 0.55rem;
        font-size: 0.62rem;
        box-shadow: 0 8px 18px rgba(225, 29, 47, 0.22);
    }
}

/* --- Bold & Strong --- */
.prose-custom strong,
.prose-custom b {
    color: #111827;
    font-weight: 700;
}

.dark .prose-custom strong,
.dark .prose-custom b {
    color: #f3f4f6;
}

/* Glass Prose (Alternative) */
.prose-glass h3,
.prose-glass h2 {
    color: #1f2937;
    font-weight: 700;
}

.dark .prose-glass h3,
.dark .prose-glass h2 {
    color: #f3f4f6;
}

.prose-glass p {
    color: #4b5563;
}

.dark .prose-glass p {
    color: #9ca3af;
}

.prose-glass ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.prose-glass ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

/* Custom Scrollbar */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(225, 29, 47, 0.55) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    display: none;
}

/* --- LIQUID PROGRESS BAR --- */
.progress-container {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 99px;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dark .progress-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: linear-gradient(90deg, #34d399, #10b981);
    border-radius: 99px;
    height: 100%;
    width: 0%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg) translateX(-150%);
    animation: shimmer 1.5s infinite;
}

/* --- PAGINATION --- */
.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark .page-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.page-btn.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.page-btn:hover:not(.active) {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    color: #10b981;
    box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.25);
}

.dark .page-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #34d399;
}

/* --- ARTICLE CARD --- */
.article-card {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.dark .article-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- 404 SPECIFIC STYLES --- */
.glass-error-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.dark .glass-error-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.text-liquid-large {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-liquid {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-liquid:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* --- CUSTOM DROPDOWN (Replaces default Select) --- */
.custom-dropdown-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.dark .custom-dropdown-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark .dropdown-menu {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

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

.dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* --- FILTERS --- */
.filter-chip {
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.dark .filter-chip {
    color: #94a3b8;
}

.filter-chip.active {
    background: #10b981;
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.filter-chip:hover:not(.active) {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    transform: translateY(-2px);
}

/* Final IPAOMTK brand lock: keep later legacy green rules from winning. */
.btn-liquid,
.liquid-new-badge,
.liquid-trending-badge,
.filter-chip.active,
.slider-dot.active,
.glass-chip:hover,
.bg-emerald-500,
.bg-emerald-600,
.bg-green-500,
.bg-green-600,
.hover\:bg-emerald-500:hover,
.hover\:bg-green-500:hover,
.dark .dark\:bg-emerald-600,
.dark .dark\:hover\:bg-emerald-600:hover {
    background: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
    color: #fff !important;
    border-color: rgba(245, 177, 26, 0.28) !important;
}

.btn-liquid:hover,
.btn-liquid:active {
    background: linear-gradient(135deg, #f23b46, #b71326) !important;
    box-shadow: 0 14px 34px rgba(225, 29, 47, 0.38) !important;
}

.dropdown-item:hover,
.filter-chip:hover:not(.active),
.footer-link:hover,
.text-emerald-400,
.text-emerald-500,
.text-emerald-600,
.text-emerald-700,
.text-green-400,
.text-green-500,
.text-green-600,
.text-green-700,
.hover\:text-emerald-600:hover,
.hover\:text-green-500:hover,
.dark .dark\:text-emerald-400,
.dark .dark\:text-green-400,
.liquid-success {
    color: var(--ipaomtk-red) !important;
}

.dark .dropdown-item:hover,
.dark .filter-chip:hover:not(.active),
.dark .footer-link:hover,
.dark .text-emerald-400,
.dark .text-emerald-500,
.dark .text-emerald-600,
.dark .text-emerald-700,
.dark .text-green-400,
.dark .text-green-500,
.dark .text-green-600,
.dark .text-green-700,
.dark .dark\:text-emerald-400,
.dark .dark\:text-green-400,
.dark .liquid-success {
    color: var(--ipaomtk-gold) !important;
}

.dropdown-item:hover,
.filter-chip:hover:not(.active) {
    background: rgba(225, 29, 47, 0.10) !important;
}

.hover\:shadow-green-500\/10:hover {
    --tw-shadow-color: rgba(225, 29, 47, 0.18) !important;
    --tw-shadow: var(--tw-shadow-colored) !important;
}

/* Strong overrides for Tailwind emerald utilities used in download and FAQ templates. */
.from-emerald-500,
.from-emerald-600,
.from-green-500,
.to-teal-500,
.to-teal-600,
.to-emerald-700 {
    --tw-gradient-from: var(--ipaomtk-red) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(159, 16, 33, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--ipaomtk-red-dark) var(--tw-gradient-to-position)) !important;
}

.bg-gradient-to-r.from-emerald-600.to-teal-600,
.bg-gradient-to-r.from-emerald-500.to-teal-500,
.bg-gradient-to-r.from-green-500.to-emerald-700 {
    background-image: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
}

.bg-emerald-50,
.bg-emerald-50\/50,
.bg-emerald-100,
.bg-emerald-100\/50,
.bg-green-100,
.dark .dark\:bg-green-900\/50,
.dark .dark\:bg-emerald-900\/10,
.dark .dark\:bg-emerald-900\/20,
.dark .dark\:bg-emerald-900\/30,
.dark .dark\:bg-emerald-900\/50 {
    background: rgba(225, 29, 47, 0.08) !important;
}

.border-emerald-100,
.border-emerald-200,
.border-emerald-500,
.border-emerald-500\/30,
.border-green-100,
.dark .dark\:border-emerald-500\/20,
.dark .dark\:border-emerald-500\/30,
.dark .dark\:border-emerald-800 {
    border-color: rgba(225, 29, 47, 0.42) !important;
}

.progress-bar {
    background: linear-gradient(90deg, var(--ipaomtk-red), var(--ipaomtk-gold)) !important;
    box-shadow: 0 0 18px rgba(225, 29, 47, 0.35) !important;
}

.progress-bar::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent) !important;
}

.glass-card-static h2.bg-gradient-to-r,
#faq-heading {
    background-image: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
}

/* Compact home hero refresh. */
.ipaomtk-site-logo {
    width: clamp(155px, 12vw, 245px) !important;
    height: auto !important;
    max-height: 68px !important;
    object-fit: contain !important;
}

.ipaomtk-home-hero {
    position: relative;
    overflow: hidden;
    min-height: 0;
    height: clamp(245px, 24vw, 340px);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 177, 26, 0.18), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(225, 29, 47, 0.12);
    box-shadow: 0 24px 70px rgba(8, 11, 18, 0.10);
}

.dark .ipaomtk-home-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 177, 26, 0.13), transparent 18rem),
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(8, 11, 18, 0.92));
    border-color: rgba(245, 177, 26, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.ipaomtk-hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 1.5rem;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    padding: 1rem;
}

.ipaomtk-hero-copy {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

.ipaomtk-hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: rgba(225, 29, 47, 0.10);
    border: 1px solid rgba(225, 29, 47, 0.18);
    color: var(--ipaomtk-red);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}

.dark .ipaomtk-hero-kicker {
    background: rgba(245, 177, 26, 0.12);
    border-color: rgba(245, 177, 26, 0.18);
    color: var(--ipaomtk-gold);
}

.ipaomtk-hero-title-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.ipaomtk-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 1.2rem;
    object-fit: cover;
    box-shadow: 0 16px 36px rgba(8, 11, 18, 0.18);
}

.ipaomtk-hero-title-row h2 {
    color: #101827;
    font-size: clamp(1.45rem, 2.3vw, 2.35rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

.dark .ipaomtk-hero-title-row h2 {
    color: #fff;
}

.ipaomtk-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.ipaomtk-hero-meta span,
.ipaomtk-hero-feature {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    background: rgba(8, 11, 18, 0.06);
    border: 1px solid rgba(8, 11, 18, 0.08);
    color: #536071;
    font-size: 0.74rem;
    font-weight: 800;
}

.dark .ipaomtk-hero-meta span,
.dark .ipaomtk-hero-feature {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.10);
    color: #cbd5e1;
}

.ipaomtk-hero-copy p {
    margin-top: 1rem;
    color: #5b6676;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 38rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .ipaomtk-hero-copy p {
    color: #a8b1c1;
}

.ipaomtk-hero-feature {
    margin-top: 0.9rem;
    background: rgba(245, 177, 26, 0.18);
    border-color: rgba(245, 177, 26, 0.26);
    color: #8a4b00;
}

.dark .ipaomtk-hero-feature {
    color: var(--ipaomtk-gold);
}

.ipaomtk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.ipaomtk-hero-actions .btn-liquid,
.ipaomtk-hero-secondary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    padding: 0.7rem 1.15rem;
    font-weight: 900;
    font-size: 0.92rem;
}

.ipaomtk-hero-secondary {
    background: rgba(8, 11, 18, 0.06);
    border: 1px solid rgba(8, 11, 18, 0.10);
    color: #101827;
}

.dark .ipaomtk-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ipaomtk-hero-art {
    position: relative;
    min-height: 0;
    height: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(225, 29, 47, 0.14);
    box-shadow: 0 18px 44px rgba(8, 11, 18, 0.16);
}

.ipaomtk-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 11, 18, 0.22), transparent 48%),
        linear-gradient(0deg, rgba(8, 11, 18, 0.38), transparent 46%);
    pointer-events: none;
}

.ipaomtk-hero-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.ipaomtk-home-hero:hover .ipaomtk-hero-image {
    transform: scale(1.04);
}

.ipaomtk-home-hero .slider-nav-btn {
    opacity: 1;
    transform: translateY(-50%) !important;
    background: rgba(8, 11, 18, 0.48) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.ipaomtk-ad-slot {
    width: 100%;
    min-height: 90px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipaomtk-ad-slot:empty {
    display: none;
}

.ipaomtk-ad-slot ins,
.ipaomtk-ad-slot iframe,
.ipaomtk-ad-slot script + ins {
    max-width: 100%;
}

.ipaomtk-header-ad-wrap + main {
    margin-top: 1.5rem !important;
}

.ipaomtk-download-page {
    --download-red: var(--ipaomtk-red, #e11d2f);
    --download-red-dark: var(--ipaomtk-red-dark, #9f1021);
    --download-gold: var(--ipaomtk-gold, #f5b11a);
}

.ipaomtk-download-hero,
.ipaomtk-download-list,
.ipaomtk-install-note,
.ipaomtk-secondary-download {
    position: relative;
    overflow: hidden;
    border-radius: 1.65rem;
    border: 1px solid rgba(225, 29, 47, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 236, 0.88)),
        radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.12), transparent 16rem),
        radial-gradient(circle at 0% 100%, rgba(245, 177, 26, 0.18), transparent 16rem);
    box-shadow: 0 22px 48px rgba(8, 11, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dark .ipaomtk-download-hero,
.dark .ipaomtk-download-list,
.dark .ipaomtk-install-note,
.dark .ipaomtk-secondary-download {
    border-color: rgba(245, 177, 26, 0.16);
    background:
        linear-gradient(135deg, rgba(20, 23, 32, 0.94), rgba(8, 10, 16, 0.98)),
        radial-gradient(circle at 100% 0%, rgba(225, 29, 47, 0.18), transparent 18rem),
        radial-gradient(circle at 0% 100%, rgba(245, 177, 26, 0.12), transparent 16rem);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ipaomtk-download-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem;
}

.ipaomtk-download-hero__icon {
    width: 96px;
    height: 96px;
    border-radius: 1.35rem;
    padding: 0.35rem;
    background: linear-gradient(135deg, rgba(245, 177, 26, 0.28), rgba(225, 29, 47, 0.18));
    box-shadow: 0 16px 32px rgba(225, 29, 47, 0.14);
}

.ipaomtk-download-hero__icon img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    display: block;
}

.ipaomtk-download-hero__copy {
    min-width: 0;
}

.ipaomtk-download-hero__eyebrow,
.ipaomtk-download-list__head span,
.ipaomtk-install-note > div > span {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    color: var(--download-red);
    background: rgba(245, 177, 26, 0.18);
    border: 1px solid rgba(225, 29, 47, 0.14);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dark .ipaomtk-download-hero__eyebrow,
.dark .ipaomtk-download-list__head span,
.dark .ipaomtk-install-note > div > span {
    color: var(--download-gold);
    background: rgba(245, 177, 26, 0.10);
    border-color: rgba(245, 177, 26, 0.20);
}

.ipaomtk-download-hero h1 {
    margin: 0.55rem 0 0.35rem;
    color: #101827;
    font-size: clamp(1.7rem, 3vw, 3.15rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.dark .ipaomtk-download-hero h1 {
    color: #fff;
}

.ipaomtk-download-hero__copy p {
    max-width: 54rem;
    margin: 0;
    color: #6b4a14;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.5;
}

.dark .ipaomtk-download-hero__copy p {
    color: rgba(255, 248, 215, 0.76);
}

.ipaomtk-download-hero__meta,
.ipaomtk-download-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.ipaomtk-download-hero__meta span,
.ipaomtk-download-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    color: #3f2b0a;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(245, 177, 26, 0.28);
    font-size: 0.82rem;
    font-weight: 900;
}

.dark .ipaomtk-download-hero__meta span,
.dark .ipaomtk-download-card__chips span {
    color: #ffeaa7;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 177, 26, 0.18);
}

.ipaomtk-download-list {
    padding: 1.15rem;
}

.ipaomtk-download-list__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.25rem 1rem;
}

.ipaomtk-download-list__head h2,
.ipaomtk-install-note h2 {
    margin: 0.45rem 0 0;
    color: #101827;
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    line-height: 1.06;
    font-weight: 950;
}

.dark .ipaomtk-download-list__head h2,
.dark .ipaomtk-install-note h2 {
    color: #fff;
}

.ipaomtk-download-list__head p {
    max-width: 26rem;
    margin: 0;
    color: #72511a;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.45;
}

.dark .ipaomtk-download-list__head p {
    color: rgba(255, 248, 215, 0.72);
}

.ipaomtk-download-card {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(225, 29, 47, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 32px rgba(8, 11, 18, 0.06);
}

.ipaomtk-download-card + .ipaomtk-download-card {
    margin-top: 0.9rem;
}

.dark .ipaomtk-download-card {
    border-color: rgba(245, 177, 26, 0.13);
    background:
        linear-gradient(135deg, rgba(18, 21, 30, 0.92), rgba(9, 11, 17, 0.94)),
        radial-gradient(circle at top right, rgba(225, 29, 47, 0.10), transparent 12rem);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.ipaomtk-download-card__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.ipaomtk-download-card__number {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--download-red), var(--download-red-dark));
    box-shadow: 0 12px 22px rgba(225, 29, 47, 0.22);
    font-weight: 950;
}

.ipaomtk-download-card__title {
    min-width: 0;
}

.ipaomtk-download-card__title span {
    color: var(--download-red);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dark .ipaomtk-download-card__title span {
    color: var(--download-gold);
}

.ipaomtk-download-card__title h3 {
    margin: 0.18rem 0 0;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 950;
}

.dark .ipaomtk-download-card__title h3 {
    color: #fff;
}

.ipaomtk-download-card__chips {
    justify-content: flex-end;
    margin-top: 0;
}

.ipaomtk-download-mod {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    color: #7a4a00;
    background: rgba(245, 177, 26, 0.14);
    border: 1px solid rgba(245, 177, 26, 0.24);
}

.ipaomtk-download-mod svg {
    flex: 0 0 auto;
    color: var(--download-red);
}

.ipaomtk-download-mod p {
    margin: 0;
    font-weight: 900;
    line-height: 1.35;
}

.dark .ipaomtk-download-mod {
    color: #ffeaa7;
    background: rgba(245, 177, 26, 0.08);
}

.dark .ipaomtk-download-mod svg {
    color: var(--download-gold);
}

.ipaomtk-download-actions {
    display: grid;
}

.ipaomtk-generate-btn,
.ipaomtk-final-download,
.ipaomtk-app-open,
.ipaomtk-telegram-open,
.ipaomtk-secondary-download__link {
    min-height: 54px;
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 1rem !important;
    font-weight: 950;
    text-align: center;
    text-decoration: none !important;
}

.ipaomtk-generate-btn.hidden,
.ipaomtk-final-download.hidden,
.ipaomtk-app-open.hidden,
.ipaomtk-telegram-open.hidden,
.ipaomtk-sign-panel.hidden,
.ipaomtk-download-progress.hidden {
    display: none !important;
}

.ipaomtk-button-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 0.55rem;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.ipaomtk-button-icon--ipa {
    width: 30px;
    height: 30px;
}

.ipaomtk-button-icon--apk {
    width: 30px;
    height: 30px;
}

.ipaomtk-button-icon--sign,
.ipaomtk-button-icon--app {
    margin-right: 0;
}

.ipaomtk-button-icon--sign {
    width: 31px;
    height: 31px;
}

.ipaomtk-button-icon--app {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.ipaomtk-download-progress {
    margin-top: 0.85rem;
    border-radius: 1.1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(225, 29, 47, 0.12);
}

.dark .ipaomtk-download-progress {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(245, 177, 26, 0.12);
}

.ipaomtk-download-progress__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 900;
}

.dark .ipaomtk-download-progress__head {
    color: #e5e7eb;
}

.ipaomtk-download-progress p {
    margin: 0.7rem 0 0;
    color: #6b7280;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.dark .ipaomtk-download-progress p {
    color: #aeb7c5;
}

.ipaomtk-secondary-download {
    padding: 0.9rem;
}

.ipaomtk-final-download,
.ipaomtk-app-open,
.ipaomtk-telegram-open,
.ipaomtk-sign-panel {
    margin-top: 0.85rem;
}

.ipaomtk-telegram-open {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 8rem),
        linear-gradient(135deg, #37aee2, #229ed9 52%, #168acd) !important;
    box-shadow: 0 16px 34px rgba(34, 158, 217, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.ipaomtk-telegram-open:hover {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.30), transparent 8rem),
        linear-gradient(135deg, #43b8ea, #229ed9 52%, #0f8bd3) !important;
    box-shadow: 0 20px 42px rgba(34, 158, 217, 0.44), 0 0 0 4px rgba(34, 158, 217, 0.16) !important;
}

.ipaomtk-telegram-open__icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.ipaomtk-secondary-download__link {
    color: #fff !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
        linear-gradient(135deg, #111827, #2b1116 58%, var(--download-red-dark));
    border: 1px solid rgba(245, 177, 26, 0.26);
    box-shadow: 0 16px 34px rgba(8, 11, 18, 0.18);
}

.ipaomtk-install-note {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    padding: 1.15rem;
}

.ipaomtk-install-note ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.ipaomtk-install-note li {
    display: grid;
    gap: 0.22rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(225, 29, 47, 0.10);
}

.dark .ipaomtk-install-note li {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 177, 26, 0.12);
}

.ipaomtk-install-note strong {
    color: var(--download-red);
    font-size: 0.9rem;
    font-weight: 950;
}

.dark .ipaomtk-install-note strong {
    color: var(--download-gold);
}

.ipaomtk-install-note li span {
    color: #5f4a26;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.38;
}

.dark .ipaomtk-install-note li span {
    color: rgba(255, 248, 215, 0.74);
}

.ipaomtk-download-faq #faq-heading {
    padding: 1.1rem 1.25rem;
    margin: 0;
    color: #fff;
    background-image: linear-gradient(135deg, var(--download-red), var(--download-red-dark)) !important;
    font-size: 1.25rem;
    font-weight: 950;
}

.ipaomtk-single-faq {
    border: 1px solid rgba(225, 29, 47, 0.13);
    background:
        radial-gradient(circle at top left, rgba(245, 177, 26, 0.14), transparent 13rem),
        radial-gradient(circle at bottom right, rgba(225, 29, 47, 0.10), transparent 13rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 231, 0.72));
    box-shadow: 0 22px 55px rgba(225, 29, 47, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dark .ipaomtk-single-faq {
    border-color: rgba(245, 177, 26, 0.16);
    background:
        radial-gradient(circle at top left, rgba(245, 177, 26, 0.13), transparent 14rem),
        radial-gradient(circle at bottom right, rgba(225, 29, 47, 0.16), transparent 14rem),
        linear-gradient(135deg, rgba(17, 20, 30, 0.96), rgba(8, 10, 16, 0.94));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ipaomtk-single-faq__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(225, 29, 47, 0.10);
}

.dark .ipaomtk-single-faq__head {
    border-bottom-color: rgba(245, 177, 26, 0.12);
}

.ipaomtk-single-faq__head .liquid-icon-box {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%),
        linear-gradient(135deg, var(--ipaomtk-red, #d21f2f), var(--ipaomtk-red-dark, #9f1621));
    box-shadow: 0 14px 28px rgba(225, 29, 47, 0.25), 0 0 0 1px rgba(245, 177, 26, 0.18);
}

.ipaomtk-single-faq__head h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 950;
    letter-spacing: 0;
}

.dark .ipaomtk-single-faq__head h2 {
    color: #fff7d6;
}

.ipaomtk-single-faq__items {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
}

.ipaomtk-single-faq__item {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(225, 29, 47, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.04);
}

.dark .ipaomtk-single-faq__item {
    border-color: rgba(245, 177, 26, 0.13);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.ipaomtk-single-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    cursor: pointer;
    color: #151b2b;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
    list-style: none;
    overflow-wrap: anywhere;
}

.ipaomtk-single-faq__item summary::-webkit-details-marker {
    display: none;
}

.dark .ipaomtk-single-faq__item summary {
    color: #fff;
}

.ipaomtk-single-faq__chevron {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--ipaomtk-red, #d21f2f);
    transition: transform 0.2s ease;
}

.dark .ipaomtk-single-faq__chevron {
    color: var(--download-gold, #f5b11a);
}

.ipaomtk-single-faq__item[open] .ipaomtk-single-faq__chevron {
    transform: rotate(180deg);
}

.ipaomtk-single-faq__item ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0 1.05rem 1.05rem 2.25rem;
    color: #5f4a26;
    font-weight: 650;
    line-height: 1.55;
}

.dark .ipaomtk-single-faq__item ol {
    color: rgba(255, 248, 215, 0.78);
}

.ipaomtk-single-faq__answer {
    margin: 0;
    padding: 0 1.05rem 1.05rem;
    color: #5f4a26;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.dark .ipaomtk-single-faq__answer {
    color: rgba(255, 248, 215, 0.82);
}

.ipaomtk-single-faq__item li::marker {
    color: var(--ipaomtk-red, #d21f2f);
    font-weight: 950;
}

.dark .ipaomtk-single-faq__item li::marker {
    color: var(--download-gold, #f5b11a);
}

@media (max-width: 760px) {
    .ipaomtk-download-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
    }

    .ipaomtk-download-hero__icon {
        justify-self: center;
        width: 86px;
        height: 86px;
    }

    .ipaomtk-download-hero__eyebrow {
        margin-inline: auto;
    }

    .ipaomtk-download-hero__copy p {
        font-size: 0.92rem;
    }

    .ipaomtk-download-hero__meta {
        justify-content: center;
    }

    .ipaomtk-download-list {
        padding: 0.85rem;
    }

    .ipaomtk-download-list__head {
        align-items: start;
        flex-direction: column;
        padding-bottom: 0.85rem;
    }

    .ipaomtk-download-list__head p {
        max-width: none;
    }

    .ipaomtk-download-card {
        padding: 0.85rem;
        border-radius: 1.15rem;
    }

    .ipaomtk-download-card__top {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .ipaomtk-download-card__chips {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .ipaomtk-download-card__title h3 {
        font-size: 1.05rem;
    }

    .ipaomtk-install-note {
        grid-template-columns: 1fr;
    }

    .ipaomtk-install-note ol {
        grid-template-columns: 1fr;
    }

    .ipaomtk-sign-panel {
        padding: 0.85rem;
    }

    .ipaomtk-single-faq__head {
        align-items: flex-start;
        padding: 1rem;
    }

    .ipaomtk-single-faq__head h2 {
        font-size: 1.2rem;
    }

    .ipaomtk-single-faq__items {
        padding: 0.8rem;
    }

    .ipaomtk-single-faq__item summary {
        align-items: flex-start;
        padding: 0.9rem;
        font-size: 0.94rem;
    }

    .ipaomtk-single-faq__item ol {
        padding: 0 0.9rem 0.9rem 1.85rem;
        font-size: 0.9rem;
    }

    .ipaomtk-single-faq__answer {
        padding: 0 0.9rem 0.9rem;
        font-size: 0.9rem;
    }
}

.btn-sign,
.ipa-install-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 58px;
    padding: 0.95rem 1.2rem !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(245, 177, 26, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%),
        linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark)) !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(225, 29, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-sign::before,
.ipa-install-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.2s ease;
}

.btn-sign:hover,
.ipa-install-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 20px 42px rgba(225, 29, 47, 0.36), 0 0 0 4px rgba(245, 177, 26, 0.10);
}

.btn-sign:hover::before,
.ipa-install-btn:hover::before {
    opacity: 1;
}

.btn-sign[id$="-ipaomtk-app"] {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
        linear-gradient(135deg, #111827, #2b1116 58%, var(--ipaomtk-red-dark)) !important;
}

.btn-sign.ipaomtk-telegram-open {
    border-color: rgba(255, 255, 255, 0.22) !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 8rem),
        linear-gradient(135deg, #37aee2, #229ed9 52%, #168acd) !important;
    box-shadow: 0 16px 34px rgba(34, 158, 217, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.btn-sign.ipaomtk-telegram-open:hover {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.30), transparent 8rem),
        linear-gradient(135deg, #43b8ea, #229ed9 52%, #0f8bd3) !important;
    box-shadow: 0 20px 42px rgba(34, 158, 217, 0.44), 0 0 0 4px rgba(34, 158, 217, 0.16) !important;
}

.ipaomtk-sign-panel {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(245, 177, 26, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 230, 0.76)),
        radial-gradient(circle at top right, rgba(225, 29, 47, 0.16), transparent 12rem),
        radial-gradient(circle at bottom left, rgba(245, 177, 26, 0.22), transparent 11rem);
    box-shadow: 0 18px 40px rgba(225, 29, 47, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dark .ipaomtk-sign-panel {
    background:
        linear-gradient(135deg, rgba(20, 17, 13, 0.92), rgba(10, 10, 14, 0.96)),
        radial-gradient(circle at top right, rgba(225, 29, 47, 0.18), transparent 12rem),
        radial-gradient(circle at bottom left, rgba(245, 177, 26, 0.14), transparent 11rem);
    border-color: rgba(245, 177, 26, 0.28);
}

.ipaomtk-cert-options {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(245, 177, 26, 0.24);
}

.dark .ipaomtk-cert-options {
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(245, 177, 26, 0.18);
}

.ipaomtk-cert-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.ipaomtk-cert-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 0.95rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(245, 177, 26, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 245, 215, 0.72)),
        radial-gradient(circle at top left, rgba(245, 177, 26, 0.22), transparent 8rem);
    color: #6b3d04 !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 0.86rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(225, 29, 47, 0.08);
    cursor: pointer;
}

.ipaomtk-cert-action:hover {
    border-color: rgba(225, 29, 47, 0.35);
    color: var(--ipaomtk-red) !important;
}

.dark .ipaomtk-cert-action {
    background:
        linear-gradient(135deg, rgba(245, 177, 26, 0.12), rgba(225, 29, 47, 0.09)),
        rgba(255, 255, 255, 0.04);
    color: #ffe28a !important;
    border-color: rgba(245, 177, 26, 0.24);
}

.ipaomtk-cert-action.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ipaomtk-cert-options label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #4b2f08;
    font-size: 0.9rem;
    font-weight: 850;
}

.dark .ipaomtk-cert-options label {
    color: #f8e7ae;
}

.ipaomtk-cert-options input {
    accent-color: var(--ipaomtk-red);
}

.ipaomtk-cert-options .ipaomtk-server-cert-row {
    align-items: stretch;
    justify-content: space-between;
    gap: 0.8rem;
}

.ipaomtk-server-cert-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 10rem;
}

.ipaomtk-server-cert-select {
    width: min(100%, 19rem);
    min-height: 42px;
    border-radius: 0.75rem;
    border: 1px solid rgba(180, 83, 9, 0.26);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 224, 0.88));
    color: #2c1803;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 900;
    outline: none;
}

.ipaomtk-server-cert-select:focus {
    border-color: rgba(225, 29, 47, 0.48);
    box-shadow: 0 0 0 4px rgba(225, 29, 47, 0.10);
}

.ipaomtk-server-cert-select:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.dark .ipaomtk-server-cert-select {
    background: rgba(5, 8, 16, 0.86);
    color: #ffeab0;
    border-color: rgba(245, 177, 26, 0.24);
}

.ipaomtk-cert-upload {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: 0.95rem;
    background: rgba(255, 247, 226, 0.72);
    border: 1px dashed rgba(180, 83, 9, 0.34);
}

.dark .ipaomtk-cert-upload {
    background: rgba(17, 24, 39, 0.64);
    border-color: rgba(245, 177, 26, 0.22);
}

.ipaomtk-cert-upload[hidden],
.ipaomtk-saved-cert-option[hidden] {
    display: none !important;
}

.ipaomtk-cert-upload label {
    display: grid;
    gap: 0.35rem;
    color: #5a3a0b;
    font-size: 0.78rem;
    font-weight: 900;
}

.dark .ipaomtk-cert-upload label {
    color: #f7df93;
}

.ipaomtk-cert-upload input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgba(180, 83, 9, 0.22);
    background: rgba(255, 255, 255, 0.86);
    color: #111827;
    padding: 0.72rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 800;
}

.dark .ipaomtk-cert-upload input {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(245, 177, 26, 0.18);
}

.ipaomtk-sign-panel__copy {
    display: grid;
    gap: 0.28rem;
    text-align: center;
}

.ipaomtk-sign-panel__eyebrow {
    justify-self: center;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    color: var(--ipaomtk-red);
    background: rgba(245, 177, 26, 0.18);
    border: 1px solid rgba(225, 29, 47, 0.14);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dark .ipaomtk-sign-panel__eyebrow {
    color: var(--ipaomtk-gold);
    background: rgba(245, 177, 26, 0.10);
    border-color: rgba(245, 177, 26, 0.20);
}

.ipaomtk-sign-panel__copy strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 950;
}

.dark .ipaomtk-sign-panel__copy strong {
    color: #fff8d7;
}

.ipaomtk-sign-panel__copy p {
    margin: 0;
    color: #6b4a14;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}

.dark .ipaomtk-sign-panel__copy p {
    color: rgba(255, 248, 215, 0.78);
}

.ipaomtk-auto-sign-btn {
    border-color: rgba(245, 177, 26, 0.46) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%),
        linear-gradient(135deg, #101014, #2a1706 52%, var(--ipaomtk-red-dark)) !important;
    color: var(--ipaomtk-gold) !important;
    cursor: pointer;
}

.ipaomtk-auto-sign-btn::after {
    content: "iOS";
    padding: 0.18rem 0.52rem;
    border-radius: 999px;
    color: #140f08;
    background: var(--ipaomtk-gold);
    font-size: 0.7rem;
    font-weight: 950;
}

.ipaomtk-auto-sign-btn.is-loading,
.ipaomtk-auto-sign-btn:disabled {
    opacity: 0.82;
    cursor: wait;
}

.ipaomtk-sign-status,
.ipaomtk-install-fallback {
    width: 100%;
    border-radius: 0.95rem;
    text-align: center;
    font-weight: 900;
}

.ipaomtk-sign-status {
    padding: 0.85rem 1rem;
    color: #7a4a00;
    background: rgba(255, 241, 180, 0.80);
    border: 1px solid rgba(245, 177, 26, 0.36);
}

.ipaomtk-sign-status[data-mode="done"] {
    color: #201400;
    background: linear-gradient(135deg, rgba(255, 224, 82, 0.92), rgba(255, 170, 43, 0.86));
}

.ipaomtk-sign-status[data-mode="error"] {
    color: #7f1d1d;
    background: rgba(254, 226, 226, 0.94);
    border-color: rgba(239, 68, 68, 0.42);
}

.ipaomtk-install-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    color: #161006 !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--ipaomtk-gold), #ff9f1c);
    box-shadow: 0 14px 26px rgba(245, 177, 26, 0.24);
}

.ipaomtk-sign-panel.hidden,
.ipaomtk-install-fallback[hidden],
.ipaomtk-sign-status[hidden] {
    display: none !important;
}

.ipa-install-box {
    margin: 1.25rem 0;
}

.btn-sign.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .ipaomtk-cert-actions {
        grid-template-columns: 1fr;
    }

    .ipaomtk-cert-options .ipaomtk-server-cert-row {
        flex-direction: column;
    }

    .ipaomtk-server-cert-select {
        width: 100%;
    }

    .ipaomtk-hero-slide {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.8rem;
        min-height: 0;
    }

    .ipaomtk-hero-copy {
        padding: 0.5rem;
        order: 2;
    }

    .ipaomtk-hero-art {
        min-height: 160px;
        height: 160px;
        order: 1;
    }

    .ipaomtk-hero-image {
        min-height: 160px;
    }

    .ipaomtk-home-hero {
        min-height: 0;
        height: auto;
        border-radius: 1.15rem;
    }

    .ipaomtk-hero-title-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ipaomtk-hero-icon {
        width: 54px;
        height: 54px;
        border-radius: 0.9rem;
    }

    .ipaomtk-hero-title-row h2 {
        font-size: 1.2rem;
        line-height: 1.12;
    }

    .ipaomtk-hero-copy p {
        display: none;
    }

    .ipaomtk-hero-feature {
        margin-top: 0.65rem;
        font-size: 0.68rem;
    }

    .ipaomtk-hero-actions {
        margin-top: 0.8rem;
    }

    .ipaomtk-hero-actions .btn-liquid,
    .ipaomtk-hero-secondary {
        min-height: 40px;
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
    }
}

.ipaomtk-mobile-menu {
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 177, 26, 0.14), transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    color: #101827;
}

.dark .ipaomtk-mobile-menu {
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 177, 26, 0.13), transparent 18rem),
        linear-gradient(180deg, rgba(8, 11, 18, 0.98), rgba(15, 23, 42, 0.96));
    color: #fff;
}

.ipaomtk-mobile-menu-head {
    padding: calc(env(safe-area-inset-top, 0px) + 1.1rem) 1.35rem 0.9rem;
    border-bottom: 1px solid rgba(225, 29, 47, 0.10);
}

.ipaomtk-mobile-logo {
    width: 220px;
    height: auto;
    max-height: 74px;
    object-fit: contain;
}

.ipaomtk-mobile-close {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(225, 29, 47, 0.10);
    color: var(--ipaomtk-red);
    border: 1px solid rgba(225, 29, 47, 0.14);
}

.ipaomtk-mobile-menu-links {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.15rem calc(env(safe-area-inset-bottom, 0px) + 1.4rem);
    display: grid;
    gap: 0.72rem;
    align-content: start;
}

.ipaomtk-mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 58px;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(8, 11, 18, 0.07);
    box-shadow: 0 12px 30px rgba(8, 11, 18, 0.07);
    font-weight: 900;
    color: #111827;
}

.dark .ipaomtk-mobile-menu-item {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.ipaomtk-mobile-menu-number {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, var(--ipaomtk-red), var(--ipaomtk-red-dark));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
}
