/* ===== Modern App Store UI ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --transition: .2s ease;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,code,form,fieldset,legend,input,button,textarea,
p,blockquote,th,td {
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg);
    color: var(--text);
}

ul,li, ol { list-style: none; }
input, button, textarea { border: none; outline: none; }

a {
    text-decoration: none;
    color: var(--text);
    transition: color var(--transition);
}
a:hover { color: var(--primary); }

html {
    font-size: 14px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    scroll-behavior: smooth;
}

/* ===== Header / Nav ===== */
header {
    width: 100%;
    background-color: var(--white);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background-color: rgba(255,255,255,.9);
}

header a {
    color: var(--text);
}

.nav {
    height: 60px;
    padding: 0 24px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    max-width: 100%;
}

.nav-button {
    display: none;
    cursor: pointer;
    color: var(--text);
    line-height: 60px;
}
.nav-button svg {
    vertical-align: middle;
}
.menu.mobile { display: none; }

.nav-list {
    display: flex;
    justify-content: center;
}
.nav-list ul {
    display: flex;
    gap: 4px;
}
.nav-list ul li {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    margin: 0;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}
.nav-list ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}
.nav-list ul li .nav-icon {
    display: flex;
    align-items: center;
}
.nav-list ul li .nav-icon svg {
    transition: color var(--transition);
}
.nav-list ul li:hover {
    background-color: var(--primary-light);
}
.nav-list ul li:hover a {
    color: var(--primary);
}
.nav-list ul li.active {
    background-color: var(--primary);
}
.nav-list ul li.active a {
    color: var(--white);
}
.nav-list_close { display: none; }

.logo {
    font-size: 30px;
    line-height: 30px;
    text-align: center;
}
.logo a {
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    color: var(--primary);
}
.logo img {
    margin-top: 4px;
    width: 140px;
}

/* ===== Hero Banner ===== */
.top-slide {
    width: 100%;
    margin: 0 auto;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}
.top-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.top-slide::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}

.ts-banner {
    padding: 40px 45px;
    width: 1200px;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.ts-text h1,.ts-text h3 {
    text-align: center;
    color: #ffffff;
}
.ts-text h1 {
    font-size: 42px;
    font-weight: 700;
    padding-bottom: 16px;
    letter-spacing: -0.5px;
}
.ts-text h3 {
    font-weight: 400;
    opacity: .85;
    padding-bottom: 40px;
    font-size: 18px;
}

/* ===== Search ===== */
.search {
    position: relative;
    line-height: 48px;
    margin: 0 auto;
    width: 550px;
    max-width: 100%;
}
.ts-search-input {
    display: block;
    width: 550px;
    height: 48px;
    padding: 8px 48px 8px 20px;
    font-size: 15px;
    color: var(--text);
    background-color: var(--white);
    background-image: none;
    border: 2px solid transparent;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: border var(--transition);
}
.ts-search-input:focus {
    border-color: var(--primary);
}
.ts-search-icon {
    position: absolute;
    top: 4px;
    right: 16px;
    cursor: pointer;
}
.ts-search-icon .fa {
    color: var(--primary);
    font-size: 20px;
}

.start-btn { margin-top: 30px; text-align: center; }
.start-btn a {
    background-color: #fff;
    color: var(--primary);
    padding: 10px 24px;
    width: 150px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    display: inline-block;
    transition: transform var(--transition), box-shadow var(--transition);
}
.start-btn a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ===== Layout ===== */
.wrap { width: 100%; }
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.sm-app-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
}

.text2 img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: var(--radius);
}

/* ===== Detail Page Left ===== */
.sm-app-content_left {
    width: 80%;
    padding: 10px 0;
}
.sm-app-content_left h3 {
    font-size: 18px;
    margin: 24px 0 12px;
    font-weight: 600;
    color: var(--text);
}
.sm-app-content_left p, .sm-app-content_left li {
    line-height: 1.7;
    margin: 12px 0;
    color: var(--text-light);
}
.sm-app-content_left ul { padding-left: 20px; }
.sm-app-content_left li { list-style: disc; }
.sm-app-content_left .sm-app-content-block {
    margin-bottom: 16px;
}
.sm-app-content-block h1 { margin: 0!important; }

