/* V1.1 compact mobile-first layout: more fixtures visible, no verification cards. */
.app-shell{max-width:800px;padding-bottom:55px}
.topbar{height:57px;gap:9px}
.brand-mark{width:35px;height:35px;border-radius:10px;font-size:19px;box-shadow:none}
.brand-name strong{font-size:16px}
.brand-name span{font-size:10px}
.top-version{font-size:10px;padding:3px 8px}
.session-banner.compact-banner{border-radius:12px;padding:12px 15px 10px}
.compact-banner .banner-title{align-items:center;gap:6px}
.compact-banner .banner-title h1{margin:0;font-size:17px;line-height:1.35}
.banner-subtitle{display:block;font-size:10px;color:#c6ddcc;margin-top:4px}
.banner-progress{font-size:23px;white-space:nowrap;line-height:1}
.banner-progress small{font-size:12px;font-weight:500;color:#b0cbbb}
.compact-banner .progress-track{margin-top:11px;height:5px}
.tabbar{margin:9px 0 13px;padding:3px;border-radius:11px}
.tab{padding:7px 2px;gap:1px;font-size:11px}
.tab-icon{font-size:17px}
.game-strip{display:flex;align-items:center;gap:9px;margin:0 2px 6px;min-height:27px}
.game-strip>strong{font-size:13px;white-space:nowrap}
.game-strip .type-pill{padding:3px 6px}
.strip-side{font-size:10px;color:var(--sub);margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42%}
.compact-scoreboard{padding:10px 12px 12px;overflow:visible;border-radius:12px}
.compact-scoreboard .teams-grid{padding:0 0 9px;min-height:0;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}
.compact-scoreboard .team-side{min-height:31px;gap:0}
.compact-scoreboard .team-side strong{font-size:15px;line-height:1.4}
.compact-scoreboard .versus{font-size:10px}
.compact-scoreboard .join{font-size:11px}
.compact-scoreline{display:grid;grid-template-columns:minmax(0,76px) 8px minmax(0,76px) minmax(96px,1fr);gap:8px;align-items:center;justify-content:center}
.compact-scoreline input{width:100%;min-width:0;height:43px;border:1px solid #d5e3d6;background:#f8fbf6;text-align:center;border-radius:9px;color:var(--forest);font-size:19px;font-weight:800;-moz-appearance:textfield}
.compact-scoreline input::-webkit-inner-spin-button,.compact-scoreline input::-webkit-outer-spin-button{-webkit-appearance:none}
.compact-scoreline input::placeholder{font-size:12px;font-weight:500;color:#9aafa1}
.compact-scoreline>span{text-align:center;color:#82998a;font-size:18px}
.compact-scoreline .btn{font-size:12px;min-height:43px;padding:8px 9px;border-radius:9px;white-space:nowrap}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.compact-undo{display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--sub);font-size:10px;min-height:30px;padding:1px 4px}
.compact-undo button{border:0;background:none;color:var(--green);font-size:11px;font-weight:750;padding:5px 0}
.all-matches{margin-top:6px}
.all-matches-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 3px 8px}
.all-matches-head h2{margin:0;font-size:15px}
.all-matches-head small{font-weight:500;font-size:11px;color:var(--sub)}
.all-matches-head .text-btn{font-size:10px;white-space:nowrap}
.dense-match-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}
.dense-game{display:grid;grid-template-columns:27px 22px minmax(0,1fr);gap:5px;align-items:center;min-height:49px;padding:6px 9px;border-bottom:1px solid #eaf0e9}
.dense-game:last-child{border-bottom:0}
.dense-game.is-current{background:#eff9ec;box-shadow:inset 3px 0 #3d9564}
.dense-game.is-done{background:#fafcf9}
.dense-no{font-size:11px;font-weight:800;color:#6f8478;text-align:center;font-variant-numeric:tabular-nums}
.is-current .dense-no{color:#27774f}
.dense-type{display:grid;place-items:center;font-size:10px;line-height:20px;width:20px;height:20px;border-radius:5px;font-weight:700;background:#e8f6e8;color:#27734d}
.dense-type.single{background:#ebeffc;color:#526ebe}
.dense-fixture{display:grid;grid-template-columns:minmax(0,1fr) 43px minmax(0,1fr);gap:3px;align-items:center;line-height:1.2}
.dense-fixture>.dense-team{font-size:12px;font-weight:720;overflow-wrap:anywhere;min-width:0}
.dense-fixture>.dense-team:last-child{text-align:right}
.dense-fixture>.dense-team.won{color:#19804f}
.dense-fixture>b{font-size:11px;white-space:nowrap;text-align:center;color:#839789;font-weight:750;font-variant-numeric:tabular-nums}
.dense-game.is-done .dense-fixture>b{font-size:12px;color:var(--forest)}
.dense-rest{font-size:10px;color:#98a79b;line-height:1.2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-finished{display:flex;flex-direction:column;gap:8px;padding:13px 14px;border-radius:12px;margin-bottom:10px}
.compact-finished strong{font-size:15px}.compact-finished span{color:var(--sub);font-size:12px}.compact-finished>div{display:flex;gap:8px}
.compact-setup .setup-hero{padding:17px 18px;border-radius:13px}
.compact-setup .setup-hero h1{font-size:24px;margin:5px 0 4px}
.compact-setup .setup-hero p{font-size:11px;line-height:1.5}
.compact-setup .setup-card{margin-top:10px;padding:14px;border-radius:13px}
.compact-setup .setup-card h2{font-size:16px}
.soft-label{font-size:11px;padding:4px 7px;border-radius:6px;background:#eaf4e6;color:#377353}
.compact-setup .field-label{margin:14px 0 7px}
.compact-setup .names-input{min-height:135px;max-height:270px;padding:9px 11px;font-size:13px;line-height:1.5;border-radius:9px}
.compact-setup .inline-actions{margin:5px 0 8px}
.compact-setup .format-preview{padding:9px;margin:8px 0 11px;border-radius:9px}
.compact-setup .format-metrics{margin-bottom:0}
.compact-setup .format-metrics span{gap:2px;font-size:10px}
.compact-setup .format-metrics b{font-size:18px}
.compact-setup .format-preview small{margin-top:7px;font-size:10px}
.compact-setup .btn-large{min-height:46px;padding:10px 14px;font-size:14px}
.compact-setup .form-note{margin-top:6px;font-size:10px;line-height:1.55}
/* Keep the dedicated full schedule editable, but denser than the original cards. */
.section-heading{margin:2px 1px 8px}
.section-heading h2{font-size:17px}
.section-heading p{font-size:11px;line-height:1.5}
.filter-row{margin:6px 0 9px}
.segmented button{padding:7px 11px}
.small-outline{padding:7px 9px}
.schedule-list{gap:7px}
.schedule-card{padding:9px 12px;border-radius:11px}
.fixture-row{min-height:0;padding:9px 0 7px}
.fixture-team{font-size:12px;line-height:1.5}
.fixture-vs b{font-size:15px}
.schedule-foot{padding-top:6px}
.icon-btn{width:28px;height:28px}
.leader-panel{padding:12px 14px;border-radius:13px;gap:10px;margin-bottom:9px}
.leader-medal{font-size:23px;width:43px;height:43px;border-radius:10px}
.leader-panel strong{font-size:19px}
.ranking-panel{padding:0 11px;border-radius:12px}
.ranking-header{padding:10px 0}
.rank-row{padding:10px 0}
.menu-panel{padding:13px;margin-bottom:9px;border-radius:12px}
.menu-panel h3{margin-bottom:9px}
.footer-note{padding-top:14px}
@media(max-width:760px){
  .app-shell{padding:0 10px calc(74px + env(safe-area-inset-bottom))}
  .topbar{height:51px}
  .tabbar{padding:4px 10px calc(4px + env(safe-area-inset-bottom));border-radius:13px 13px 0 0}
  .tab{padding:5px 2px;gap:2px}
  .compact-scoreboard .team-side strong{font-size:15px}
  .setup-page{padding-top:0}
  .toast{bottom:calc(67px + env(safe-area-inset-bottom))}
}
@media(max-width:365px){
  .app-shell{padding-left:7px;padding-right:7px}
  .compact-scoreline{grid-template-columns:minmax(0,65px) 7px minmax(0,65px) minmax(80px,1fr);gap:5px}
  .compact-scoreline .btn{font-size:11px;padding:7px 5px}
  .dense-fixture{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr)}
  .dense-fixture>.dense-team{font-size:11px}
}
