/* App edition: one shared content source, separate navigation and ad-free release. */
html{scroll-padding-bottom:110px}body.webview-edition{padding-bottom:calc(84px + env(safe-area-inset-bottom));overscroll-behavior-y:contain}.webview-edition .header{height:76px}.webview-edition .header-inner{justify-content:space-between;gap:12px}.webview-edition .header nav{display:none}.webview-edition .brand{font-size:24px}.webview-edition .hero{grid-template-columns:1fr;gap:24px;padding-top:28px}.webview-edition .hero h1{font-size:46px;line-height:1.24;letter-spacing:-2.5px}.webview-edition .hero h1 br:nth-child(2){display:none}.webview-edition .hero-copy{max-width:560px}.webview-edition .hero-visual{height:300px}.webview-edition .title-spark{display:none}.webview-edition .footer{padding-bottom:24px}.webview-edition #toast{bottom:calc(100px + env(safe-area-inset-bottom))}.app-tabs{position:fixed;z-index:40;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:9px 8px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4d9;box-shadow:0 -5px 24px #163e3510}.app-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;color:#69756f;font-size:12px;font-weight:600;border-radius:12px}.app-tabs svg{width:23px;height:23px}.app-tabs a[aria-current]{color:#1c513e;background:#eef5df}.app-tabs a:focus-visible{outline-offset:-3px}.connection-banner{position:sticky;z-index:45;top:0;background:#fff4cf;padding:12px 18px;font-size:13px;color:#4f4118}.connection-banner button{border:1px solid #b5a771;border-radius:6px;background:white;padding:6px 10px;margin-left:6px}.app-notice{background:#eef5df;padding:18px;border-radius:12px;margin:0 0 24px;font-size:13px}.app-notice p{margin-top:10px}.recent-section{margin:28px 0}.recent-section h2{font-size:22px;margin-bottom:14px}.recent-list{display:flex;gap:10px;overflow-x:auto;padding:0 0 10px}.recent-list a{min-width:145px;max-width:190px;border:1px solid #dce4d9;border-radius:12px;padding:15px;background:white;font-size:13px}.recent-list small{display:block;margin-top:6px;color:#69756f}
@media(min-width:769px){body.webview-edition{max-width:800px;margin:auto;border-left:1px solid #e5e8e1;border-right:1px solid #e5e8e1}.app-tabs{max-width:800px;margin:auto}.webview-edition .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.webview-edition .detail-layout{grid-template-columns:minmax(0,1fr)}.webview-edition .download-panel{position:static}.webview-edition .hero-visual{height:360px}.webview-edition .category-tabs{flex-wrap:wrap}.webview-edition .trust-strip{flex-wrap:wrap}.webview-edition .guide-grid{grid-template-columns:1fr}}

/* Put discovery and official actions ahead of decorative content. */
.webview-edition{--muted:#58675f}
.webview-edition .header{height:64px;min-height:64px}
.webview-edition .header-inner{display:flex;padding-top:0;align-items:center}
.webview-edition .hero{padding:24px 0 8px;gap:0}
.webview-edition .hero-copy{max-width:none}
.webview-edition .hero h1{font-size:32px;line-height:1.35;letter-spacing:-1.3px;margin:12px 0}
.webview-edition .hero h1 br{display:block!important}
.webview-edition .hero-copy>p{font-size:15px;line-height:1.8;color:#526159;margin:0 0 18px}
.webview-edition .hero-copy>p br{display:none}
.webview-edition .hero .search-form{margin-top:0}
.webview-edition .hero-kicker,.webview-edition .popular-keywords{font-size:13px;color:#50654a}
.webview-edition .popular-keywords{gap:10px;flex-wrap:wrap;margin-top:10px}
.webview-edition .popular-keywords a{min-height:36px;display:inline-flex;align-items:center}
.app-genres{margin:20px 0 24px}
.app-genres h2{font-size:21px;margin-bottom:12px}
.webview-edition .category-feature{margin-top:0}
.webview-edition .category-feature a{justify-content:flex-start;gap:9px;font-size:14px;min-height:58px;padding:10px 12px;text-align:left;color:#36562f}
.genre-icon{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;font-size:19px}
.app-spotlight{margin:24px 0 32px}
.webview-edition .app-spotlight .hero-visual{height:180px;display:block;border-radius:16px}
.webview-edition .app-spotlight .hero-visual img{height:100%;object-position:center 56%}
.app-spotlight .visual-top,.app-spotlight .visual-bottom,.app-spotlight .floating-tag{display:none}
.webview-edition .app-spotlight .hero-game{left:18px;right:18px;bottom:18px}
.webview-edition .app-spotlight .hero-game h2{font-size:26px;margin:5px 0}
.webview-edition .app-spotlight .hero-game>div>span{font-size:13px}
.webview-edition .page-intro{padding-top:24px}
.webview-edition .page-intro h1{font-size:27px;line-height:1.45}
.webview-edition .page-intro>p,.webview-edition .section-heading>p,.webview-edition .section-heading>div>p{font-size:15px;line-height:1.8;color:#526159}
.webview-edition .page-intro+.catalogue{padding-top:18px}
.webview-edition .eyebrow{font-size:12px;color:#58694b;letter-spacing:.06em}
.webview-edition .card-meta,.webview-edition .card-meta .price,.webview-edition .card-bottom>span{font-size:12px}
.webview-edition .card-content>p{font-size:14px;line-height:1.7;color:#526159}
.webview-edition .game-card h3{font-size:17px;line-height:1.5}
.webview-edition .result-bar,.webview-edition .total-text{font-size:13px;color:#526159}
.webview-edition .game-art{position:relative}
.game-initial{position:absolute;z-index:1;left:12px;bottom:12px;background:#1c513e;color:#f0f8dd;border:2px solid #f0f8dd;box-shadow:0 2px 8px #102f2c20;border-radius:10px;padding:7px;font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-1px}
.webview-edition .guide-card h3{font-size:18px;line-height:1.5}
.webview-edition .guide-card p{font-size:15px;color:#526159;line-height:1.8}
.webview-edition .detail-layout{display:flex;flex-direction:column;gap:20px}
.webview-edition .detail-article{display:contents}
.webview-edition .detail-title{order:0}
.webview-edition .detail-title h1{font-size:30px}
.webview-edition .detail-title>p{font-size:15px;color:#526159;line-height:1.8}
.app-download-summary{order:1;border:1px solid #dce5d1;background:#f1f6e8;padding:16px;border-radius:14px;width:100%}
.app-download-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:12px}
.app-download-summary .price{font-size:14px}
.app-download-summary .primary-button{font-size:16px;min-height:52px}
.webview-edition .app-download-summary .external-hint{font-size:13px;color:#526159;margin:10px 0 0;overflow-wrap:anywhere}
.webview-edition .detail-article>.game-art{order:2;width:100%;max-height:240px;aspect-ratio:460/215}
.webview-edition .download-panel{order:3;width:100%;margin:0;position:static}
.webview-edition .article-section{order:4}
.webview-edition .source-note{order:5}
.webview-edition .download-panel dl>div{font-size:14px}
.webview-edition .install-steps p,.webview-edition .article-section>p,.webview-edition details,.webview-edition .tip-box{font-size:16px;line-height:1.85}
.webview-edition .breadcrumbs{font-size:12px;padding:18px 0;overflow-wrap:anywhere}
.webview-edition.saved-is-empty .page-intro .search-form,
.webview-edition.saved-is-empty [data-saved]>.section-heading,
.webview-edition.saved-is-empty [data-saved]>.mobile-category,
.webview-edition.saved-is-empty [data-saved]>.category-tabs,
.webview-edition.saved-is-empty [data-saved]>.filter-toolbar,
.webview-edition.saved-is-empty [data-saved]>.result-bar{display:none}
.webview-edition.saved-is-empty [data-saved]{padding-top:12px}
.webview-edition.saved-is-empty .empty-state{padding:28px 18px;background:#f1f6e8;border:1px solid #dce5d1;border-radius:16px}
.webview-edition .empty-state h3{font-size:22px}
.webview-edition .empty-state p{font-size:15px;color:#526159}
.webview-edition.saved-is-empty .empty-state .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:20px;padding:10px 20px;border-radius:10px;background:#1c513e;color:white;font-size:15px}
@media(max-width:640px){
 .webview-edition .game-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .webview-edition .game-card-link{display:grid;grid-template-columns:100px minmax(0,1fr);height:100%}
 .webview-edition .game-card .game-art{width:100%;height:100%;min-height:180px;aspect-ratio:auto;border-radius:0}
 .webview-edition .game-card .game-art img{height:100%;object-fit:cover}
 .webview-edition .card-content{padding:12px;min-width:0}
 .webview-edition .card-meta{gap:7px;flex-wrap:wrap}
 .webview-edition .game-card h3{min-height:0;margin:7px 0}
 .webview-edition .card-content>p{min-height:0}
 .webview-edition .card-bottom{gap:7px;flex-wrap:wrap;margin-top:12px}
 .webview-edition .save-button{left:6px;right:auto;top:6px;background:#fffffff0}
 .webview-edition .device-filters button{font-size:14px}
 .webview-edition .select-filters select{font-size:14px}
}
