/* Mobile corrections shared across game pages. */
@media(max-width:800px){
 .game-mast{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 0;width:calc(100% - 32px)}
 .game-mast .brand{grid-column:1;grid-row:auto;justify-self:center}
 .mast-account{grid-column:1;justify-self:stretch;justify-content:center;flex-wrap:wrap;gap:12px 18px;min-width:0}
 .mast-account>a{min-width:0;min-height:44px}
 .mast-account .profile-orb{display:grid;flex-shrink:0}
 .mast-account b,.mast-account small{overflow-wrap:anywhere}
 .top-game-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 0 18px;margin-inline:16px;gap:9px;max-width:none}
 .top-game-nav>*{min-width:0;width:100%}
 .game-nav-item,.game-nav-group>summary{height:86px;min-height:86px;padding:8px 4px;font-size:13px;line-height:1.3;gap:4px}
 .game-nav-group>summary>span{overflow-wrap:anywhere}
 .game-nav-group{position:static}
 .top-game-nav{position:relative}
 .game-nav-group .game-nav-drop{left:0!important;right:0!important;top:auto;min-width:0;width:100%;max-height:60dvh;overflow-y:auto;margin-top:8px;box-sizing:border-box}
 .game-nav-group summary>b{position:static;display:none}
 .game-nav-drop a{min-height:48px;line-height:1.4}
 .game-status{padding:12px 16px;gap:10px;justify-content:center;text-align:center}
 .game-status>span,.game-status>a{flex-wrap:wrap;justify-content:center;font-size:12px}
 .content{width:calc(100% - 32px);padding:24px 0 32px;min-width:0}
 .content>*{min-width:0;max-width:100%;box-sizing:border-box}
 .page-heading{flex-wrap:wrap;gap:14px}
 .page-heading>div{min-width:0;max-width:100%}
 .page-heading h1{font-size:30px;line-height:1.15;overflow-wrap:anywhere}
 .page-heading p{font-size:14px;line-height:1.6}
 .page-heading .btn{min-height:44px}
 .section-subnav{max-width:100%;flex-wrap:wrap;gap:8px}
 .section-subnav a{min-height:42px;line-height:1.4;white-space:normal}
 .grid2,.grid3,.player-grid{grid-template-columns:minmax(0,1fr)}
 .panel,.stat,.field-row>*{min-width:0}
 .field-row{flex-wrap:wrap}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-width:0}
 .btn{max-width:100%;min-height:44px;white-space:normal;line-height:1.4;justify-content:center}
 .table-wrap{width:100%;max-width:100%;overflow-x:auto;margin-inline:0;-webkit-overflow-scrolling:touch}
 .table-wrap table{min-width:560px}
 .ledger-row{gap:12px;flex-wrap:wrap}
 .ledger-row>div{min-width:0;overflow-wrap:anywhere}
 .filter-bar{flex-wrap:wrap}
 .filter-bar>*{min-width:0;max-width:100%}
 .game-footer{padding:22px 16px;justify-content:center;text-align:center}
 #modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .dialog-body{padding:18px;overflow-wrap:anywhere}
 .beginner-cta button{min-width:0;width:100%}
 .beginner-milestones{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .beginner-milestones b{font-size:12px}.beginner-milestones small{font-size:11px}
 .market-window{align-items:flex-start}.market-window>div{min-width:0}.market-window strong{font-size:24px;overflow-wrap:anywhere}
}
@media(min-width:601px) and (max-width:800px){.top-game-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.competition-hero-scene>.competition-trophy{width:110px;height:110px}.competition-hero-scene{padding:14px}.stats{grid-template-columns:minmax(0,1fr)}.uniform-editor{grid-template-columns:minmax(0,1fr)}}

.club-name-link{color:inherit;text-decoration:underline;text-decoration-color:#9d78be88;text-underline-offset:4px;font-weight:600;cursor:pointer}.club-name-link:hover{color:#854db5}.club-name-link:focus-visible{outline:3px solid #f58b3a;outline-offset:4px;border-radius:3px}.public-club-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(120deg,#38204d,#6b3b92);border-radius:22px;padding:32px;color:#fff}.public-club-hero h2{font-size:36px;margin:12px 0}.public-club-hero p{color:#ebdcf7;line-height:1.7}.public-club-mark{width:120px;min-width:120px;display:grid;justify-items:center;gap:10px}.public-club-mark .icon{width:85px;height:85px}.public-club-mark>b{font-size:22px}.public-title-count{margin-left:auto;text-align:center}.public-title-count>b{display:block;font-size:44px}.public-title-count>span{font-size:14px}.public-club-nav{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.public-club-nav a{padding:12px 16px;border:1px solid #dacbe5;border-radius:10px;background:#fff;font-weight:600;font-size:14px}.public-titles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-top:20px}.public-titles article{display:grid;gap:12px;justify-items:center;text-align:center;padding:22px;background:#faf4e9;border-radius:14px}.public-titles .icon{width:60px;height:60px}.public-competition{border-top:1px solid #e7ddef;padding:18px 0}.public-competition summary{font-weight:700;cursor:pointer;line-height:1.6}.public-competition p{margin:12px 0}.public-fixture{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #e9deef}.public-fixture p{line-height:1.7;margin-top:8px}.public-fixture small{font-size:13px;color:#725a81}#public-titulos,#public-competicoes,#public-jogos,#public-elenco{margin-top:22px;scroll-margin-top:20px}.broadcast .club-name-link:hover{color:#ffb67e}@media(max-width:650px){.public-club-hero{flex-direction:column;text-align:center;padding:24px 18px;gap:14px}.public-title-count{margin:0}.public-club-hero h2{font-size:30px;overflow-wrap:anywhere}.public-club-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}.public-club-nav a{text-align:center;line-height:1.5;padding:12px 8px}.public-fixture{flex-direction:column;align-items:stretch}.public-club-mark{min-width:0}}
.public-club-mark img{width:110px;height:110px;object-fit:contain}
.public-club-actions{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:18px 0}.public-club-actions details{max-width:100%;flex:1;min-width:220px}.public-club-actions form{background:#fff;padding:20px;border:1px solid #e0d2eb;border-radius:12px;margin-top:12px}

/* Transparent club symbol replaces the generic loading ring. */
.spinner{display:inline-block;width:52px;height:52px;flex-shrink:0;border:0!important;border-radius:0;background:url('/game/assets/futopia-shield.png') center/contain no-repeat;box-shadow:none;filter:drop-shadow(0 0 8px #9c6bdd45);animation:futopia-symbol-turn 2.8s ease-in-out infinite;transform-origin:center;overflow:visible}
.boot .boot-symbol{width:150px;height:150px;margin:0 0 8px;filter:drop-shadow(0 0 16px #9c6bdd55)}
.boot{gap:20px;padding:36px 20px;overflow:visible}.boot>.wordmark{text-align:center}.boot>.wordmark small{text-align:center}.boot>p{text-align:center}
@keyframes futopia-symbol-turn{0%{transform:perspective(600px) rotateY(0deg)}100%{transform:perspective(600px) rotateY(360deg)}}
@media(max-width:600px){.boot .boot-symbol{width:130px;height:130px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none!important;transform:none}}
