:root {
    --blue: #59AFFF;
    /* page background */
    --deep-blue: #2C8AF4;
    /* accents */
    --card: #ffffff;
    /* card bg */
    --muted: #EDF2F7;
    /* light gray */
    --muted-2: #E6ECF2;
    /* slightly darker gray */
    --text: #2D3748;
    /* body text */
    --soft-text: #718096;
    /* secondary text */
    --shadow: 0 8px 18px rgba(0, 0, 0, .12);
    --radius: 14px;
    --brand: #0EA5E9;
    --android: #22C55E;
    --ios: #3B82F6;
    --whatsapp: #16a34a;
    --telegram: #1d4ed8;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: linear-gradient(to right, #ff5fec, #9c84ff, #c151b4, #815dda, #aa60cd);
    display: flex;
    justify-content: center;
    font-size: 18px;
    /* 🔹 Base font size (was default ~16px) */
    line-height: 1.6;
    /* 🔹 Better readability */
}

.body-two {
    background: linear-gradient(to right,
            #ffe0fb,
            #ff83ee,
            #ff48ea,
            #ff7ee7,
            #ffd7fa);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 18px;
    /* 🔹 Base font size (was default ~16px) */
    line-height: 1.6;
    /* 🔹 Better readability */
}

.body-joker123 {
    background: linear-gradient(to right,
            #fffbcb,
            #f6fe4f,
            #ffdd02,
            #ffa216,
            #ff652d);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 18px;
    /* 🔹 Base font size (was default ~16px) */
    line-height: 1.6;
    /* 🔹 Better readability */
}

.body-pussy888 {
    background: linear-gradient(to right,
            #e0caf0,
            #cfafe4,
            #c274de,
            #9a2eb5,
            #6a0d94);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 18px;
    /* 🔹 Base font size (was default ~16px) */
    line-height: 1.6;
    /* 🔹 Better readability */
}

.body-xe88 {
    background: linear-gradient(to right,
            #ffd3ed,
            #f5a4c0,
            #d8639a,
            #ce2083,
            #be0b5f);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 18px;
    /* 🔹 Base font size (was default ~16px) */
    line-height: 1.6;
    /* 🔹 Better readability */
}

.main {
    padding: 18px 10px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.stack {
    display: grid;
    gap: 14px
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center
}

/* Header / Brand */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* make the logo image sized nicely */
.brand img {
    width: 120px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Downloads grid */
.downloads {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* space for divider */
    gap: 14px;
    width: 100%;
}

/* Divider line */
.divider {
    width: 1px;
    background: #e5e7eb;
    margin: 0 8px;
}


/* Download titles */
.dl-title {
    font-size: 20px;
    font-weight: 700;
}

.dl-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-height: 170px;
    /* adjust if needed */
    justify-content: space-between;
}

.muted {
    color: var(--text);
    font-size: 14px
}

/* Buttons */
.btn {
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Active (click) animation */
.btn:active {
    transform: scale(0.95);
}

/* Button icons */
.btn img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Android button (green glow) */
.btn-android {
    background: var(--android);
}

/* iOS button (blue glow) */
.btn-ios {
    background: var(--ios);
}

/* Test ID */
.title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    font-size: 22px;
    /* bigger */
}

.subtitle {
    font-size: 16px;
    /* was 12px */
    text-align: center;
    color: var(--soft-text);
    margin-bottom: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.pill {
    background: var(--muted);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
}

.pill label {
    display: block;
    font-size: 13px;
    /* was 11px */
    color: #6b7280;
    margin-bottom: 2px;
}

.pill b {
    font-size: 16px;
    /* was 13px */
}

/* Player Review section */
.review-section .review-wrap {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}

.review-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-logo {
    width: 100px;
    height: 100px;
}

.review-logo-918kaya {
    width: 100px;
    height: 50px;
}

.review-logo-918kiss {
    width: 100px;
    height: 60px;
}

.review-logo-918kissplus {
    width: 120px;
    height: 80px;
}

.review-logo-joker123 {
    width: 120px;
    height: 80px;
}

.review-logo-pussy888 {
    width: 120px;
    height: 80px;
}

.review-logo-xe88 {
    width: 120px;
    height: 40px;
}

.review-left h4 {
    margin-top: 8px;
    font-weight: 800;
}

.review-right {
    max-height: 85%;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* avatar/name/text */
.rvw-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px auto;
    border: 2px solid #fff;
}

.rvw-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.rvw-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 160px;
}

.rvw-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 100%;
}

.rvw-slide {
    flex: 0 0 100%;
    max-width: 100%;
    /* 👈 ensures it never grows past screen */
    box-sizing: border-box;
    padding: 10px 8px;
    /* 👈 less side padding */
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

.rvw-text {
    font-size: 14px;
    color: #475569;
    margin: 0 auto;
    padding: 0 4px;
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-word;
}

/* Dots */
.rvw-dots {
    margin-top: 6px;
    text-align: center;
}

.rvw-dots .rvw-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 0 3px;
}

.rvw-dots .rvw-dot.active {
    background: #475569;
}

/* Content Section */
.content h1 {
    font-size: 22px;
    /* was 16px */
    margin: 0 0 10px 0;
    font-weight: 800;
}

.content h2 {
    font-size: 20px;
    /* was 16px */
    margin: 0 0 10px 0;
    font-weight: 800;
}

.content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.content p {
    font-size: 16px;
    /* was 13px */
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

.content li {
    font-size: 16px;
    /* was 13px */
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

.responsive-img {
    max-width: 600px;
    /* or any size you like */
    width: 100%;
    /* still shrink on smaller screens */
    height: auto;
    display: block;
    margin: 0 auto;
    /* center on desktop */
}


/* Sidebar menu */
.menu-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffcc33, #ff9900);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: pulse-more-apps 2s infinite;
    text-decoration: none;
    border: none;
    font-size: 15px;
    cursor: pointer;

}

@keyframes pulse-more-apps {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 153, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
    }
}

/* Sidebar */
/* ===== Floating Menu Button (refined) ===== */
.menu-btn {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 110;
    border: 0;
    cursor: pointer;

    /* shape & spacing */
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .2px;

    /* look */
    color: #111827;
    background: linear-gradient(180deg, #ffcc33, #ff9900);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .18);

    /* animation */
    animation: pulse-more-apps 2.2s infinite;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.menu-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .18);
    filter: brightness(1.03);
}

.menu-btn:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .24), 0 2px 6px rgba(0, 0, 0, .18);
}

.menu-btn:focus-visible {
    outline: 3px solid rgba(255, 153, 0, .5);
    outline-offset: 2px;
}

@keyframes pulse-more-apps {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, .55), 0 10px 20px rgba(0, 0, 0, .25);
    }

    60% {
        box-shadow: 0 0 0 12px rgba(255, 153, 0, 0), 0 10px 20px rgba(0, 0, 0, .25);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0), 0 10px 20px rgba(0, 0, 0, .25);
    }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .menu-btn {
        animation: none;
    }
}

