/* Simplified match view only on phones. */
.match-back-mobile,.shot-label-mobile{display:none}
@media(max-width:720px){
#app:has(.match-layout)>.layout-help,#app .match-title #back,#app .match-layout .card-grip,#app .match-layout [data-move="side"]{display:none!important}
#app .match-layout .card-controls{justify-content:flex-end;margin-bottom:8px}
#app .match-layout .score .scoreline{padding:7px 10px!important;border-radius:11px;overflow:hidden;margin-bottom:4px!important}
#app .match-layout .score .scoreline:nth-last-child(2){background:#fffaf0!important;color:#493b19!important;border-color:#e9dfbe!important}
#app .match-layout .score .scoreline:last-child{background:#f0f7ff!important;color:#173e60!important;border-color:#d0dfed!important}
#app .match-layout .score .scoreline strong,#app .match-layout .score .scoreline b{color:inherit!important}
#app #entry [data-shot="Verônica"],#app #entry .shot-result>span,#app #entry .shot-label-desktop{display:none!important}
#app #entry .shot-label-mobile{display:inline}
#app #entry .shot-result{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#app .match-back-mobile{display:block;width:100%;margin:20px 0 8px;min-height:44px}
}

.match-set-mobile{display:none}
@media(max-width:720px){
#app .match-title>div{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
#app .match-title h1{margin:0!important;min-width:0;overflow-wrap:anywhere}
#app .match-title .muted{margin:0!important;flex-shrink:0;text-align:right}
#app .match-set-desktop{display:none}#app .match-set-mobile{display:inline}
#app .match-layout .score{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:8px}
#app .match-layout .score> *{grid-column:1 / -1}
#app .match-layout .score>.card-controls{grid-column:2;grid-row:1;margin:0 0 8px;align-self:center}
#app .match-layout .score>.match-clock{grid-column:1;grid-row:1;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:0;margin:0 0 8px;border:0;align-self:center;min-width:0}
#app .score .scorehead{font-weight:750}
#app .score .scoreline strong{font-size:14.3333px!important}
}
@media(max-width:720px){
#app .match-layout #entry{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px}
#app #entry>*{grid-column:1 / -1}
#app #entry>.card-controls{grid-column:2;grid-row:1;margin:0 0 12px;align-self:center}
#app #entry>h2:first-of-type{grid-column:1;grid-row:1;margin:0 0 12px!important;align-self:center}
#app #entry>.row:has(#undo){margin-top:24px!important}
#app #entry>p.muted:last-child{display:none!important}
}

.mobile-extra-heading{display:none}
@media(max-width:720px){
#app .match-layout .mobile-titled-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px}
#app .match-layout .mobile-titled-card>*{grid-column:1 / -1;min-width:0}
#app .match-layout .mobile-titled-card>.card-controls{grid-column:2;grid-row:1;align-self:center;margin:0 0 14px}
#app .match-layout .mobile-titled-card>.mobile-card-heading{grid-column:1;grid-row:1;align-self:center;margin:0 0 14px!important;min-width:0}
#app .match-layout .mobile-card-heading h2{margin:0!important}
#app .match-layout .mobile-extra-heading{display:block}
#app .match-extra>.actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}
#app .match-extra>.actions button{min-width:0;width:100%;padding:10px 5px;font-size:12px;line-height:1.35;white-space:normal;min-height:48px;overflow-wrap:normal}
}
