:root {
    --play-blue: #174EA6;
    --text-grey: #5f6368;
    --border: #e8eaed;
}

body { margin: 0; font-family: 'Roboto', sans-serif; background: #fff; color: #202124; letter-spacing: 0.1px; }
.app-wrap { max-width: 412px; margin: 0 auto; }

.main-header { display: flex; padding: 18px 16px; gap: 20px; }
.app-logo { width: 72px; height: 72px; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.header-text h1 { font-size: 24px; margin: 0; font-weight: 500; }
.brand-link { color: var(--play-blue); font-size: 14px; margin: 4px 0; font-weight: 500; line-height: 1.2; }
.meta-info { font-size: 12px; color: var(--text-grey); margin: 0; }

.stats-row { display: flex; padding: 12px 16px; align-items: center; }
.s-node { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.s-node .v { font-size: 14px; font-weight: 500; }
.s-node .l { font-size: 11px; color: var(--text-grey); margin-top: 2px; }
.s-divider { width: 1px; height: 22px; background: var(--border); }
.s-icon { font-size: 18px; }

.main-install-btn { 
    width: calc(100% - 32px); 
    margin: 12px 16px; 
    background: var(--play-blue); 
    color: #fff; 
    border: none; 
    padding: 10px; 
    border-radius: 8px; 
    font-weight: 500; 
    font-size: 14px;
}

.sub-actions { display: flex; justify-content: space-around; padding-bottom: 12px; }
.sub-btn { background: none; border: none; color: var(--play-blue); font-size: 13px; display: flex; align-items: center; gap: 8px; font-weight: 500; }

.device-hint { padding: 12px 16px; font-size: 12px; color: var(--text-grey); display: flex; align-items: center; gap: 10px; }

.scroll-gallery { display: flex; gap: 12px; overflow-x: auto; padding: 12px 16px 24px; scrollbar-width: none; }
.scroll-gallery::-webkit-scrollbar { display: none; }
.scroll-gallery img { width: 155px; border-radius: 8px; border: 1px solid var(--border); }

.page-section { padding: 20px 16px; border-top: 1px solid var(--border); }
.section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-top h2 { font-size: 18px; margin: 0; font-weight: 500; }
.preview-txt { font-size: 14px; color: var(--text-grey); line-height: 1.5; margin-bottom: 12px; }
.update-block { font-size: 13px; }
.update-block span { color: var(--text-grey); margin-left: 10px; }

.sec-list-item { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.sec-list-item p { margin: 0; font-size: 14px; color: #3c4043; }
.sec-list-item .material-symbols-outlined { color: var(--text-grey); font-size: 20px; }
.blue-more { color: var(--play-blue); text-decoration: none; font-size: 14px; font-weight: 500; }

.rating-flex { display: flex; gap: 30px; align-items: center; margin-bottom: 24px; }
.score-big .num { font-size: 56px; font-weight: 400; display: block; line-height: 1; }
.stars-row, .stars-blue { color: var(--play-blue); font-size: 10px; margin: 6px 0; }
.score-big .total { font-size: 12px; color: var(--text-grey); }

.bars-stack { flex-grow: 1; }
.bar-line { display: flex; align-items: center; gap: 10px; height: 10px; margin: 4px 0; }
.bar-line span { font-size: 11px; width: 6px; }
.bg { flex-grow: 1; height: 8px; background: var(--border); border-radius: 10px; }
.fill { height: 100%; background: var(--play-blue); border-radius: 10px; }

/* Reviews List */
.user-review { padding: 20px 0; border-bottom: 1px solid var(--border); }
.user-info { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.user-circle { width: 32px; height: 32px; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.u-name { font-size: 14px; flex-grow: 1; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.r-date { font-size: 12px; color: var(--text-grey); }
.r-text { font-size: 14px; color: var(--text-grey); line-height: 1.5; margin: 8px 0; }
.r-useful { font-size: 12px; color: var(--text-grey); }

.vote-area-global { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin-top: 20px; }
.v-group button { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 6px 24px; margin-left: 8px; color: var(--text-grey); font-size: 12px; }

/* Footer */
.app-footer { padding: 20px 16px; border-top: 1px solid var(--border); margin-top: 20px; }
.footer-acc { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
.f-column p { font-size: 14px; color: var(--text-grey); font-weight: 500; margin-bottom: 14px; }
.f-column a { display: block; color: var(--text-grey); text-decoration: none; font-size: 14px; margin-bottom: 14px; }
.footer-legal { margin-top: 40px; font-size: 12px; color: var(--text-grey); }
.l-row { display: flex; gap: 15px; margin-bottom: 10px; }
.l-row a { text-decoration: none; color: var(--text-grey); }
.l-region { margin-top: 25px; font-weight: 500; }
.user-review {
    padding: 24px 0; /* Увеличил отступы для объема */
    border-bottom: 1px solid var(--border);
}

.r-text {
    font-size: 14px;
    color: #3c4043; /* Чуть темнее для читаемости */
    line-height: 1.6; /* Больше межстрочного интервала для объема */
    margin: 12px 0;
    word-wrap: break-word;
}

.user-circle {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Легкая тень для аватаров */
}

.r-useful {
    font-size: 12px;
    color: var(--text-grey);
    margin-top: 16px;
    font-weight: 400;
}
.r-text {
    text-align: justify; /* Делает края текста ровными, как в книгах/маркете */
    hyphens: auto;       /* Автоматические переносы слов */
}
/* Кнопка установки */
.main-install-btn { 
    width: calc(100% - 32px); 
    margin: 12px 16px; 
    background: var(--play-blue); 
    color: #fff; 
    border: none; 
    padding: 11px; /* Чуть увеличил для кликабельности */
    border-radius: 8px; 
    font-weight: 500; 
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Эффект при нажатии на кнопку (как в Play Market) */
.main-install-btn:active {
    background: #133E85; /* Затемнение при клике */
    opacity: 0.9;
}

/* Выравнивание текста отзывов (как ты просил - развернуто и живо) */
.r-text {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.55;
    margin: 10px 0;
    text-align: left; /* В мобильном маркете обычно левое выравнивание */
}

/* Гео в футере */
.l-region {
    margin-top: 25px;
    font-weight: 500;
    color: #5f6368;
}
