/* The Match Deck (30 Sep 2026): the owner's pack (new design/Pitch_Rivals_Match_Deck_Assets), laid out in its concept's
   pixels (a 550-wide phone, everything 50 px down for the status bar) on game.js's stage (.menu.cs, scaled by --k).
   clash.js deckPage builds it. Cards use the pack's geometry: 264 x 388, the painting in the 240 x 320 window at 12,12,
   the name on the strip below; --cw is a card's width, so its badges and text scale with it. */
.dk5 .cs-stage { width: 550px; font-family: var(--font-display); color: #fff; }
.dk5 .cs-stage > * { position: absolute; }
.dk5 .cs-stage button { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; }
.dk5-bg { left: 0; top: 0; right: 0; bottom: 0; background: #06224a var(--art-dk_bg) center top / cover no-repeat; }
.dk5-hero { left: 22px; top: 118px; width: 506px; height: 253px; background: var(--art-dk_hero) center / contain no-repeat; pointer-events: none; }
.dk5.review .dk5-hero { display: none; }
/* the header: back, the logo, coins and stars, the coach's corner */
.dk5-sq { display: grid; place-items: center; border-radius: 12px !important; background: linear-gradient(180deg, #125390, #06305a 50%, #02172d) !important; border: 3px solid #00d9ff !important;
  box-shadow: 0 0 0 2px #03182f, 0 0 12px rgba(0, 217, 255, 0.45), inset 0 2px 0 rgba(213, 255, 255, 0.35) !important; }
.dk5-sq img, .dk5-sq svg { width: 62%; height: 62%; object-fit: contain; pointer-events: none; }
.dk5-ic { display: block; color: #fff; filter: drop-shadow(0 2px 0 #01101f); }
.dk5-sq:active { transform: translateY(2px); }
.dk5-back { left: 20px; top: 70px; width: 57px; height: 57px; z-index: 5; }
.dk5-gear { left: 482px; top: 70px; width: 55px; height: 57px; z-index: 5; }
.dk5-gear .dk5-gearic { width: 70%; height: 70%; }
.dk5-logo { left: 96px; top: 66px; width: 144px; height: 90px; background: var(--art-dk_logo) center / contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); z-index: 4; pointer-events: none; }
.dk5-wallet { left: 247px; top: 80px; width: 228px; height: 38px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; z-index: 4;
  background: linear-gradient(180deg, rgba(18, 83, 144, 0.92), rgba(2, 23, 45, 0.95)); border: 2.5px solid #00d9ff; box-shadow: 0 0 10px rgba(0, 217, 255, 0.35); pointer-events: none; }
.dk5-wallet img { width: 25px; height: 25px; }
.dk5-wallet b { font: 800 22px/1 var(--font-display); letter-spacing: 0.01em; }
.dk5-wallet i { width: 2px; height: 22px; margin: 0 6px; background: rgba(0, 217, 255, 0.45); }
/* panels and titles */
.dk5-panel { box-sizing: border-box; border-radius: 18px; background: linear-gradient(180deg, rgba(18, 83, 144, 0.94), rgba(6, 48, 90, 0.96) 45%, rgba(2, 23, 45, 0.97));
  border: 3px solid #00d9ff; box-shadow: 0 0 0 2px #03182f, 0 0 16px rgba(0, 217, 255, 0.4), inset 0 2px 0 rgba(213, 255, 255, 0.35); }
.dk5-panel.in { background: linear-gradient(180deg, rgba(10, 60, 110, 0.9), rgba(3, 30, 60, 0.94)); border-width: 2.5px; }
.dk5-t, .dk5-t2 { margin: 0; text-align: center; font: 800 50px/1.1 var(--font-display); letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #9ff0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #03182f) drop-shadow(0 0 2px #03182f); }
.dk5-t.left { text-align: left; }
.dk5-t.sm { font-size: 33px; }
.dk5-t2 { font-size: 36px; }
.dk5-sub { margin: 0; text-align: center; font: 600 22px/1.2 var(--font-display); color: #c9f6ff; letter-spacing: 0.01em; }
/* the deck selector, + */
.dk5-sel { display: flex !important; align-items: center; justify-content: center; gap: 14px; border-radius: 12px !important; background: linear-gradient(180deg, #0c3c6e, #03182f) !important;
  border: 2.5px solid #00d9ff !important; box-shadow: 0 0 10px rgba(0, 217, 255, 0.35) !important; }
.dk5-sel b { font: 700 26px/1 var(--font-display); }
.dk5-sel svg { width: 22px; height: 18px; color: #fff; }
.dk5-add svg { width: 60% !important; height: 60% !important; }
.dk5-menu { z-index: 20; display: flex; flex-direction: column; gap: 4px; padding: 6px; box-sizing: border-box; border-radius: 12px; background: linear-gradient(180deg, #0c3c6e, #031a33);
  border: 2.5px solid #00d9ff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 217, 255, 0.35); }
.dk5-menu button { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px !important; padding: 0 10px !important; border-radius: 8px !important;
  font: 700 22px/1 var(--font-display) !important; text-align: left; }
.dk5-menu button.on { background: rgba(0, 217, 255, 0.18) !important; }
.dk5-menu button img { width: 20px; height: 20px; }
.dk5-menu.flt button { justify-content: flex-start; font-size: 20px !important; }
.dk5-box2 { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 2px solid #9eeaff; background: #03182f; }
.dk5-box2 img { width: 18px !important; height: 18px !important; }
/* a card: the painting in its 3:4 window under the pack's frame, the name on the strip, the cost in the hex, the slot in the ring */
.dk5-at { position: absolute; }
.dk5-card { position: relative; display: block; aspect-ratio: 264 / 388; }
.dk5-card:active { transform: translateY(2px); }
.dk5-art { position: absolute; left: 4.545%; top: 3.093%; width: 90.91%; height: 82.474%; overflow: hidden; background: #0b2a50; }
.dk5-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk5-art img.fig { object-fit: contain; }
.dk5-fr { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.dk5-card.st-selected .dk5-fr { filter: drop-shadow(0 0 calc(var(--cw) * 0.06px) rgba(0, 234, 255, 0.9)); }
.dk5-card.st-incoming .dk5-fr { filter: drop-shadow(0 0 calc(var(--cw) * 0.06px) rgba(255, 220, 82, 0.9)); }
.dk5-card.st-disabled .dk5-art img { filter: grayscale(0.85) brightness(0.55); }
.dk5-nm { position: absolute; left: 5.3%; top: 87.1%; width: 89.4%; height: 8.25%; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap;
  font: 800 calc(var(--cw) * 0.14px) / 1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.dk5-nm.sm { font-size: calc(var(--cw) * 0.118px); }
.dk5-nm.xs { font-size: calc(var(--cw) * 0.098px); letter-spacing: 0; }
.dk5-card:has(.dk5-slot) .dk5-nm { left: 22%; width: 73%; }
.dk5-cost { position: absolute; right: -3%; top: -2.5%; width: 31%; aspect-ratio: 1; display: grid; place-items: center; background: url("assets/ui5/badge_energy.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 calc(var(--cw) * 0.04px) rgba(9, 223, 255, 0.8)); }
.dk5-cost b { font: 800 calc(var(--cw) * 0.19px) / 1 var(--font-display); color: #fff; text-shadow: 0 2px 0 #03182f; }
.dk5-slot { position: absolute; left: -3%; top: 84%; width: 30%; aspect-ratio: 1; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #0f4f8a, #031a33 70%); border: calc(var(--cw) * 0.03px) solid #16d8ff; box-shadow: 0 0 calc(var(--cw) * 0.05px) rgba(0, 217, 255, 0.8);
  font: 800 calc(var(--cw) * 0.17px) / 1 var(--font-display); color: #fff; }
.dk5-lock { position: absolute; left: 33%; top: 30%; width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(3, 24, 47, 0.85); border: 2px solid #9eeaff; }
.dk5-lock img { width: 60%; height: 60%; }
.dk5-lockcap { position: absolute; left: 8%; right: 8%; top: 66%; padding: 3px 4px; border-radius: 6px; background: rgba(3, 24, 47, 0.88); text-align: center; white-space: nowrap; overflow: hidden;
  font: 700 calc(var(--cw) * 0.085px) / 1.1 var(--font-display); color: #ffe07a; }
.dk5-lockcap svg { width: 1em; height: 1em; vertical-align: -0.12em; }
.dk5-in { position: absolute; left: 6%; top: 4%; padding: 3px 6px; border-radius: 6px; background: rgba(3, 24, 47, 0.88); border: 1.5px solid #00d9ff; font: 700 calc(var(--cw) * 0.09px) / 1 var(--font-display); }
/* the average energy */
.dk5-avg { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 28px/1 var(--font-display); color: #3ff0ff; }
.dk5-avg b { font-size: 32px; font-weight: 800; color: #eaffff; }
.dk5-avg em { font-style: normal; font-size: 32px; font-weight: 800; color: #3ff0ff; }
.dk5-arr2 { display: inline-grid; width: 36px; height: 26px; color: #3ff0ff; font-style: normal; }
.dk5-arr2 svg { width: 100%; height: 100%; }
.dk5-pill .dk5-arr2 { width: 40px; height: 28px; }
.dk5-bolt { display: inline-grid; width: 24px; height: 32px; color: #3ff0ff; filter: drop-shadow(0 0 6px rgba(63, 240, 255, 0.8)); }
.dk5-bolt svg { width: 100%; height: 100%; }
/* the collection: search, filter, tabs, three cards a page */
.dk5-search { display: flex; align-items: center; gap: 8px; box-sizing: border-box; padding: 0 10px; border-radius: 12px; background: linear-gradient(180deg, #0c3c6e, #03182f); border: 2.5px solid #00d9ff; box-shadow: 0 0 10px rgba(0, 217, 255, 0.3); }
.dk5-search svg { width: 26px; height: 26px; flex: 0 0 auto; color: #fff; }
.dk5-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: #fff; font: 600 21px/1 var(--font-display); -webkit-appearance: none; appearance: none; }
.dk5-search input::placeholder { color: #a8d8ea; }
.dk5-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dk5-flt.on { border-color: #ffdc52 !important; }
.dk5-tabs { display: flex; gap: 5px; }
.dk5-tab { flex: 1 1 0; display: flex !important; align-items: center; justify-content: center; gap: 7px; border-radius: 10px !important; background: linear-gradient(180deg, #0a3563, #031a33) !important;
  border: 2px solid #1f8fd0 !important; font: 800 21px/1 var(--font-display) !important; letter-spacing: 0.02em; text-transform: uppercase; color: #eaf6ff !important; }
.dk5-tab img { width: 28px; height: 28px; }
.dk5-tab.on { background: linear-gradient(180deg, #8fffff, #19d6f0 55%, #00bada) !important; border-color: #d4fbff !important; color: #04213d !important; box-shadow: 0 0 14px rgba(0, 234, 255, 0.7) !important; }
.dk5-tab.on img { filter: brightness(0.15); }
.dk5-tabs.five { gap: 4px; } .dk5-tabs.five .dk5-tab { gap: 4px; font-size: 16px !important; letter-spacing: 0; } .dk5-tabs.five .dk5-tab img { width: 22px; height: 22px; }
.dk5-coll { left: 0; top: 0; width: 0; height: 0; }
.dk5-coll > * { position: absolute; }
.dk5-none { margin: 0; text-align: center; font: 600 22px/1.3 var(--font-display); color: #c9f6ff; }
.dk5-arr { width: 28px; height: 56px; display: grid; place-items: center; color: #3ff0ff; filter: drop-shadow(0 0 6px rgba(63, 240, 255, 0.8)); }
.dk5-arr svg { width: 26px; height: 44px; }
.dk5-arr.next svg { transform: scaleX(-1); }
.dk5-arr:disabled { opacity: 0.25; cursor: default; }
.dk5-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.dk5-dots img { width: 20px; height: 20px; }
.dk5-dots b { margin-left: 14px; font: 700 26px/1 var(--font-display); color: #d6f7ff; }
/* buttons */
.dk5-btn { display: grid !important; place-items: center; border-radius: 16px !important; font: 800 36px/1 var(--font-display) !important; letter-spacing: 0.02em; text-transform: uppercase; color: #fff !important; text-shadow: 0 2px 0 rgba(90, 0, 10, 0.6); }
.dk5-btn.coral { background: linear-gradient(180deg, #ff9d93 0%, #ff6665 25%, #d82f42 100%) !important; border: 3px solid #ffbca8 !important; box-shadow: 0 5px 0 #7d0f1e, 0 0 16px rgba(255, 70, 80, 0.5) !important; }
.dk5-btn.navy { background: linear-gradient(180deg, #125390, #06305a 50%, #02172d) !important; border: 3px solid #9eeaff !important; box-shadow: 0 5px 0 #01101f, 0 0 12px rgba(0, 217, 255, 0.35) !important; text-shadow: 0 2px 0 #01101f; }
.dk5-btn.big { font-size: 46px !important; }
.dk5-btn:active { transform: translateY(3px); }
.dk5-btn.off { filter: saturate(0.55) brightness(0.85); }
/* Review your change */
.dk5-box { box-sizing: border-box; border-radius: 16px; border: 2.5px solid #7fb6e0; background: linear-gradient(180deg, rgba(40, 90, 140, 0.55), rgba(3, 24, 47, 0.7)); }
.dk5-box.in { border-color: #ffdc52; background: linear-gradient(180deg, rgba(160, 120, 20, 0.55), rgba(40, 30, 5, 0.35) 18%, rgba(3, 24, 47, 0.7) 22%); box-shadow: 0 0 16px rgba(255, 220, 82, 0.4); }
.dk5-box b { display: block; margin-top: 8px; text-align: center; font: 800 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.dk5-arrows { width: 60px; height: 100px; margin-left: -6px; display: grid; place-items: center; color: #3ff0ff; filter: drop-shadow(0 0 8px rgba(63, 240, 255, 0.9)); }
.dk5-arrows svg { width: 72px; height: 88px; }
.dk5-pill { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(12, 60, 110, 0.9), rgba(3, 24, 47, 0.95)); border: 2.5px solid #00d9ff;
  font: 700 30px/1 var(--font-display); color: #d6f7ff; }
.dk5-pill b { font-size: 38px; color: #fff; }
.dk5-pill i { font-style: normal; font-size: 32px; color: #3ff0ff; }
.dk5-pill em { font-style: normal; font-size: 38px; font-weight: 800; color: #3ff0ff; }
/* a card's details */
.dk5-modal { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(0, 11, 29, 0.82); }
.dk5-modal[hidden] { display: none; }
.dk5-dlg { position: relative; width: 470px; box-sizing: border-box; padding: 22px 20px 20px; border-radius: 20px; transform: scale(var(--k, 0.709)); transform-origin: 50% 50%;
  background: linear-gradient(180deg, #0c4a7b, #03192f); border: 3px solid #00d9ff; box-shadow: 0 0 24px rgba(0, 217, 255, 0.45); font-family: var(--font-display); color: #fff; }
.dk5-dlg button { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; }
.dk5-x { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; }
.dk5-dtop { display: flex; gap: 16px; align-items: flex-start; }
.dk5-dcard { flex: 0 0 170px; }
.dk5-did { flex: 1; min-width: 0; padding-top: 44px; }
.dk5-did h3 { margin: 8px 0 4px; font: 800 36px/1.05 var(--font-display); text-transform: uppercase; }
.dk5-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dk5-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; font: 700 18px/1 var(--font-display); text-transform: uppercase; background: rgba(0, 217, 255, 0.15); border: 1.5px solid #00d9ff; }
.dk5-chip svg { width: 16px; height: 16px; }
.dk5-chip.r-rare { border-color: #58b4ff; } .dk5-chip.r-epic { border-color: #c77dff; color: #e8cfff; } .dk5-chip.r-legend { border-color: #ffdc52; color: #ffe89a; }
.dk5-who { margin: 2px 0 6px; font: 600 19px/1.25 var(--font-display); color: #c9f6ff; }
.dk5-who b { color: #fff; }
.dk5-dcost { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font: 700 22px/1 var(--font-display); color: #c9f6ff; }
.dk5-dcost b { font-size: 30px; color: #3ff0ff; }
.dk5-effect { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(18, 83, 144, 0.7), rgba(2, 23, 45, 0.85)); border: 2px solid #00d9ff; }
.dk5-effect h4 { margin: 0 0 6px; font: 800 24px/1 var(--font-display); text-transform: uppercase; color: #3ff0ff; }
.dk5-effect p { margin: 0; font: 600 21px/1.3 var(--font-display); color: #eaf6ff; }
.dk5-stats { margin-top: 10px; display: grid; gap: 6px; }
.dk5-stat { display: grid; grid-template-columns: 96px 1fr 36px; align-items: center; gap: 8px; }
.dk5-stat small { font: 700 18px/1 var(--font-display); color: #c9f6ff; }
.dk5-sbar { height: 10px; border-radius: 5px; background: #031a33; border: 1px solid #1f8fd0; overflow: hidden; }
.dk5-sbar i { display: block; height: 100%; background: linear-gradient(90deg, #00bada, #8fffff); }
.dk5-stat b { font: 800 20px/1 var(--font-display); text-align: right; }
.dk5-dlock, .dk5-din { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font: 600 19px/1.25 var(--font-display); background: rgba(3, 24, 47, 0.8); border: 1.5px solid #1f8fd0; }
.dk5-dlock img, .dk5-din img { width: 28px; height: 28px; flex: 0 0 auto; }
.dk5-dlock b { display: block; color: #ffe07a; font-size: 21px; }
.dk5-dbtns { display: flex; gap: 12px; margin-top: 16px; }
.dk5-dbtns .dk5-btn { flex: 1; height: 58px; font-size: 28px !important; }

/* ---- v5's Match Deck (clash.js deckPage5, 1 Oct 2026): the owner's pack (art to add/v5 complete pack/02_Match_Deck, cut
   as mk_*) in its layout.json's 1080 x 2340 pixels; the cards are the v5 frames (.v5c, screens4.css) at 192 x 256 */
.mk5 .cs-stage { width: 1080px; font-family: var(--font-ui); color: #fff; background: #061433; }
.mk5 .cs-stage > * { position: absolute; }
.mk5 .cs-stage button { min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mk5 .mk-i { position: absolute; display: block; pointer-events: none; }
.mk5 .mk-t { position: absolute; white-space: nowrap; font-weight: 800; line-height: 1; pointer-events: none; }
.mk5 .mk-h1 { letter-spacing: 0.04em; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.mk5 .mk-avgc { color: #9bdffc; letter-spacing: 0.1em; }
.mk5 .mk-h2 { color: #f5fbff; letter-spacing: 0.03em; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }
.mk5 .mk-cnt { color: #9cd9f6; }
.mk5 .mk-note { color: #a9cde8; font-weight: 600; }
.mk5 .mk-help { color: #8dbee0; letter-spacing: 0.08em; font-weight: 700; }
.mk5 .mk-kot { color: #482c00; letter-spacing: 0.06em; padding-left: 22px; box-sizing: border-box; }   /* (right of the badge's ball) */
.mk5 .mk-ko { z-index: 2; }
.mk5 .mk-sub { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; border-radius: 999px; font: 800 italic 17px/1 var(--font-display); letter-spacing: 0.08em; color: #3b2400; background: linear-gradient(180deg, #ffe89a, #ffc83d); border: 2px solid #fff1c2; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); pointer-events: none; }
.mk5 .mk-kot { z-index: 3; }
.mk5 .mk-card { transition: transform 0.12s ease; }
.mk5 .mk-card:active { transform: scale(0.97); }
.mk5 .mk-card.sm { transform: scale(var(--s, 0.75)); transform-origin: 0 0; }   /* (4 Nov 2026: the squad and the collection five a row, smaller, so phones scroll less) */
.mk5 .mk-card.sm:active { transform: scale(calc(var(--s, 0.75) * 0.97)); }
.mk5 .mk-card.sel .v5-sel { opacity: 1; }
.mk5 .mk-card.locked .v5c { filter: saturate(0.3) brightness(0.55); }
.mk5 .mk-card .mk-lock { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.mk5 .mk-card.indeck .v5c { opacity: 0.5; }
.mk5 .mk-card .mk-in { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 7px 12px; border-radius: 99px; background: #0b2c52; border: 2px solid #7dd3ff;
  font: 800 18px/1 var(--font-ui); letter-spacing: 0.06em; color: #bfe6ff; white-space: nowrap; }
.mk5 .mk-slot:active { transform: scale(0.97); }
.mk5 .mk-flt b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 26px/1 var(--font-ui); letter-spacing: 0.04em; color: #fff; }
.mk5 .mk-flt.on b { color: #092a54; }
.mk5 .mk-coll { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mk5 .mk-coll::-webkit-scrollbar { display: none; }
.mk5 .mk-collin { position: relative; }
.mk5 .mk-collin > .mk-card { position: absolute; }
.mk5 .mk-save .dn { opacity: 0; }
.mk5 .mk-save:active .dn { opacity: 1; }
.mk5 .mk-save:active .up { opacity: 0; }
.mk5 .mk-save b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 6px; font: 800 39px/1 var(--font-ui); letter-spacing: 0.05em; color: #3b2400; }
.mk5 .mk-save:not(.dirty) { filter: saturate(0.35) brightness(0.8); }
.mk5 .mk-dim { z-index: 20; background: rgba(2, 8, 20, 0.62); }
.mk5 .mk-sheet { z-index: 21; }
.mk5 .mk-sheet > * { position: absolute; }
.mk5 .mk-x { font: 700 70px/1 var(--font-ui) !important; color: #bfe6ff !important; }
.mk5 .mk-big { transform: scale(1.96875); transform-origin: 0 0; }   /* (the 192 x 256 card drawn at the sheet's 378 x 504) */
.mk5 .mk-row { display: flex; align-items: center; box-sizing: border-box; padding: 0 22px; font: 600 27px/1.15 var(--font-ui); color: #e6f2ff; overflow: hidden; }
.mk5 .mk-row.r0 { gap: 14px; font: 800 36px/1 var(--font-ui); color: #fff; white-space: nowrap; }
.mk5 .mk-row.r0 small { font-size: 21px; color: #9cd9f6; letter-spacing: 0.05em; }
.mk5 .mk-row b { margin-right: 8px; color: #ffe08a; font-weight: 800; }
.mk5 .mk-actw { display: flex; align-items: center; justify-content: center; }
.mk5 .mk-actw .mk-act { height: 70px; padding: 0 20px; border-radius: 18px; background: linear-gradient(#ffe27a, #f2a91d); color: #3b2400; font: 800 23px/1 var(--font-ui); letter-spacing: 0.04em; box-shadow: 0 4px 0 #a86a00; white-space: nowrap; }
