/* 1.0.051 - compact visual race setup and private tuning. */
.sga.mr #mr-ready{width:min(100%,460px);padding:10px;gap:7px;text-align:center}
.sga.mr #mr-ready h2{font-size:clamp(18px,3vw,24px);margin:0}
.sga.mr #mr-ready .mr-ready-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.sga.mr #mr-ready .mr-ready-picks button{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:3px;align-items:center;min-width:0;padding:6px;background:linear-gradient(145deg,#15394b,#112333);border:1px solid #4b8293;border-radius:10px;box-shadow:none;line-height:1.2}
.sga.mr #mr-ready .mr-ready-picks button:focus-visible{outline:2px solid #a1f4ff;outline-offset:2px}
.mr .mr-pick-top{display:flex;align-items:center;justify-content:space-between;gap:3px;text-align:left;color:#c7eaf0;font-size:11px;font-weight:700}
.mr .mr-pick-top>span{font-size:17px;color:#8beadf;line-height:1}
.mr .mr-pick-art{display:block;width:100%;height:clamp(56px,18vw,90px);object-fit:contain;border-radius:6px;overflow:hidden;background:#0a1b2a}
.mr #mr-ready-map svg{width:100%;height:100%;display:block;border-radius:6px}
.mr #mr-ready .mr-ready-picks strong{font-size:13px;color:#f4fbff;white-space:normal;overflow-wrap:anywhere}
.sga.mr #mr-ready .mr-ready-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-items:end}
.sga.mr #mr-ready .mr-ready-fields label{display:grid;gap:3px;min-width:0;margin:0;font-size:11px;line-height:1.2;font-weight:700;color:#d7e8f1;text-align:left}
.sga.mr #mr-ready .mr-ready-fields label[hidden]{display:none!important}
.sga.mr #mr-ready .mr-ready-fields select{font-size:clamp(11px,2.9vw,14px);min-height:40px;width:100%;max-width:100%;padding:4px 2px;color:#f4f8ff;background:#0b1928;border:1px solid #536b81;border-radius:7px}
.sga.mr #mr-ready .mr-personal-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;margin:0;font-size:11px;align-items:center}
.sga.mr #mr-ready .mr-personal-choice label{display:flex;gap:4px;align-items:center;min-width:0;text-align:left;line-height:1.2}
.sga.mr #mr-ready .mr-personal-choice button{min-height:32px;font-size:11px;padding:4px 6px}
.sga.mr #mr-ready .mr-personal-choice small{grid-column:1/-1;font-size:10px;line-height:1.15}
.sga.mr #mr-ready .mr-primary{min-height:44px}
.mr .mr-tuning-link{width:100%;margin:7px 0;color:#f8dc91!important;border-color:#a08048!important;min-height:44px}
.mr #mr-tuning-panel{display:grid;gap:10px;min-width:0}
.mr .mr-tuning-head,.mr .mr-tuning-model{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap}
.mr .mr-tuning-head>strong{color:#f9cf65}.mr .mr-tuning-model canvas{width:min(100%,320px);height:auto;border-radius:10px}.mr .mr-tuning-model strong{flex:1}.mr #mr-tuning-status{font-size:13px;min-height:1em;color:#c0e5ed;margin:0}
.mr #mr-tuning-items{display:grid;gap:9px}.mr .mr-tune-group{border:1px solid #37546a;padding:8px;border-radius:10px;background:#12283b;min-width:0}.mr .mr-tune-group h3{font-size:15px;margin:0 0 6px}.mr .mr-tune-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,96px),1fr));gap:5px}.mr .mr-tune-options button{display:grid;justify-items:center;align-content:center;gap:3px;min-height:58px;font-size:12px;padding:5px;white-space:normal;min-width:0}.mr .mr-tune-options button[aria-pressed=true]{border-color:#75e8cc;background:#185348}.mr .mr-tune-options small{font-size:10px;color:#f4dc91}.mr .mr-tune-swatch{width:25px;height:16px;border:1px solid #b6c6cc;border-radius:4px}.mr #mr-tuning-confirm{background:#102a3d;border:1px solid #d9ad55;padding:10px;border-radius:10px;display:grid;gap:7px}.mr #mr-tuning-confirm[hidden]{display:none!important}.mr #mr-tuning-confirm button{min-height:44px}.mr #mr-tuning-panel>small{color:#bacdda;font-size:12px}
@media(max-height:520px) and (orientation:landscape){.sga.mr #mr-ready{padding:6px;gap:4px;width:min(100%,490px)}.sga.mr #mr-ready h2{font-size:16px}.mr .mr-pick-art{height:42px}.sga.mr #mr-ready .mr-ready-picks button{padding:3px 5px;gap:2px}.sga.mr #mr-ready .mr-ready-picks strong{font-size:12px}.sga.mr #mr-ready .mr-ready-fields select{min-height:32px;font-size:12px}.sga.mr #mr-ready .mr-primary{min-height:36px}.sga.mr #mr-ready .mr-personal-choice button{min-height:28px}.sga.mr #mr-ready .mr-personal-choice small{font-size:9px}}

.mr .mr-tune-options button[aria-pressed=true]:disabled{opacity:1;color:#edfdf8}
