/* TapHub v19 - screens only. Does not style .app-header/.brand/.header-right. */
:root{--th-bg:#080d19;--th-panel:#111729;--th-outline:#2b304d;--th-purple:#c02af8;--th-text:#f7f7ff;--th-muted:#afb3cb}
.phone-shell{background:linear-gradient(180deg,#090e1b,#070c17 80%)!important}
.page{overflow:visible!important;min-width:0!important;padding-bottom:26px!important}
.show-section{margin-bottom:24px!important;min-width:0!important}
.section-head h2{font-size:18px!important;font-weight:850!important;letter-spacing:-.25px!important}
.section-head .inline-link{font-size:12px!important;color:#b4b7cc!important}
/* Main art: generous illustration, white headline and reference's yellow hero CTA. */
.page-home .showcase{margin:8px 10px 13px!important;height:265px!important;border-radius:15px!important;border-color:#2a3156!important}
.page-home .showcase-art{background-position:66% 50%!important;filter:saturate(1.2) contrast(1.05)!important}
.page-home .showcase-art:after{background:linear-gradient(90deg,rgba(13,6,37,.87),rgba(14,5,35,.32) 69%,transparent),linear-gradient(0deg,rgba(9,7,27,.7),transparent 50%)!important}
.page-home .showcase-content{bottom:19px!important;left:17px!important;right:17px!important}
.page-home .showcase h1{font-size:26px!important;line-height:1.07!important;letter-spacing:-.4px!important;text-shadow:0 3px 14px #000a!important;margin-bottom:10px!important}
.page-home .showcase p{font-size:12px!important;line-height:1.45!important;max-width:235px!important;margin-bottom:13px!important}
.page-home .showcase .neon-button{background:#ffc63c!important;border-color:#f5af22!important;color:#19111c!important;border-radius:27px!important;min-height:43px!important;padding:12px 19px!important;box-shadow:0 3px 16px #e6a6243b!important;font-size:13px!important;font-weight:850!important}
.page-home .showcase .neon-button svg{stroke:#211421!important}
/* Native finger swipe: no parent transform or JS touch preventDefault. */
.th-horizontal,.genre-strip,.catalog-control .tabs,.news-tabs,.detail-gallery{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;scrollbar-width:none!important;scroll-snap-type:x proximity!important;max-width:100%!important}
.th-horizontal::-webkit-scrollbar,.genre-strip::-webkit-scrollbar,.catalog-control .tabs::-webkit-scrollbar,.news-tabs::-webkit-scrollbar{display:none!important}
.genre-strip{padding:5px 12px 16px!important;gap:8px!important;scroll-padding-inline:12px!important;cursor:grab!important}
.genre-chip{flex:none!important;border-radius:999px!important;min-height:39px!important;padding:8px 13px!important;background:#181d30!important;border:1px solid #2d324e!important;white-space:nowrap!important;scroll-snap-align:start!important;font-size:11px!important;gap:7px!important}
.genre-chip svg{width:16px!important;height:16px!important;flex:0 0 16px!important;min-width:16px!important}
.genre-chip.active{background:linear-gradient(110deg,#dc48f9,#9824dc)!important;box-shadow:0 0 12px #ad28db6b!important;border-color:#ef72ff!important}
/* Horizontal popular/new game collections. */
.page-home .game-grid.home-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:10px!important;padding:3px 1px 10px!important;scroll-padding-inline:1px!important;scroll-snap-type:x proximity!important;touch-action:pan-x pan-y!important}
.page-home .home-grid>.game-card{flex:0 0 clamp(132px,39vw,173px)!important;width:clamp(132px,39vw,173px)!important;max-width:none!important;min-width:0!important;scroll-snap-align:start!important;align-self:stretch!important}
.page-home .home-grid .game-cover{aspect-ratio:1/1.15!important;height:auto!important;max-height:none!important}
.page-home .home-grid .game-card-body{min-height:76px!important;gap:5px!important;padding:9px 8px!important}
.page-home .home-grid .game-card-title{font-size:12px!important;line-height:1.24!important;min-height:29px!important;-webkit-line-clamp:2!important}
.game-card{border-radius:13px!important;border-color:#30324d!important;box-shadow:0 7px 20px #0007!important;background:#111728!important}
.game-cover img{object-fit:cover!important;image-rendering:auto!important}
.game-genre{padding:5px 7px!important;line-height:1.2!important;font-size:10px!important;max-width:100%!important;border-radius:14px!important}
.game-genre svg{width:11px!important;height:11px!important;min-width:11px!important}
.game-stat{font-size:12px!important}
.game-stat .star{font-size:15px!important}
.corner-pill{font-size:10px!important;padding:5px 8px!important;border-radius:7px!important}
.feature-ribbon{height:116px!important;border-radius:14px!important;border-color:#51405f!important}
.feature-ribbon>img{object-position:center!important}
.collection-txt{font-size:16px!important;line-height:1.1!important;font-weight:900!important;bottom:14px!important;left:15px!important;text-shadow:0 2px 10px #000!important}
/* Catalog: large two leading landscape cards, then balanced 2-column thumbnails. */
.page-games .screen-heading{padding:20px 14px 9px!important}
.page-games .screen-heading h1{font-size:23px!important}
.catalog-control .tabs{padding:9px 12px 12px!important;gap:8px!important;scroll-padding-inline:12px!important}
.catalog-control .tab{min-height:37px!important;font-size:11px!important;border-radius:22px!important;padding:8px 12px!important;white-space:nowrap!important}
.catalog-toolbar{padding:0 12px 10px!important}
.catalog-toolbar .search-field{margin:0 0 7px!important}
.catalog-toolbar .results-head{padding:0 1px 1px!important}
.catalog-container{padding:0 12px 28px!important;min-width:0!important}
.catalog-feature-grid{display:grid;gap:12px;margin-bottom:12px}
.th-feature-game{position:relative;display:block;height:188px;min-width:0;overflow:hidden;border-radius:15px;border:1px solid #30384f;background:#141c2c;box-shadow:0 7px 19px #0008;cursor:pointer}
.th-feature-game>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.th-feature-shade{position:absolute;inset:0;background:linear-gradient(0deg,#070b16fa 0%,#080c16a9 24%,transparent 75%)}
.th-feature-game .corner-pill{z-index:3!important;top:13px!important;left:13px!important}
.th-feature-info{position:absolute;left:13px;bottom:12px;right:13px;color:#fff;z-index:2;text-shadow:0 2px 10px #000}
.th-feature-info>strong{display:block;font-size:20px!important;font-weight:850!important;line-height:1.15;margin-bottom:8px;overflow-wrap:anywhere}
.th-feature-bottom{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700}
.th-feature-bottom .star{color:#ffc53d;font-size:17px}
.th-feature-bottom .chip{font-size:10px!important;border-radius:16px!important;padding:6px 9px!important}
.page-games #game-list.catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;overflow:visible!important}
.page-games #game-list .game-cover{aspect-ratio:1/1.02!important}
.page-games #game-list .game-card-title{font-size:13px!important;min-height:18px!important}
.page-games #game-list .game-card-body{min-height:76px!important;padding:9px 8px 10px!important}
/* Detail: cinematic hero and prominent yellow Play action, following browser-game reality. */
.page-games .detail-hero{height:305px!important;position:relative!important;background:#0b1020!important}
.page-games .detail-hero>img{object-fit:cover!important;object-position:center 32%!important}
.page-games .detail-hero-shade{background:linear-gradient(0deg,#090e1d 0%,#0a102044 60%,transparent 100%)!important}
.page-games .detail-panel{padding:0 14px 32px!important}
.th-detail-title{position:relative;z-index:2;margin-top:-110px;padding-bottom:5px;min-height:110px;text-shadow:0 2px 11px #000}
.th-detail-title>.pill{display:inline-flex!important;position:static!important;font-size:10px!important;background:#f43f5d!important;color:#fff!important;border-radius:7px!important;padding:6px 9px!important;margin-bottom:8px}
.th-detail-title .detail-title{font-size:26px!important;font-weight:900!important;line-height:1.13!important;margin:0 0 8px!important;color:#fff!important}
.th-detail-title .detail-rating{font-size:13px!important;color:#ececff!important}
.page-games .detail-play{background:#ffca3a!important;border:1px solid #f3ae22!important;color:#160f10!important;border-radius:13px!important;font-weight:850!important;font-size:15px!important;min-height:49px!important;box-shadow:0 4px 16px #ffb42638!important}
.page-games .detail-play svg{color:#241723!important}
.page-games .chip-row{margin:10px 0 14px!important}
.page-games .detail-gallery{gap:9px!important;margin:18px 0 24px!important;padding-bottom:6px!important}
.page-games .detail-gallery img{flex:0 0 140px!important;width:140px!important;height:126px!important;border-radius:12px!important;scroll-snap-align:start!important}
.page-games .detail-section-title{font-size:18px!important;margin:20px 0 10px!important}
.page-games .detail-desc{font-size:13px!important;line-height:1.6!important;color:#bfc5d9!important}
.page-games .related-grid{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto!important;padding-bottom:7px!important;touch-action:pan-x pan-y!important}
.page-games .related-grid>.game-card{flex:0 0 135px!important;width:135px!important}
/* News: reference uses large feature images with gradient and generous title. */
.news-tabs{padding:11px 12px 17px!important;gap:8px!important}
.page-news .screen-heading{padding:19px 14px 9px!important}
.page-news .screen-heading h1{font-size:23px!important}
.news-page-grid{padding:0 12px 26px!important;gap:13px!important}
.page-news .news-row{border-radius:15px!important;box-shadow:0 7px 18px #0008!important}
.page-news .news-art{height:203px!important}
.page-news .news-art .pill{bottom:12px!important;left:13px!important;font-size:10px!important;padding:6px 10px!important;border-radius:8px!important}
.page-news .news-text{padding:13px 14px 16px!important}
.page-news .news-title{font-size:17px!important;line-height:1.25!important;max-width:95%!important;font-weight:850!important}
.page-news .news-text p{font-size:12px!important;line-height:1.45!important;color:#bdc3d7!important}
.page-news .news-date{font-size:10px!important}
/* Profile: spacious four metric tiles; actual account values only. */
.profile-screen{padding:18px 12px 31px!important}
.profile-card{border-radius:15px!important;border-color:#2a2c4e!important;padding:14px 12px 13px!important}
.profile-top{gap:11px!important}
.profile-top .avatar{width:72px!important;height:72px!important;flex:0 0 72px!important;box-shadow:0 0 14px #a12bff77!important}
.th-profile-intro{flex:1;min-width:0}
.profile-name{font-size:18px!important;overflow-wrap:anywhere}
.th-mini-crown{font-size:16px!important;color:#ffcd4b!important}
.stats-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:15px!important;padding-top:15px!important}
.stats-strip>div{min-width:0!important;padding:3px!important}
.stats-strip strong{font-size:19px!important}
.stats-strip span{font-size:9px!important;line-height:1.2!important}
.profile-content{padding:18px 0 0!important}
.profile-content>.section-head{margin-top:21px!important;margin-bottom:13px!important}
.profile-content>.section-head:first-child{margin-top:3px!important}
.th-profile-gallery,.th-profile-recent{display:flex!important;gap:9px!important;width:100%;padding-bottom:5px!important;min-height:100px!important}
.th-profile-tile{flex:0 0 95px;width:95px;height:97px;border:1px solid #283552;background:#11172a;border-radius:13px;overflow:hidden;padding:0;scroll-snap-align:start}
.th-profile-tile img{width:100%;height:100%;object-fit:cover}
.th-profile-recent{min-height:132px!important}
.th-recent-tile{width:115px;flex:0 0 115px;display:flex;flex-direction:column;text-align:left;gap:6px;border:0;background:transparent;color:#fff;padding:0;scroll-snap-align:start}
.th-recent-tile img{width:100%;height:91px;object-fit:cover;border-radius:12px;border:1px solid #31354e}
.th-recent-tile strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px!important;line-height:1.2!important}
.th-achievement{display:flex;gap:11px;align-items:center;padding:13px;border:1px solid #3e3156;border-radius:14px;background:linear-gradient(110deg,#1b142c,#111524);min-height:83px}
.th-award{flex:0 0 53px;width:53px;height:53px;display:grid;place-items:center;border-radius:15px;color:#ffd54f;background:linear-gradient(120deg,#7e16ae,#311068);border:2px solid #ffb749;box-shadow:0 0 14px #c76fff55}
.th-award svg{width:29px;height:29px}
.th-award-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.th-award-copy strong{font-size:14px!important}
.th-award-copy>span{color:#b5b8c9;font-size:11px}
.th-award-meter{height:6px;border-radius:6px;background:#30314a;overflow:hidden}
.th-award-meter span{display:block;background:linear-gradient(90deg,#d345f5,#8528ec);height:100%;border-radius:6px}
.th-achievement>small{color:#bfc2d9;white-space:nowrap;font-size:11px}
.th-no-favorites{display:flex;gap:8px;align-items:center;color:#abb0c8;font-size:12px;min-width:100%}
.th-no-favorites>svg{width:19px;height:19px;flex:0 0 19px;color:#c24df5}
.th-no-favorites>button{background:#201633;color:#e3b1ff;border:1px solid #4c2a6c;border-radius:12px;padding:6px 8px;margin-left:auto}
.th-profile-menu{margin-top:20px}.th-profile-menu>h2{font-size:16px!important;margin-bottom:9px!important}
/* Screen safe area and prevent overlap with fixed bottom navigation. */
.phone-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
.bottom-nav{height:calc(68px + env(safe-area-inset-bottom))!important;max-width:460px!important;background:#090d1cf7!important;border-top:1px solid #2b2845!important}
.bottom-nav .nav-link{gap:5px!important;color:#acb0c7!important}
.bottom-nav .nav-link svg{width:22px!important;height:22px!important}
.bottom-nav .nav-link.active{color:#dc86ff!important;text-shadow:0 0 8px #b63be4!important}
.bottom-nav .nav-label{font-size:9.5px!important}
.empty-state{max-width:none!important;min-width:0!important;width:100%!important}
.page-favorites .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:359px){.page-home .showcase{height:241px!important}.page-home .showcase h1{font-size:22px!important}.page-home .home-grid>.game-card{flex-basis:128px!important;width:128px!important}.stats-strip span{font-size:8px!important}.th-feature-game{height:166px}.page-news .news-art{height:178px!important}}
@media(min-width:620px){.page-home .showcase{height:335px!important}.page-home .showcase h1{font-size:36px!important}.page-home .showcase p{font-size:15px!important;max-width:350px!important}.genre-strip{padding-left:18px!important}.show-section{padding:0 18px!important}.page-home .home-grid>.game-card{flex-basis:182px!important;width:182px!important}.catalog-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-feature-game{height:215px}.page-games #game-list.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.news-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-screen{max-width:610px;margin:auto}.bottom-nav{max-width:900px!important}}
@media(prefers-reduced-motion:reduce){.game-card,.news-row,.page{animation:none!important;transition:none!important}}
