*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --play-accent: #00a85a;
    --play-accent-hover: rgba(0, 168, 90, .08);
    --font-body: Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-ui: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--font-body); background: #fff; color: #202124; margin: 0; -webkit-font-smoothing: antialiased; padding-top: 104px; }
.app-page { max-width: 960px; margin: 0 auto; padding: 24px 24px 40px; }
@media (max-width: 600px) { .app-page { padding: 16px 24px 40px; } }
.hero-stage { position: relative; margin-bottom: 8px; }
.hero-copy { position: relative; z-index: 3; }
.app-page-has-hero .hero-stage { position: relative; background: #202124; margin: -24px 0 24px; padding: 0 0 24px; }
.app-page-has-hero .hero-stage::before { content: ''; position: absolute; inset: 0 -24px 0 -24px; background: #202124; z-index: 0; }
.app-page-has-hero .hero-copy { position: relative; padding: 0; z-index: 3; }
.app-page-has-hero .app-header-video-wrap { width: calc(100% + 48px); margin: 0 0 0 -24px; }
.app-page-has-hero .app-header-video-frame { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; background: #111827; }
.app-page-has-hero .app-header-video-gradient { background: linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.14) 52%, rgba(32,33,36,.22) 100%); }
.app-page-has-hero .app-header { margin-top: -40px; align-items: flex-end; margin-bottom: 14px; }
.app-page-has-hero .app-icon,
.app-page-has-hero .app-icon-placeholder { width: 88px; height: 88px; border-radius: 22px; border-color: rgba(255,255,255,.14); box-shadow: 0 18px 32px rgba(0,0,0,.28); }
.app-page-has-hero .app-title { color: #fff; }
.app-page-has-hero .app-developer { color: var(--play-accent); }
.app-page-has-hero .app-badges { color: rgba(255,255,255,.72); }
.app-page-has-hero .info-chips { border-top-color: rgba(255,255,255,.08); border-bottom-color: rgba(255,255,255,.08); margin: 0 0 18px; }
.app-page-has-hero .info-chip + .info-chip::before { background: rgba(255,255,255,.12); }
.app-page-has-hero .chip-value { color: #fff; }
.app-page-has-hero .chip-value svg,
.app-page-has-hero .chip-value path,
.app-page-has-hero .chip-value rect,
.app-page-has-hero .chip-value line,
.app-page-has-hero .chip-value polyline,
.app-page-has-hero .chip-value circle { stroke: #fff !important; }
.app-page-has-hero .chip-label { color: rgba(255,255,255,.72); }
.app-page-has-hero .action-btn { color: var(--play-accent); }
.app-page-has-hero .action-btn:hover { background: var(--play-accent-hover); }
.app-page-has-hero .devices-available { color: rgba(255,255,255,.78); border-bottom-color: rgba(255,255,255,.08); }
.app-page-has-hero .devices-available svg { opacity: .84; }
@media (max-width: 600px) {
    .app-page-has-hero .hero-stage { margin: -16px 0 24px; padding: 0 0 24px; }
    .app-page-has-hero .hero-stage::before { inset: 0 -24px 0 -24px; }
    .app-page-has-hero .hero-copy { padding: 0; }
    .app-page-has-hero .app-header-video-wrap { width: calc(100% + 48px); margin: 0 0 0 -24px; }
    .app-page-has-hero .app-header-video-frame { aspect-ratio: 16 / 9; }
    .app-page-has-hero .app-header { margin-top: -40px; margin-bottom: 12px; }
    .app-page-has-hero .app-title { font-size: 25px; line-height: 1.07; }
    .app-page-has-hero .app-developer { font-size: 13px; }
    .app-page-has-hero .app-icon,
    .app-page-has-hero .app-icon-placeholder { width: 84px; height: 84px; border-radius: 20px; }
}
@media (max-width: 430px) {
    .app-page-has-hero .app-header { margin-top: -30px; gap: 14px; }
    .app-page-has-hero .app-icon,
    .app-page-has-hero .app-icon-placeholder { width: 76px; height: 76px; border-radius: 18px; }
    .app-page-has-hero .app-title { font-size: 21px; line-height: 1.05; }
    .app-page-has-hero .app-developer { font-size: 12px; }
    .app-page-has-hero .info-chips { margin-bottom: 16px; }
    .app-page-has-hero .chip-label { font-size: 11px; }
    .app-page-has-hero .app-header-video-play { min-height: 42px; font-size: 13px; padding: 0 16px 0 13px; }
}
@media (max-width: 390px) {
    .app-page-has-hero .app-header { margin-top: -22px; gap: 12px; }
    .app-page-has-hero .app-title { font-size: 18px; line-height: 1.03; }
    .app-page-has-hero .app-header-video-play { min-height: 40px; }
}

.app-header-video-wrap { position: relative; width: 100%; margin-bottom: 0; }
.app-header-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #111827; box-shadow: 0 24px 48px rgba(15, 23, 42, .18); }
.app-header-video-wrap img,
.app-header-video-wrap video,
.app-header-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-header-video-wrap img { object-fit: cover; }
.app-header-video-wrap video { object-fit: cover; background: #111827; }
.app-header-video-wrap iframe { object-fit: cover; }
.app-header-video-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,.08) 44%, rgba(0,0,0,.18) 100%); z-index: 1; pointer-events: none; }
.app-header-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; background: rgba(25, 36, 62, .72); color: #fff; border: 1px solid rgba(255,255,255,.20); border-radius: 999px; padding: 0 17px 0 13px; font-size: 13px; font-family: var(--font-ui); font-weight: 500; cursor: pointer; backdrop-filter: blur(14px); box-shadow: 0 10px 24px rgba(15,23,42,.24); }
.app-header-video-play svg { flex-shrink: 0; }
.app-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; position: relative; z-index: 2; }
.app-icon { width: 72px; height: 72px; border-radius: 20%; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); object-fit: cover; background: #f0f0f0; }
.app-icon-placeholder { width: 72px; height: 72px; border-radius: 20%; background: var(--app-primary); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 500; color: #fff; border: 1px solid rgba(0,0,0,0.1); }
.app-meta { flex: 1; min-width: 0; }
.app-title { font-size: 23px; font-weight: 500; line-height: 1.06; color: #202124; margin: 0 0 3px; letter-spacing: -.015em; }
.app-developer { font-size: 13px; font-weight: 500; color: var(--play-accent); margin: 0 0 6px; }
.app-badges { font-size: 12px; color: #5f6368; font-family: var(--font-body); line-height: 16px; margin-top: 4px; }
.app-badges span { font-weight: 400; }
.badge-dot { margin: 0 4px; }

.info-chips { display: flex; align-items: center; justify-content: space-evenly; padding: 16px 0; border-top: 1px solid #dadce0; border-bottom: 1px solid #dadce0; margin: 12px 0 16px; }
.info-chip { text-align: center; flex: 1; position: relative; }
.info-chip + .info-chip::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: #dadce0; }
.chip-value { font-size: 14px; font-weight: 500; color: #202124; display: flex; align-items: center; justify-content: center; gap: 2px; }
.chip-label { font-size: 12px; color: #5f6368; margin-top: 4px; }
.star-icon { display: inline-block; width: 12px; height: 12px; fill: #e8710a; vertical-align: -1px; }

.install-btn { display: block; width: 100%; height: 36px; border: none; border-radius: 8px; background: #01875f; color: #fff; font-size: 14px; font-weight: 500; font-family: var(--font-body); cursor: pointer; letter-spacing: 0.25px; margin-bottom: 8px; touch-action: manipulation; }
.install-btn:hover { background: #016848; }
.install-btn:disabled { cursor: default; }
.install-btn.is-preparing { display: flex; align-items: center; justify-content: center; gap: 8px; }
.install-spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: install-spin .8s linear infinite; display: none; flex-shrink: 0; }
.install-btn.is-preparing .install-spinner { display: inline-block; }
@keyframes install-spin { to { transform: rotate(360deg); } }
.install-help { display: none; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; font-size: 13px; line-height: 1.45; }
.install-help.is-visible { display: block; }

.action-buttons-row { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0 0 0; }
.action-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: none; background: transparent; color: var(--play-accent); font-size: 14px; font-family: var(--font-ui); font-weight: 500; border-radius: 4px; cursor: pointer; }
.action-btn:hover { background: var(--play-accent-hover); }
.devices-available { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #dadce0; font-size: 12px; color: #5f6368; font-family: var(--font-body); margin-bottom: 16px; }

.gp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; height: 104px; }
.gp-header-top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; }
.gp-logo { display: flex; align-items: center; text-decoration: none; }
.gp-header-actions { display: flex; align-items: center; gap: 8px; }
.gp-icon-btn { width: 48px; height: 48px; border: none; background: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gp-icon-btn:hover { background: rgba(0,0,0,0.04); }
.gp-avatar { width: 32px; height: 32px; border-radius: 50%; background: #e8eaed; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gp-tabs { display: flex; height: 48px; border-bottom: 1px solid #dadce0; }
.gp-tab { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; font-family: var(--font-ui); font-weight: 500; color: #5f6368; text-decoration: none; border-bottom: 2px solid transparent; }
.gp-tab-active { color: #01875f; border-bottom-color: #01875f; }
.gp-tab:hover { background: rgba(0,0,0,0.04); }