/* ===== Sidebar (glass + gradient accents) ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: min(86vw, 300px);
    height: 100vh;
    z-index: 120;
    padding: 18px 16px 22px;

    /* glass look that sits over your colorful bg */
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(249, 250, 251, .78));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 8px 0 28px rgba(0, 0, 0, .18);

    display: flex;
    flex-direction: column;
    gap: 8px;

    transition: left .28s ease;
}

.sidebar.open {
    left: 0;
}

/* header */
.sidebar h3 {
    margin: 2px 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

/* link list */
.sidebar a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

/* On hover: solid color tied to your page gradient palette */
.sidebar a:hover {
    background: #c151b4;
    /* from your gradient */
    color: #fff;
    transform: translateX(3px);
}

/* Active/selected state: a different gradient color */
.sidebar a.active {
    background: #815dda;
    /* from your gradient */
    color: #fff;
}

.sidebar .menu-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* subtle separators for long menus (optional) */
.sidebar hr {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, .08);
    margin: 8px 0;
}

/* Close (X) button */
.sidebar .close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background .18s ease, color .18s ease;
}

.sidebar .close:hover {
    background: rgba(15, 23, 42, .06);
    color: #0f172a;
}

.sidebar .close:focus-visible {
    outline: 2px solid #815dda;
    outline-offset: 2px;
}