/* ===== App Header ===== */
.sm-app-content_head {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}
.sm-app-content_logo { width: 88px; }
.sm-app-content_logo img {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.sm-app-content-text {
    margin-left: 20px;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sm-app-content_title {
    font-size: 28px;
    font-weight: 700;
}
.sm-app-content_head_item {
    margin: 4px 0;
    color: var(--text-light);
    font-size: 13px;
}
.sm-app-content_score {
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
}

/* ===== Info Table ===== */
.sm-app-long-text {
    border: 1px solid var(--border);
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.sm-app-long-text td {
    border: 1px solid var(--border);
    padding: 10px 16px;
    font-size: 14px;
}
.sm-app-long-text .sm-app-val { word-break: break-all; }
.sm-app-long-text .sm-app-name {
    width: 18%;
    font-weight: 600;
    background-color: var(--bg);
}
.sm-app-content-rating td { text-align: center; }

/* ===== Download Buttons ===== */
.sm-app-url-block { display: flex; gap: 12px; }
.sm-app-url-block-btn {
    font-size: 15px;
    font-weight: 600;
    height: 50px;
    width: 100%;
    max-width: 280px;
    display: block;
    color: var(--white);
    text-align: center;
    margin: 24px auto;
    line-height: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sm-app-url-block-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.sm-app-url-block-btn a {
    color: #fff;
    display: inline-block;
    width: 100%;
}
.download .sm-app-url-block-btn { margin: 12px auto; }

/* ===== Ratings ===== */
.sm-app-review-block {
    display: flex;
    text-align: center;
    color: var(--text);
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.sm-app-review-block-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
}
.sm-app-review-block-score {
    color: var(--text);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
}
.sm-app-review-block-score span {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
}
.sm-app-review-block-percent {
    box-sizing: border-box;
    display: inline-block;
    padding: 10px 0 10px 40px;
    vertical-align: top;
    flex: auto;
    margin-left: 85px;
}
.sm-app-content_rating_child {
    color: #737373;
    font-weight: 400;
    height: 8px;
    position: relative;
    width: 100%;
    margin: 10px 0;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.sm-app-content_rating_number {
    font-size: 11px;
    left: -85px;
    letter-spacing: 1px;
    position: absolute;
    line-height: 8px;
    text-align: left;
}
.sm-app-content_rating_percent.sm-app-content_rating_5 { background: #22c55e; }
.sm-app-content_rating_percent.sm-app-content_rating_4 { background: #84cc16; }
.sm-app-content_rating_percent.sm-app-content_rating_3 { background: #eab308; }
.sm-app-content_rating_percent.sm-app-content_rating_2 { background: #f97316; }
.sm-app-content_rating_percent.sm-app-content_rating_1 { background: #ef4444; }
.sm-app-content_rating_percent {
    transition: width .3s ease;
    display: inline-block;
    height: 100%;
    float: left;
    min-width: .5%;
    border-radius: 4px;
}

/* ===== Section Boxes ===== */
.box {
    margin: 32px 0;
}
.sm-header {
    display: flex;
    font-size: 20px;
    color: var(--text);
    font-weight: 700;
    padding: 12px 4px;
    justify-content: space-between;
    align-items: center;
}
.sm-title {
    font-size: 20px;
    color: var(--text);
}
.sm-more a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: color var(--transition);
}
.sm-more a:hover { color: var(--primary-dark); }
.box_more {
    font-size: 13px;
    min-width: 51px;
}
.box_more a:hover { color: var(--primary); }

/* ===== App Card Grid ===== */
.apps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sm-app-block {
    height: 100%;
    position: relative;
    text-decoration: none;
    vertical-align: top;
    width: calc(20% - 12px);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sm-app-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.sm-app-block img {
    width: 72px;
    display: block;
    margin: 0 auto 12px;
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.sm-app-like .sm-app-block img { width: 64px; }
.sm-app-block p {
    text-align: center;
    padding: 2px 6px;
}
.sm-app-block .app-sm-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    min-height: 18px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    word-break: keep-all;
    color: var(--text);
}
.sm-app-rating {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}
.sm-app-rating span { margin-right: 2px; }
.sm-app-rating span:last-child { margin-right: 6px; }
.sm-app-block img:hover { opacity: .85; }

/* ===== App Section (list cards) ===== */
.sm-app-top { display: flex; }
.sm-app-section .sm-app-block {
    height: 100%;
    position: relative;
    text-decoration: none;
    vertical-align: top;
    width: calc(33.333% - 12px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.sm-app-section .sm-app-block .app-summary {
    padding: 8px 12px;
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.sm-app-section .sm-app-block img {
    width: 72px;
    border-radius: 16px;
}
.sm-app-section .sm-app-block .app-sm-title { font-size: 15px; font-weight: 600; }
.sm-app-section .sm-app-block .app-sm-title,
.sm-app-section .sm-app-block .sm-app-rating { text-align: left; }
.sm-app-section .sm-app-block p { padding: 0; }
.sm-app-section .sm-app-summary {
    text-align: left;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 8px;
}
.sm-app-section .app-btn {
    display: flex;
    align-items: center;
    text-align: center;
    width: 15%;
    justify-content: center;
}
.sm-app-section .app-btn span {
    padding: 6px 14px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-weight: 500;
    font-size: 13px;
}
.sm-app-section .fa-star { font-size: 12px; }

.home-more {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}
.home-more a {
    padding: 8px 20px;
    border: 0;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition);
}
.home-more a:hover { background: var(--primary-dark); color:#fff; }

/* ===== FAQ Table ===== */
.table-striped>tbody>tr:nth-of-type(odd) { background-color: var(--bg); }
.table>tbody>tr>td, .table>tbody>tr>th,
.table>tfoot>tr>td, .table>tfoot>tr>th,
.table>thead>tr>td, .table>thead>tr>th {
    padding: 12px 16px;
    line-height: 1.6;
    vertical-align: top;
    border-top: 1px solid var(--border);
}

/* ===== Like / Related ===== */
.sm-app-like .sm-app-block { width: calc(25% - 12px); }
.sm-app-like h2 {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: 700;
}

/* ===== Sidebar ===== */
.sm-app-side {
    flex: 1;
    min-width: 240px;
    padding-top: 10px;
}
.sm-app-side h2 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.sm-app-side .apps { flex-flow: column; gap: 0; }
.sm-app-side .sm-app-content_rating {
    text-align: center;
    font-size: 12px;
}
.sm-app-side .sm-app-block .app-sm-title { font-size: 14px; }
.sm-app-side .sm-app-block {
    width: 100%;
    margin: 8px 0;
    flex-direction: column;
    align-items: center;
}
.sm-app-side .sm-app-block p { text-align: center; }
.sm-app-side .sm-app-block img {
    width: 72px;
    margin: 0 10px 8px;
}

/* ===== List Pages ===== */
.list h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 24px 0 8px;
}
.list .box { border: 0; box-shadow: initial; }
.list .sm-header { border: 0; }
.main.list { margin-bottom: 35px; }

/* ===== Pagination ===== */
.sm-page-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    transition: background var(--transition);
}
.sm-page-btn:hover { background: var(--primary-dark); color: #fff; }
.page-curr {
    font-size: 16px;
    margin: 0 20px;
}
.btn-disabled {
    background-color: #cbd5e1;
    pointer-events: none;
}
.sm-page-btn .fa-angle-left { margin-right: 8px; }
.sm-page-btn .fa-angle-right { margin-left: 8px; }

/* ===== Footer ===== */
footer {
    color: var(--text-light);
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 24px 16px;
    margin-top: 40px;
}
footer a {
    color: var(--text-light);
    transition: color var(--transition);
}
footer a:hover { color: var(--primary); }

.sm-footer-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.sm-footer-block ul {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.sm-footer-block ul li { padding: 0 8px; }
.sm-footer-block ul li:last-child { border: 0; }

/* ===== Download APK ===== */
.download .sm-app-long-text {
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.sm-apk-down {
    color: var(--primary);
    cursor: pointer;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 12px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.sm-apk-down:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* ===== Policy Pages ===== */
.sm-police-block h1 {
    margin: 32px 20px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}
.sm-police-block h3 {
    margin: 20px 0 8px;
    font-size: 18px;
    font-weight: 600;
}
.sm-police-block p, .sm-police-block li {
    line-height: 1.7;
    word-break: break-all;
    color: var(--text-light);
}
.sm-police-block .sm-app-content {
    padding: 16px;
    min-height: 770px;
}
.disclaimer { text-align: left; }

/* ===== Advertising ===== */
.ad-slot {
    width: 100%;
    margin: 32px auto;
    text-align: center;
    clear: both;
}
.ad-slot__label {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}
.ad-container {
    width: 100%;
    max-width: 970px;
    min-height: 90px;
    margin: 0 auto;
    overflow: hidden;
}
.ad-container--native {
    min-height: 0;
}
.ad-slot--home-content,
.ad-slot--detail-content,
.ad-slot--download {
    margin-top: 40px;
    margin-bottom: 40px;
}
.ad-slot--collection-feed {
    grid-column: 1 / -1;
    margin: 16px 0 24px;
}
.ads_code { width: 100%; min-height: 90px; }

/* ===== Misc ===== */
td.title { font-weight: 600; }
.empty {
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 16px;
}
.block2 { word-break: break-all; }
.block4 img { max-width: 100%; border-radius: 8px; }
.content4 {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    flex-wrap: wrap;
}
.content4 img {
    max-width: 100%;
    margin: 5px 0;
    border-radius: 8px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .block4 img.shot { width: 100%; }
    .sm-app-content-block img { max-width: 100%; height: initial; }
    .content4 img { max-width: 100%; }
    .top-slide {
        min-height: 320px;
    }
    .ts-text h1 { font-size: 26px; }
    .ts-text h3 {
        padding-bottom: 24px;
        font-size: 15px;
    }
    .block4 img { max-width: 100%; }
    .sm-app-url-block { display: block; }
    .sm-app-long-text td { padding: 8px 16px; font-size: 13px; }
    .ad-slot {
        margin-top: 28px;
        margin-bottom: 28px;
    }
    .ad-container,
    .ads_code {
        width: 100%;
        min-height: 100px;
    }
    .breadcrumb { display: none; }
    .sm-app-content-text {
        margin-left: 12px;
        margin-top: 10px;
    }
    .sm-app-content_title { font-size: 20px; }
    .sm-app-content_title img { width: 18px; }
    .sm-app-content_rating { font-size: 12px; }
    .sm-app-content_head_item { margin: 3px 0; }
    .cd-version { font-size: 12px; }

    .sm-app-block {
        width: calc(50% - 12px);
    }
    .sm-app-section .sm-app-block {
        width: 100%;
        padding: 14px;
    }
    .sm-app-section .sm-app-block .sm-app-rating { display: block; }
    .sm-app-section .sm-app-summary { font-size: 12px; height: initial; }

    .nav { padding: 0 16px; }
    .home-more { margin-top: 20px; }

    .nav-list {
        display: none;
        position: fixed;
        left: 0; top: 0; right: 0; bottom: 0;
        width: 100%; height: 100%;
        z-index: 100;
        background: rgba(0,0,0,.4);
    }
    .nav-list ul {
        width: 70%;
        max-width: 280px;
        flex-direction: column;
        background-color: var(--white);
        height: 100%;
        padding-top: 24px;
        padding-left: 0;
        position: relative;
        box-shadow: 4px 0 20px rgba(0,0,0,.1);
    }
    .nav-list ul li {
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 0;
    }
    .nav-list ul li.last {
        display: inline-block;
        position: absolute;
        bottom: 20px;
        font-size: 12px;
        color: #999;
    }
    .nav-list-close { display: block; }
    .nav-list ul a { color: var(--text); }
    .nav-list ul li.active { background-color: var(--primary-light); }
    .nav-list ul li.active a { color: var(--primary); font-weight: 600; }
    .nav-list_close { display: block; }

    .menu {
        display: none;
        width: 100%;
        z-index: 100;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .menu ul {
        flex-direction: column;
        background-color: var(--white);
        height: 100%;
    }
    .menu ul li { padding: 14px 24px; }
    .menu ul li a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text);
    }
    .menu ul li .nav-icon {
        display: flex;
        align-items: center;
    }
    .menu ul li.active {
        background-color: var(--primary-light);
    }
    .menu ul li.active a {
        color: var(--primary);
        font-weight: 600;
    }

    .sm-app-content { display: block; }
    .sm-app-content_left { width: 100%; }
    .cc-item { flex-direction: column; padding: 5px; }
    .cc-item .right { word-break: break-all; }
    .sm-app-like .sm-app-block { width: 100%; }
    .sm-app-side { display: none; }

    .sm-footer-block {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .sm-footer-block ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-button { display: inline-block; }
    .nav-button svg {
        width: 24px;
        height: 24px;
    }

    .ts-search-icon { top: 6px; right: 16px; }
    .ts-search-icon .fa { margin-right: 0; }
    .search.mobile .ts-search-icon .fa { margin: 0; }
    .search { height: 50px; max-width: 100%; }
    .ts-search-input { width: 100%; margin: 10px auto; }
    .search.open .ts-search-input {
        display: block;
        position: absolute;
        top: 10px;
        width: 300px;
        right: -6px;
    }
    .search.open .fa { color: var(--primary)!important; }
    .sm-app-url-block-btn { max-width: 100%; }
    .sm-app-review-block {
        padding: 16px;
        flex-direction: column;
    }
    .sm-app-review-block-percent { margin-left: 25px; }
    .download .cc-item { flex-direction: initial; }

    .sm-app-block .app-sm-title {
        overflow: initial;
        word-break: break-all;
        font-size: 12px;
    }
    .box { box-shadow: initial; }
    .main-child { margin-top: 0; }
    .sm-app-section { margin-bottom: 0; }
    .ts-text { height: initial; }
    .sm-app-content_left .sm-app-content-block { margin-bottom: 8px; }
}

/* ===== Apps Collection Grid ===== */
.collection-intro {
    max-width: 860px;
    margin: 8px auto 0;
    padding: 24px 20px 8px;
    text-align: center;
}
.collection-intro h1 {
    margin: 6px 0 12px;
    color: var(--text);
    font-size: 30px;
    line-height: 1.2;
}
.collection-intro p {
    margin: 8px auto;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.65;
}
.collection-intro .collection-eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}
.apps-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 20px;
    justify-content: center;
    padding: 16px 0;
}
.ac-app-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 16px 8px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
}
.ac-app-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.ac-app-icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ac-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.ac-app-title {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .collection-intro {
        padding: 18px 12px 8px;
        text-align: left;
    }
    .collection-intro h1 { font-size: 24px; }
    .collection-intro p { font-size: 14px; }
    .apps-collection {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 8px 0;
    }
    .ac-app-block {
        padding: 10px 6px;
    }
    .ac-app-icon {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    .ac-app-title {
        font-size: 12px;
        margin-top: 8px;
    }
}

@media (max-width: 380px) {
    .apps-collection {
        gap: 6px;
    }
    .ac-app-block {
        padding: 8px 4px;
    }
    .ac-app-title {
        font-size: 11px;
        margin-top: 6px;
    }
}

/* ===== Cookie Consent Overrides ===== */
.cc-window.cc-floating { padding: 8px; }
@media screen and (max-width: 414px) and (orientation: portrait),
       screen and (max-width: 736px) and (orientation: landscape) {
    .cc-window .cc-message { margin-bottom: .3rem; font-size: 12px; }
    .cc-compliance { width: 35px; margin: 0 auto; }
}
.cc-revoke, .cc-window { font-size: 14px; }
.cc-btn {
    font-size: 14px;
    padding: 5px;
    width: 35px;
    height: 35px;
    margin: 0 auto;
    border-radius: 4px;
}
.cookie-ok { cursor: pointer; }
@media (max-width: 736px) {
    .cc-window.cc-floating { max-width: 100%; width: 100%; }
}
.cc-bottom { bottom: 0!important; }
