/* Gridiron Dynasty — match HUD (prefix .mt-) */
#match-ui { font-size: 1rem; }
.mt-score { position: absolute; top: .4rem; left: 50%; transform: translateX(-50%); width: 26rem; max-width: calc(100% - 10.4rem); display: flex; align-items: stretch; gap: .25rem; pointer-events: none; }
.mt-plate { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: .3rem; padding: .15rem .5rem; border-radius: .6rem; border: 2px solid var(--navy); position: relative; box-shadow: 0 .2rem 0 rgba(0,0,0,.4); }
.mt-plate.home { flex-direction: row-reverse; }
.mt-plate .emblem { width: 2rem; height: 2rem; flex: none; }
.mt-abbr { font-family: var(--fd); font-weight: 900; font-size: .9rem; color: var(--chalk); text-shadow: -1px -1px 0 var(--navy), 1px -1px 0 var(--navy), -1px 1px 0 var(--navy), 1px 1px 0 var(--navy); }
.mt-pts { font-size: 1.7rem; line-height: 1; margin: 0 auto; min-width: 1.6rem; text-align: center; }
.mt-pts.pop { animation: pop .4s cubic-bezier(.3,1.8,.5,1); color: var(--gold); }
.mt-ball { position: absolute; top: -.25rem; width: .9rem; height: .55rem; border-radius: 50%; background: #8a4b22; border: 1px solid var(--navy); opacity: 0; transform: rotate(-20deg); }
.mt-plate.away .mt-ball { left: .2rem; } .mt-plate.home .mt-ball { right: .2rem; }
.mt-plate.has .mt-ball { opacity: 1; }
.mt-mid { flex: 0 0 auto; min-width: 7rem; text-align: center; background: rgba(20,33,61,.9); border: 2px solid var(--navy); border-radius: .6rem; padding: .1rem .4rem; display: flex; flex-direction: column; justify-content: center; line-height: 1.15; font-weight: 800; }
.mt-q { font-family: var(--fd); font-size: .8rem; color: var(--gold); }
.mt-dd { font-family: var(--fd); font-size: .95rem; white-space: nowrap; }
.mt-spot { font-size: .8rem; opacity: .85; }

.mt-left { position: absolute; left: .5rem; top: 4.5rem; width: 6.6rem; display: flex; flex-direction: column; gap: .4rem; }
.mt-left .btn { width: 100%; min-height: max(46px, 2.9rem); padding: .2rem .3rem; font-size: .85rem; }

.mt-cards { position: absolute; right: .5rem; top: 4.5rem; bottom: .5rem; width: 9.4rem; display: flex; flex-direction: column; gap: .35rem; pointer-events: none; }
.mt-cards > * { pointer-events: auto; }
.mt-card { appearance: none; position: relative; flex: 0 1 3.3rem; min-height: max(44px, 2.9rem); display: flex; align-items: center; gap: .3rem; padding: .15rem .4rem; text-align: left; cursor: pointer;
  background: #22352e; border: 2px dashed rgba(244,241,232,.7); border-radius: .5rem; color: var(--chalk); font-family: var(--fd); font-weight: 900;
  animation: slideR .25s ease-out both; transition: transform .12s cubic-bezier(.3,1.6,.5,1), filter .12s; }
.mt-card:hover, .mt-card.auto { filter: brightness(1.25); transform: scale(1.04); border-color: var(--gold); }
.mt-card.auto { box-shadow: 0 0 .8rem var(--gold); }
.mt-card:active { transform: scale(.94); }
.mt-card svg { width: 2.6rem; height: 2.2rem; flex: none; background: rgba(0,0,0,.2); border-radius: .3rem; }
.mt-card .nm { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.05; text-shadow: -1px -1px 0 var(--navy), 1px -1px 0 var(--navy), -1px 1px 0 var(--navy), 1px 1px 0 var(--navy); }
.mt-card .tag { display: block; font-size: .65rem; opacity: .8; margin-top: .1rem; letter-spacing: .05em; }
.mt-card .key { position: absolute; top: -.35rem; left: -.35rem; width: 1.1rem; height: 1.1rem; border-radius: .25rem; background: var(--gold); color: var(--navy); font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.mt-cards .btn { flex: 0 0 auto; width: 100%; animation: slideR .25s ease-out both; }

.mt-tut { position: absolute; right: 10.4rem; top: 4.5rem; width: 14rem; padding: .3rem; z-index: 3; pointer-events: none; }
.mt-tut .in { background: var(--slate); border-radius: .4rem; padding: .5rem .6rem; font-weight: 800; font-size: .95rem; line-height: 1.3; }

.mt-ticker { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); max-width: 46%; padding: .3rem 1rem; border-radius: 1.5rem; background: rgba(8,14,26,.78); border: 2px solid rgba(244,241,232,.3); font-weight: 800; font-size: 1rem; text-align: center; pointer-events: none; }
.mt-ticker.pop { animation: pop .25s both; }
.mt-ticker:empty { display: none; }
.mt-read { position: absolute; bottom: 3.3rem; left: 50%; transform: translateX(-50%); padding: .2rem .9rem; border-radius: 1rem; font-family: var(--fd); font-weight: 900; font-size: 1rem; border: 2px solid var(--navy); pointer-events: none; white-space: nowrap; animation: pop .25s both; }
.mt-read.g { background: #3fae52; } .mt-read.r { background: #d04448; } .mt-read.n { background: #6b7280; }
.mt-banner { display: none; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-size: 3rem; color: var(--gold); white-space: nowrap; pointer-events: none; z-index: 5;
  -webkit-text-stroke: .35rem var(--navy); paint-order: stroke fill; text-shadow: 0 .25rem 0 var(--navy), 0 0 1.2rem var(--orange), 0 0 2.2rem var(--orange); }
.mt-banner.show { display: block; animation: mtslam .35s cubic-bezier(.3,1.4,.5,1) both; }
.mt-banner.chalk { color: var(--chalk); }
@keyframes mtslam { 0% { transform: translate(-50%,-50%) scale(2.2) rotate(-6deg); opacity: 0; } 60% { transform: translate(-50%,-50%) scale(.95) rotate(-4deg); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1) rotate(-4deg); } }