/* Overlay (darker + smoother) */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 115;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Small screens: keep readable paddings */
@media (max-width: 420px) {
    .menu-btn {
        bottom: 16px;
        padding: 11px 22px;
    }

    .sidebar {
        width: 86vw;
    }
}

/* Rollex11 APK Info Section */
.apk-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.apk-icon {
    margin-right: 15px;
    border-radius: 10px;
    padding: 5px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apk-icon img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.apk-title h2 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: bold;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.stars {
    display: inline-flex;
    /* or flex */
    flex-direction: row;
    align-items: center;
    color: #ffb400;
    margin: 0 5px;
    gap: 2px;
    /* consistent spacing */
}

.star {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    /* prevents resizing/stacking */
}

.rating-value {
    color: #aaa;
}

.file-size {
    color: #aaa;
    font-size: 14px;
}

.apk-details {
    color: var(--soft-text);
    font-size: 16px;
}

.detail-row {
    margin-bottom: 8px;
    line-height: 1.4;
}

.detail-row {
    margin-bottom: 8px;
    line-height: 1.4;
}

.label {
    font-weight: bold;
    margin-right: 5px;
    color: var(--text);
}

.agent-carousel {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Container */
.agent-carousel {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.agent-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
    user-select: none;
    will-change: transform;
    margin-bottom: 5px;
}

.agent-carousel-track.dragging {
    cursor: grabbing;
}

/* Card base */
.agent-card {
    flex: 0 0 80%;
    max-width: 320px;
    margin: 0 25px;
    /* center the card in the track */
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transform: scale(0.85);
    opacity: 0.2;
    transition: transform 0.5s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push content apart */
    height: 100%;
    /* Make sure the card takes full height */
}

@media (max-width: 768px) {

    .agent-card {
        opacity: 0.6;
    }
}

.agent-card.active {
    transform: scale(1);
    opacity: 1;
}

.agent-card-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
}



.agent-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.agent-card-content {
    padding: 10px;
    text-align: left;
}

.agent-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agent-card-verified {
    width: 18px;
    height: 18px;
}

.agent-card-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
    margin-top: 2px;
    text-align: left;
}

.agent-card-desc {
    font-size: 0.95rem;
    color: #111;
    line-height: 1.45;
    text-align: left;
    margin: 10px 0;
}

.agent-card-desc strong {
    font-weight: 700;
}

.agent-card-btns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.agent-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* <— spacing between icon and text */
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
}

.agent-card-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.agent-card-btn.whatsapp {
    background: #25D366;
}

.agent-card-btn.telegram {
    background: #229ED9;
}

.agent-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
}

.agent-carousel-btn.prev {
    left: 10px;
    display: none !important;
}

.agent-carousel-btn.next {
    right: 10px;
    display: none !important;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 768px) {

    .agent-carousel-track {
        gap: 10px;
        max-width: 120px;
    }

    .agent-carousel {
        width: 100%;
    }

    .agent-card {
        flex: 0 0 70vw;
        max-width: 280px;
        margin: 0 0px;
    }


    .agent-card-btn {
        padding: 8px 10px;
        /* smaller padding */
        font-size: 0.78rem;
        /* smaller text */
        border-radius: 6px;
        gap: 6px;
        /* tighter spacing between icon and text */
    }

    .agent-card-icon {
        width: 15px;
        /* smaller icon */
        height: 15px;
    }


    .agent-card-name {
        font-size: 1.1rem;
    }

    .agent-card-role {
        font-size: 12px;
    }

    .agent-card-desc {
        font-size: 13px;
    }

}

@keyframes whatsappGlow {
    0% {
        box-shadow: 0 0 8px rgba(37, 211, 102, 0.4),
            0 0 15px rgba(37, 211, 102, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.8),
            0 0 35px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 0 8px rgba(37, 211, 102, 0.4),
            0 0 15px rgba(37, 211, 102, 0.6);
    }
}

