#match-goal-open{flex:none;display:inline-grid;place-items:center;width:34px;height:34px;padding:6px;border:1px solid #bbc69d;border-radius:9px;background:#f2f2da;color:#71865c;box-shadow:none;touch-action:manipulation}
#match-goal-open svg,.match-setup svg,.match-goal-symbol svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
#match-goal-open:hover{background:#e3e8c5}
.phone-ui #campaign-hud{display:none!important}
.phone-ui #match-goal-open{width:30px;height:34px;min-height:34px;padding:5px}
.phone-ui .phone-top-tools{gap:3px}
.match-setup{padding:16px 24px;border-top:1px solid #d9d3aa;border-bottom:1px solid #d9d3aa;background:#f9f4de}
.match-setup>b{font:600 12px 'Segoe UI',sans-serif;color:#596c49}
.match-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.match-choices button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:8px;border:1px solid #cec79b;border-radius:9px;background:#fff9e7;color:#77845b;font:600 11px/1.2 'Segoe UI',sans-serif}
.match-choices button[aria-pressed=true]{background:#7e9563;border-color:#7e9563;color:#fff9e7}
.match-choices svg{flex:none;width:16px;height:16px}
.match-setup p{margin:10px 0 5px;font:12px/1.5 'Segoe UI',sans-serif;color:#697657}
.match-setup>small{display:block;font:10px/1.4 'Segoe UI',sans-serif;color:#8d9178}
.match-target{display:flex;align-items:center;gap:12px;margin:12px 0;font:12px 'Segoe UI',sans-serif;color:#687851}
.match-target input{width:150px;padding:8px;border:1px solid #c2c89c;border-radius:7px;background:#fff9e8;color:#5e744a;font:600 15px 'Segoe UI',sans-serif}
.match-goal-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #c5b878;border-radius:20px;background:linear-gradient(135deg,#fff8e2,#eeebd0);color:#65764f;overflow:auto;box-sizing:border-box}
.match-goal-dialog::backdrop{background:#263e3670;backdrop-filter:blur(3px)}
.match-close{position:absolute;right:14px;top:10px;background:none;border:0;padding:6px;color:#959c7a;font:24px/1 Arial}
.match-goal-symbol{float:left;width:40px;height:40px;border:1px solid #d8c27a;border-radius:50%;display:grid;place-items:center;margin-right:12px;color:#ac8b46;background:#f9edc4}
.match-goal-dialog>small{font:600 9px 'Segoe UI',sans-serif;letter-spacing:1.5px}
.match-goal-dialog h2{font:26px/1.2 Georgia,serif;margin:4px 0 16px}
.match-goal-dialog h3{font:600 15px 'Segoe UI',sans-serif;margin:8px 0}
.match-goal-dialog p{font:12px/1.5 'Segoe UI',sans-serif;margin:8px 0 14px}
.match-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.match-progress article{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #cbd0ad;border-radius:10px;background:#fff9e37f}
.match-progress article.is-out{opacity:.55}
.match-progress img{width:32px;height:40px;object-fit:cover;border-radius:9px}
.match-progress article>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;font:600 12px 'Segoe UI',sans-serif}
.match-progress span{font:10px/1.3 'Segoe UI',sans-serif}
.match-progress progress{width:100%;height:5px;accent-color:#809b60;border:0}
.match-result{display:flex;flex-direction:column;gap:6px;border:1px solid #d0b666;border-radius:10px;background:#f3e6b7;padding:12px;margin:12px 0;font:14px/1.5 'Segoe UI',sans-serif}
.match-result span{font-size:11px}
.match-goal-dialog .match-fineprint{font-size:10px;color:#8d9276}
.match-goal-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.match-goal-dialog footer button{min-height:36px;padding:8px 14px;font:600 12px 'Segoe UI',sans-serif}
@media(max-height:500px){.phone-ui .match-goal-dialog{width:min(620px,calc(100vw - 24px));padding:16px 20px}.phone-ui .match-goal-dialog h2{font-size:22px;margin-bottom:10px}.phone-ui .match-goal-dialog h3{font-size:13px}.phone-ui .match-goal-dialog p{font-size:11px;line-height:1.4;margin-bottom:10px}.phone-ui .match-goal-dialog footer{margin-top:10px}.phone-ui .match-progress article{padding:6px}}
@media(max-width:740px){.phone-ui #match-goal-open{width:27px}.match-setup{padding:12px}.match-choices button{font-size:10px;gap:4px;padding:6px}.match-choices svg{width:14px;height:14px}}

.match-progress progress{appearance:none;-webkit-appearance:none;background:#d8ddbf;border-radius:4px;overflow:hidden}.match-progress progress::-webkit-progress-bar{background:#d8ddbf;border-radius:4px}.match-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#8ba36d,#bba954);border-radius:4px}.match-progress progress::-moz-progress-bar{background:#8ba36d;border-radius:4px}
