
#prestigeMedal { display: flex; align-items: center; gap: 9px; margin-top: 6px; height: 34px; pointer-events: none; }
#prestigeMedal[hidden], #prestigeMedal .pm-coin[hidden] { display: none; }
.pm-medal { position: relative; width: 34px; height: 34px; flex: none; }
.pm-medal svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.pm-medal circle { fill: none; stroke-width: 2.5; }
.pm-trk { stroke: rgba(255,255,255,.14); }
.pm-arc { stroke: var(--pm-nx); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.pm-win { stroke: rgba(127,227,255,.6); stroke-width: 5; stroke-dasharray: 1.2 98.8; stroke-dashoffset: -50; }
#prestigeMedal.pm-open .pm-win { stroke: #7fe3ff; stroke-dasharray: 5 95; }
.pm-coin { position: absolute; inset: 6px; border-radius: 50%; background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 1px 6px rgba(0,0,0,.7); }
.pm-metal { background: radial-gradient(circle at 34% 28%, #fff 0%, var(--pm-c) 62%, rgba(0,0,0,.55) 140%), var(--pm-c); }
.pm-empty { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.pm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-name { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--pm-cur);
  white-space: nowrap; text-shadow: 0 2px 9px rgba(0,0,0,.95); }
.pm-copy { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #b9c3e2; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,.9); font-variant-numeric: tabular-nums; }
#hud .pm-copy b { font-size: inherit; color: #e6ebff; font-weight: 800; }
#hud .pm-copy .pm-next { color: var(--pm-nx); }
#hud .pm-copy .pm-go { color: #7fe3ff; }
.pm-coin.pm-ahead { position: relative; inset: auto; width: 18px; height: 18px; flex: none; opacity: .55; margin-left: 2px; }

:root { --pm-foot: calc(var(--hud-y1) + 114px); }
#lockInPrompt, .li-toast { top: calc(var(--pm-foot) + 8px); }

@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  :root { --pm-foot: calc(var(--hud-y1) + 104px); }
  #prestigeMedal { gap: 7px; margin-top: 4px; height: 28px; max-width: calc(100vw - var(--hud-l) - 100px); }
  .pm-medal { width: 28px; height: 28px; }
  .pm-coin { inset: 5px; }
  .pm-name { font-size: 9px; letter-spacing: .16em; }
  .pm-copy { font-size: 10.5px; }
  .pm-coin.pm-ahead { display: none; }
  
#roomChip#roomChip { top: var(--pm-foot); }
  
#lockInPrompt, .li-toast { top: calc(var(--pm-foot) + 50px); }
  
body.touch-device #coachHint { top: calc(var(--pm-foot) + 50px) !important; }
}