@keyframes telegramGlow {
    0% {
        box-shadow: 0 0 8px rgba(0, 136, 204, 0.4),
            0 0 15px rgba(0, 136, 204, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 136, 204, 0.8),
            0 0 35px rgba(0, 136, 204, 0.6);
    }

    100% {
        box-shadow: 0 0 8px rgba(0, 136, 204, 0.4),
            0 0 15px rgba(0, 136, 204, 0.6);
    }
}

/* agent button (glow) */
.agent-card-btn.whatsapp {
    animation: whatsappGlow 2s infinite ease-in-out;
}

.agent-card-btn.agent-card-btn.telegram {
    animation: telegramGlow 2s infinite ease-in-out;
}

/* ===== Compatibility Table (desktop + mobile) ===== */
.table-wrap.compat {
    width: 100%;
}

.compat-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compat-table thead th {
    background: linear-gradient(180deg, #eef6ff, #d9ebff);
    /* soft blue like your theme */
    color: #0f3a66;
    text-align: left;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--muted-2);
}

.compat-table td {
    padding: 12px 14px;
    font-size: 15px;
    color: #374151;
    border-bottom: 1px solid var(--muted-2);
    background: #fff;
}

.compat-table tbody tr:nth-child(odd) td {
    background: #fcfcfd;
}

.compat-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Mobile: stack rows into cards, keep labels readable */
@media (max-width: 640px) {
    .compat-table thead {
        display: none;
    }

    .compat-table,
    .compat-table tbody,
    .compat-table tr,
    .compat-table td {
        display: block;
        width: 100%;
    }

    .compat-table tr {
        margin: 12px 0;
        border: 1px solid var(--muted-2);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        background: #fff;
    }

    .compat-table td {
        border: 0;
        border-bottom: 1px solid var(--muted-2);
    }

    .compat-table td:last-child {
        border-bottom: 0;
    }

    .compat-table td[data-label] {
        position: relative;
        padding-left: 44%;
        min-height: 44px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .compat-table td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 800;
        color: #6b7280;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ===== XE88 APK Update Log (desktop + mobile) ===== */
.apk-log .apk-log-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 800;
}

.apk-log .table-wrap {
    width: 100%;
}

.apk-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Head */
.apk-table thead th {
    background: linear-gradient(180deg, #eef6ff, #d9ebff);
    color: #0f3a66;
    text-align: left;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--muted-2);
}

/* Body rows */
.apk-table td {
    padding: 12px 14px;
    font-size: 15px;
    color: #374151;
    border-bottom: 1px solid var(--muted-2);
    background: #fff;
}

.apk-table tbody tr:nth-child(odd) td {
    background: #fcfcfd;
}

.apk-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Badges & links */
.badge-ver {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f3a66;
    font-weight: 700;
    font-size: 13px;
}

.badge-os {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    font-size: 12px;
}

.dl-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--muted-2);
    padding: 6px 10px;
    border-radius: 10px;
}

.dl-link img {
    width: 16px;
    height: 16px;
}

/* ===== Mobile layout: turn rows into stacked cards ===== */
@media (max-width: 640px) {
    .apk-table thead {
        display: none;
    }

    .apk-table,
    .apk-table tbody,
    .apk-table tr,
    .apk-table td {
        display: block;
        width: 100%;
    }

    .apk-table tr {
        margin: 12px 0;
        border: 1px solid var(--muted-2);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        background: #fff;
    }

    .apk-table td {
        border: 0;
        border-bottom: 1px solid var(--muted-2);
    }

    .apk-table td:last-child {
        border-bottom: 0;
    }

    .apk-table td[data-label] {
        position: relative;
        padding-left: 44%;
        min-height: 44px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .apk-table td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 800;
        color: #6b7280;
        font-size: 12px;
        white-space: nowrap;
    }

    .apk-log .apk-log-title {
        margin-bottom: 6px;
    }
}