/* totemsmp.cz/pass: "Můj pass" (assets/mypass.js) */
.mp { padding-top: 34px; display: grid; gap: 20px; scroll-margin-top: 20px; }
.mp h3 { font: 700 17px/1.2 var(--mc); text-transform: uppercase; color: var(--ink); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 14px; }
.mp h3 small { font: 700 13px/1 var(--ui); text-transform: none; color: var(--muted); margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.mp code { font-family: var(--mc); background: var(--paper-2); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.mp-gem { display: inline-block !important; width: 1.05em; height: 1.05em; image-rendering: pixelated; vertical-align: -.15em; }
.mp-prem b { white-space: nowrap; }

.mp-login { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mp-login > img { width: 56px; height: 56px; image-rendering: pixelated; }
.mp-login > div { flex: 1 1 240px; display: grid; gap: 4px; }
.mp-login b { font: 700 20px/1.2 var(--mc); text-transform: uppercase; color: var(--ink); }
.mp-login span { color: var(--muted); font-weight: 700; }

.mp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mp-face { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 10px; background: var(--paper-2); }
.mp-who { display: grid; gap: 4px; flex: 1 1 160px; min-width: 0; }
.mp-who b { font: 700 24px/1.1 var(--mc); color: var(--ink); overflow-wrap: anywhere; }
.mp-who small { color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mp-who i { width: 10px; height: 10px; border-radius: 50%; background: #c9b79d; }
.mp-who i.on { background: var(--green); box-shadow: 0 0 0 3px rgba(63, 207, 107, .25); }
.mp-bal { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; background: var(--ink); color: #fff; padding: 10px 18px 12px; box-shadow: inset 0 -5px 0 #000; }
.mp-bal .mp-gem { width: 34px; height: 34px; grid-row: span 2; }
.mp-bal b { font: 700 26px/1 var(--mc); color: #ffd84a; }
.mp-bal small { font-weight: 800; font-size: 12px; text-transform: uppercase; opacity: .8; }

.mp-level { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--paper-line); }
.mp-lv { display: grid; justify-items: center; background: var(--orange); color: #fff; padding: 8px 18px 12px; box-shadow: inset 0 -5px 0 var(--orange-d); min-width: 96px; }
.mp-lv b { font: 700 40px/1 var(--mc); text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.mp-lv small { font-weight: 800; font-size: 12px; text-transform: uppercase; }
.mp-prog { display: grid; gap: 8px; min-width: 0; }
.mp-prog span { color: var(--muted); font-weight: 700; }
.mp-prog span b { color: var(--ink); }
.mp-bar { height: 22px; background: var(--paper-2); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .08); overflow: hidden; }
.mp-bar i { display: block; height: 100%; min-width: 4px; background: linear-gradient(#5be083, var(--green)); box-shadow: inset 0 -4px 0 var(--green-d); transition: width .6s ease; }
.mp-bar.sm { height: 10px; margin: 6px 0 4px; }
.mp-bar.sm i { box-shadow: inset 0 -2px 0 var(--green-d); }
.mp-prem { display: grid; gap: 6px; justify-items: start; background: var(--paper-2); padding: 12px 16px; max-width: 280px; }
.mp-prem b { font: 700 15px/1.2 var(--mc); text-transform: uppercase; color: var(--ink); }
.mp-prem span { color: var(--muted); font-weight: 700; font-size: 14px; }
.mp-prem.yes { background: #fff4d0; }
.mp-prem.yes b { color: #b77900; }

.mp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mp-q ul { list-style: none; display: grid; gap: 10px; }
.mp-q li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--paper-2); padding: 10px 12px; }
.mp-q li > img { width: 32px; height: 32px; image-rendering: pixelated; }
.mp-q .t span { font-weight: 800; color: var(--ink); }
.mp-q .t small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.mp-q .t small .ok { color: var(--green-d); }
.mp-q .xp { font: 700 13px/1 var(--mc); color: var(--orange-d); white-space: nowrap; }
.mp-q li.done { background: #e4f8ea; }
.mp-q li.done .mp-bar i { background: var(--green); }

.mp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mp-tabs button { font: 800 14px/1 var(--ui); padding: 11px 16px 13px; background: var(--paper-2); color: var(--ink); box-shadow: inset 0 -4px 0 var(--paper-lip); cursor: pointer; }
.mp-tabs button:hover { background: #fff3dd; }
.mp-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 #000; }
.mp-tabs small { background: var(--green); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }
.mp-sub { color: var(--muted); font-weight: 700; font-size: 14px; margin: 6px 0 12px; }
.mp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mp-item { display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; background: var(--paper-2); padding: 16px 12px 14px; box-shadow: inset 0 -5px 0 var(--paper-lip); }
.mp-item .ic { width: 40px; height: 40px; image-rendering: pixelated; }
.mp-item > b { color: var(--ink); font-weight: 800; }
.mp-item .mc-line { background: #2a1608; padding: 5px 9px; color: #fff; }
.mp-item .mc-line.sm { font-size: 11px; }
.mp-item.has { background: #e4f8ea; box-shadow: inset 0 -5px 0 #b9e6c6; }
.mp-item .btn { width: 100%; margin-top: auto; }
.mp-has { font: 700 13px/1 var(--mc); color: var(--green-d); padding: 12px 0; margin-top: auto; }
.mp-only { font: 700 12px/1 var(--mc); color: #b77900; padding: 12px 0; margin-top: auto; text-transform: uppercase; }

.mp-dlg { border: 0; padding: 26px 26px 30px; background: #fff; color: var(--ink); box-shadow: inset 0 -8px 0 var(--paper-lip), 0 30px 80px rgba(0, 0, 0, .5); text-align: center; width: min(380px, calc(100vw - 32px)); margin: auto; }
.mp-dlg::backdrop { background: rgba(18, 10, 5, .7); }
.mp-dlg-ic { display: grid; place-items: center; height: 84px; margin-bottom: 8px; }
.mp-dlg-ic img { width: 72px; height: 72px; object-fit: contain; image-rendering: pixelated; }
.mp-dlg > small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12px; }
.mp-dlg > b { display: block; font: 700 20px/1.25 var(--mc); margin: 4px 0 10px; }
.mp-dlg p { color: var(--muted); font-weight: 700; }
.mp-dlg p b { color: var(--ink); }
.mp-dlg-b { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.mp-dlg-err { color: #c0392b; font-weight: 800; margin-top: 12px; min-height: 1em; }

.mp-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--green); color: #fff; padding: 14px 22px 18px; box-shadow: inset 0 -5px 0 var(--green-d), 0 14px 40px rgba(0, 0, 0, .4); font-weight: 700; text-align: center; z-index: 100; transition: transform .35s var(--spring, ease); max-width: calc(100vw - 32px); }
.mp-toast.on { transform: translate(-50%, 0); }
.mp-toast.bad { background: #e5484d; box-shadow: inset 0 -5px 0 #a8272b; }

/* the tier track for a logged-in player */
.bp-tier.me-got .bp-num { border-bottom-color: var(--green); }
.bp-tier.me-got .bp-num b { color: #8ff0ab; }
.bp-tier.me-next .bp-num { border-bottom-color: var(--orange); }
.bp-num { position: relative; }
.me-you { position: absolute; right: 2px; top: 6px; font: 700 11px/1 var(--mc); background: var(--orange); color: #fff; padding: 4px 6px 5px; box-shadow: inset 0 -3px 0 var(--orange-d); }
.bp-card.me-claimed { opacity: .72; }
.bp-card.me-ready { outline: 4px solid var(--green); outline-offset: -4px; }
.me-badge { position: absolute; right: 6px; top: 6px; z-index: 3; width: 24px; height: 24px; display: grid; place-items: center; font: 700 14px/1 var(--mc); color: #fff; background: var(--green); box-shadow: inset 0 -3px 0 var(--green-d); }
.me-badge.go { background: var(--orange); box-shadow: inset 0 -3px 0 var(--orange-d); }
.mp-pbtn[aria-disabled] { --bg: #d9b45a; --bg-d: #a9852f; cursor: default; }

@media (max-width: 860px) {
  .mp-two { grid-template-columns: 1fr; }
  .mp-level { grid-template-columns: auto 1fr; }
  .mp-prem { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .mp-bal { width: 100%; justify-content: center; }
  .mp-items { grid-template-columns: 1fr 1fr; }
  .mp-q li { grid-template-columns: 32px 1fr; }
  .mp-q .xp { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .mp-bar i, .mp-toast { transition: none; } }
.me-lg { display: inline-flex; align-items: center; gap: 6px; }
.me-lg .me-badge { position: static; width: 18px; height: 18px; font-size: 11px; font-style: normal; }
.me-lg code { font-family: var(--mc); font-size: 12px; }
