/* Cuba Béisbol Tarjetas / V5.1 — Editorial premium UI. All player and card art is unchanged.
   Visual direction: graphite, midnight navy, enamel red, antique champagne.
   No generic neon gradients, plastic tiles or diagonal striping. */
:root{--bg:#060a10;--bg2:#0b111b;--panel:#101925;--panel2:#172231;--line:#283343;--white:#f4f4f2;--soft:#9ba7b7;--red:#c83e4e;--blue:#7f9cbb;--gold:#caa778}
html{background:#060a10}
body{background:#060a10;color:#f4f4f2;letter-spacing:.015em}
.app-shell{background:linear-gradient(180deg,#0a101b 0%,#080d15 300px,#060a10 660px);box-shadow:0 0 0 1px #ffffff06}
.content{padding-left:24px;padding-right:24px}
/* restrained one-row header */
.topbar{height:82px;background:#0d1522;border-bottom:1px solid #253143;padding:15px 24px;gap:10px;box-shadow:none}
.brand{gap:11px}
.brand-flag{width:42px;height:42px;transform:none;border:1px solid #a8575f;border-radius:2px;background:#a92e3e;color:#fff;box-shadow:none;font-size:24px}
.brand-flag small{display:none}
.brand-text{font:800 15px/.94 var(--display);letter-spacing:.075em;color:#f5f2ef}
.brand-text span{font-size:18px;letter-spacing:.03em}
.brand-text b{font-size:12px;color:#ca9c9f;letter-spacing:.15em;margin-top:5px}
.topbar-right{gap:8px}
.wallet{height:40px;min-width:0;gap:8px;background:#101d2b;border:1px solid #344155;border-radius:5px;padding:5px 10px;box-shadow:none}
.wallet strong{font-size:13px;font-weight:700;letter-spacing:0;font-variant-numeric:tabular-nums}
.wallet-add,.claim-flag{display:none!important}

.coin-ico{width:19px;height:19px;font-size:12px;background:#c8a268;border:1px solid #e3c58e;color:#30281a;box-shadow:none}
.profile-small{height:37px;width:37px;min-width:37px;background:#1d2a3b;border:1px solid #728298;box-shadow:none;border-radius:50%;font:700 16px var(--body)}
/* editorial cover, let photograph-based original card art carry the story */
.content>.home-view{padding-top:22px}
.hero{height:392px;border-radius:4px;border:1px solid #394352;background:radial-gradient(ellipse at 50% -2%,#273b51 0%,#101c2d 41%,#090e19 100%);box-shadow:0 15px 32px #0007;isolation:isolate}
.hero-grid{display:none}
.hero:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 12%,transparent 48%,#050913 86%);z-index:2}
.hero:after{content:'';position:absolute;left:0;top:0;bottom:auto;width:4px;height:100%;background:#b94050;z-index:4}
.hero-stack{filter:drop-shadow(0 13px 17px #000b)}
.hero-stack-card .base-card{border-radius:0!important;box-shadow:0 8px 30px #0009!important}
.hero-copy{z-index:5}
.hero-tag{font:700 11px var(--body);letter-spacing:.16em;color:#d0b087}
.hero-copy h1{font-weight:800;letter-spacing:-.02em;text-shadow:0 2px 9px #000b}
.hero-copy h1 span{color:#f1f1f0}
.hero-copy p{color:#b5c0cf}
.hero-cta{background:#b93a49;border:1px solid #cf6c76;border-radius:2px;box-shadow:none;font-weight:750;letter-spacing:.04em;padding:13px 18px}
.hero-cta:active,.main-button:active{transform:translateY(1px)}
.hero-controls{z-index:6}
.hero-controls>button{background:#141f2bb8;border:1px solid #536070;border-radius:2px;width:28px;height:30px}
.hero-dots button{border-radius:20px;background:#6d7581}
.hero-dots button.active{background:#c8a779}
/* slim rectangular feature links, not candy-like tiles */
.shortcuts{margin:21px 0 38px;gap:9px}
.shortcut{min-height:80px;border-radius:4px;border:1px solid #2c394b;background:#121e2d;box-shadow:none;gap:12px}
.shortcut>svg{color:#d4bf9f}
.shortcut strong{font-weight:750}
.shortcut small{color:#899aac}
.section-title{margin-bottom:14px}
.section-title h2{font:750 23px var(--display);letter-spacing:.015em}
.text-btn{font-size:11px;color:#b5c2ce;letter-spacing:.02em}
/* featured story / restrained typography and original card photography */
.news-row{gap:12px;margin-bottom:36px}
.news-card,.news-mini{border-radius:4px;border:1px solid #293749;background:#111d2b;box-shadow:none}
.news-card{padding:12px;gap:18px}
.news-art{min-height:155px;width:119px;border:1px solid #536274;border-radius:0;background:#111827;box-shadow:none}
.news-art span,.news-art b,.news-art em,.news-art:after{display:none}
.news-copy small{color:#c6a985;letter-spacing:.11em;text-transform:uppercase;font-size:10px}
.news-copy strong{color:#f3f4f4;line-height:1.37;font-weight:700}
.news-meta{color:#8495a8}
.news-mini{background:#131e2a;padding:20px}
.mini-news-icon{color:#c6ad81}
.news-mini b{font-weight:750}
/* cards: show card artwork, not extra duplicate plastic frame */
.horizontal-cards{gap:12px;margin-bottom:25px;padding-bottom:16px}
.horizontal-card{width:169px;min-width:169px}
.card-tile{background:none;border:0;border-radius:0;padding:0;gap:8px;box-shadow:none}
.card-tile .base-card,.base-card.ready-card{border-radius:0!important}
.card-tile .base-card{border:1px solid #596471;box-shadow:0 8px 17px #0006}
.tile-foot{font-size:10px;color:#9eabb9;letter-spacing:.035em;padding:0 2px}
.ready-card .card-lock{border-radius:0!important}
.collection-progress{border-radius:4px;border:1px solid #2b394b;background:#111b29;padding:21px;box-shadow:none}
.collection-progress>div:first-child{letter-spacing:.06em}
.progress-track{background:#283447;height:4px;border-radius:0}
.progress-track i{border-radius:0;background:#b64250}
.collection-progress button{border:1px solid #7c5860;border-radius:2px;color:#f3d7d9;background:#341d27;box-shadow:none}
.demo-hint{color:#8c99ab}
/* keep navigation understated */
.bottom-nav{height:calc(74px + env(safe-area-inset-bottom));background:#0c1522;border-top:1px solid #263548;box-shadow:0 -10px 30px #0004}
.nav-item{height:65px;color:#8493a6}
.nav-item svg{stroke-width:1.8}
.nav-item.active{color:#f7f6f4}
.nav-item.active:before{height:2px;background:#ce4754;left:18px;right:18px;border-radius:0}
.nav-item span{font-size:11px;font-weight:650}
.nav-item i{display:none}
.app-shell footer{border-color:#1a2431;color:#677485}
/* shop and album should feel like a serious collectible catalog */
.page-title h1{letter-spacing:.005em}
.shop-promo,.album-summary,.shop-card,.account-entry,.more-profile,.season-card,.warning-panel,.language-panel,.font-panel{border-radius:4px!important;border-color:#314054!important;background:#121e2e!important;box-shadow:none!important}
.shop-card{padding:17px}
.shop-top{margin-bottom:9px}
.shop-tag{color:#e5c399!important;letter-spacing:.08em}
.pack-art{border-radius:0!important;box-shadow:0 13px 22px #0008}
.shop-description h2{font-weight:750}
.main-button{border-radius:3px!important;background:#b63a4a!important;border:1px solid #d86473!important;box-shadow:none!important;color:#fff}
.shop-price{color:#f3d3a1}
.album-tabs button,.album-toolbar input,.card-search{border-radius:3px!important}
.album-tabs button.selected{background:#9e303e!important;color:#fff!important;border-color:#b74454!important}
.album-grid{gap:15px}
.grid-count{color:#aab4c0}
.menu-list button,.menu-list a{border-radius:4px!important}
.profile-portrait,.account-entry-head>span{border-radius:4px!important}
/* continuous 360-degree card handling is preserved, visuals are less shiny */
.inspect-viewer{background:radial-gradient(ellipse at center,#172333,#060b13 75%)}
.inspect-viewer:before{display:none}
.inspect-pills span{border-radius:2px;box-shadow:none;background:#142033}
.inspect-more,.inspect-topbutton{background:#101a29;box-shadow:none}
.inspect-sheet{background:#101b2b;border-color:#334052;box-shadow:0 -14px 30px #0008}
.inspect-tool{background:#1b2839;box-shadow:none;border-color:#435269;border-radius:4px}
.inspect-rows>div{background:#152236}
/* registration retains contrast, removes toy gradients */
.auth-dialog,.language-welcome{background:#111e2e!important;border-radius:8px!important;box-shadow:0 30px 60px #0009}
.auth-option{border-radius:4px!important}
.auth-solid,.account-entry button{border-radius:4px!important;background:#b23a49!important}
.auth-welcome-icon{border-radius:4px!important;background:#b23a49!important}
/* Mobile art direction: large real cards + headline instead of overlapping UI */
@media(max-width:740px){
 .content{padding:0 15px 36px}
 .topbar{height:72px;gap:6px;padding:11px 13px}
 .brand{gap:7px}
 .brand-flag{height:34px;width:34px;transform:none;border-radius:2px;font-size:20px}
 .brand-text{font-size:11px;letter-spacing:.06em}
 .brand-text span{font-size:14px}
 .brand-text b{font-size:10px;letter-spacing:.09em;margin-top:3px}
 .topbar-right{gap:6px}
 .wallet{height:34px;gap:4px;padding:4px 7px;border-radius:4px}
 .wallet strong{font-size:11px}
 
 .coin-ico{width:17px;height:17px;font-size:11px}
 .profile-small{height:31px;width:31px;min-width:31px;font-size:13px}
 .content>.home-view{padding-top:15px!important}
 .hero{height:426px;border-radius:3px}
 .hero:before{background:linear-gradient(180deg,transparent 0%,#09101c00 50%,#050911 80%)}
 .hero-stack{inset:0;top:18px;height:265px;filter:drop-shadow(0 12px 14px #0009)}
 .hero-stack-card,.hero-stack-card .base-card{width:153px;height:auto;aspect-ratio:5/7}
 .hero-stack-card{top:30px}
 .hero-stack-0{left:5%;top:50px;transform:rotate(-12deg);z-index:1}
 .hero-stack-1{left:32%;top:14px;transform:rotate(4deg);z-index:3}
 .hero-stack-2{left:61%;top:54px;transform:rotate(13deg);z-index:2}
 .hero-copy{top:auto;bottom:26px;left:20px;width:calc(100% - 40px)}
 .hero-tag{font-size:9px;letter-spacing:.17em}
 .hero-copy h1{font-size:clamp(34px,9.2vw,46px);line-height:.98;margin:10px 0 7px}
 .hero-copy p{font-size:11px;line-height:1.5;max-width:265px}
 .hero-cta{margin-top:14px;font-size:11px;padding:11px 13px}
 .hero-controls{bottom:17px;right:13px}
 .shortcuts{margin:15px 0 33px;gap:8px}
 .shortcut{min-height:78px;padding:12px 5px;gap:7px;flex-direction:column;text-align:center;justify-content:center}
 .shortcut strong{font-size:12px}
 .shortcut small{font-size:9px}
 .shortcut svg{height:21px}
 .section-title h2{font-size:22px}
 .news-row{gap:9px;margin-bottom:31px}
 .news-card{padding:10px;gap:13px}
 .news-art{min-height:125px;width:95px}
 .news-copy{gap:9px}
 .news-copy strong{font-size:14px;line-height:1.3}
 .news-copy small{font-size:9px}
 .horizontal-card{width:148px;min-width:148px}
 .album-grid{gap:11px}
 .bottom-nav{height:calc(70px + env(safe-area-inset-bottom))}
 .nav-item{height:61px;min-width:0;flex:1}
 .app-shell{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
}
@media(max-width:430px){
 .topbar{height:67px;gap:4px;padding:9px 9px}
 .brand{gap:5px}
 .brand-flag{height:32px;width:31px;font-size:19px}
 .brand-text{font-size:11px}
 .brand-text span{font-size:13px}
 .brand-text b{font-size:9px}
 .wallet{height:29px;padding:3px 5px;gap:3px}
 
 .wallet.gold{min-width:0}
 .wallet strong{font-size:10.5px}
 .profile-small{height:29px;width:29px;min-width:29px}
 .hero{height:406px}
 .hero-stack-card,.hero-stack-card .base-card{width:145px}
 .hero-stack-0{left:3%;top:48px}
 .hero-stack-1{left:31%;top:12px}
 .hero-stack-2{left:60%;top:50px}
 .hero-copy{left:17px;width:calc(100% - 34px);bottom:21px}
 .hero-copy h1{font-size:40px}
 .hero-copy p{max-width:245px;font-size:10px}
 .hero-cta{margin-top:12px;padding:10px 13px}
 .hero-controls{right:11px;bottom:15px}
 .shortcut strong{font-size:11px}
 .section-title h2{font-size:19px}
 .horizontal-card{width:143px;min-width:143px}
}
@media(max-width:355px){
 .brand-text{font-size:10px}.brand-text span{font-size:12px}.brand-text b{font-size:8px}
 .brand-flag{width:28px;height:30px}
 .topbar-right{gap:3px}.wallet{padding:3px 4px}.wallet strong{font-size:10px}
 .coin-ico{width:15px;height:15px}
 .hero-stack-card,.hero-stack-card .base-card{width:130px}
 .hero-stack-0{left:3%}.hero-stack-1{left:31%}.hero-stack-2{left:59%}
 .hero-copy h1{font-size:33px}
}
@media(prefers-reduced-motion:reduce){.hero-stack,.hero-stack-card{transition:none!important}}
