/* APK install flow (x-apk-button, home .apk-hero, user/partials/apk-sheets). Everything is
   prefixed .apk- so no other section changes. Tokens below come from the design brief. */
:root {
  --apk-bg: #410028;
  --apk-card: rgba(255, 255, 255, .07);
  --apk-line: rgba(255, 255, 255, .16);
  --apk-gold: #F5B83D;
  --apk-gold-hover: #FFD27A;
  --apk-on-gold: #2A0019;
  --apk-text: #FFFFFF;
  --apk-text-2: rgba(255, 255, 255, .8);
  --apk-ok: #5EE08C;
  --apk-head: 'Outfit', system-ui, sans-serif;
  --apk-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Button ---------- */
.apk-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-family: var(--apk-body); }
.apk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 14px; border: 2px solid transparent;
  font-family: var(--apk-head); font-weight: 700; text-decoration: none !important; line-height: 1.1;
  cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.apk-btn:focus-visible, .apk-link:focus-visible, .apk-acc__btn:focus-visible, .apk-sheet__close:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px;
}
.apk-btn--primary, .apk-btn--compact {
  background: var(--apk-gold); color: var(--apk-on-gold) !important;
}
.apk-btn--primary:hover, .apk-btn--compact:hover { background: var(--apk-gold-hover); color: var(--apk-on-gold) !important; }
.apk-btn--primary:active, .apk-btn--compact:active { transform: translateY(1px); }
.apk-btn--primary {
  width: 100%; height: 58px; font-size: 18px; box-shadow: 0 8px 24px rgba(245, 184, 61, .30);
}
.apk-btn--compact { height: 44px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
.apk-btn--outline {
  width: 100%; min-height: 52px; background: transparent; color: var(--apk-gold) !important;
  border-color: var(--apk-gold); font-size: 16px;
}
.apk-btn--outline:hover { background: rgba(245, 184, 61, .1); color: var(--apk-gold-hover) !important; }
.apk-ico { flex: 0 0 auto; }
.apk-cta--primary { width: 100%; max-width: 420px; }
.apk-cta--center { align-items: center; margin-left: auto; margin-right: auto; }
.apk-cta--center .apk-trust { justify-content: center; }
@media (min-width: 768px) { .apk-cta--primary { width: auto; min-width: 320px; } }

.apk-trust {
  display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.4;
  color: var(--apk-text-2) !important; font-family: var(--apk-body); text-align: left;
}
.apk-trust .apk-ico { color: var(--apk-ok); }

/* iPhone / iPad: no dead clicks — the button becomes a calm note (html.apk-ios set in <head>). */
.apk-ios-note { display: none; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; border-radius: 14px;
  background: var(--apk-card); border: 1px solid var(--apk-line); color: var(--apk-text) !important; font-size: 14px; font-weight: 500; }
.apk-ios .apk-btn[data-apk-btn], .apk-ios .apk-trust, .apk-ios .apk-qr { display: none !important; }
.apk-ios .apk-ios-note { display: flex; }
.apk-ios .sticky-cta-bar { display: none !important; }
.apk-ios body { padding-bottom: 0 !important; }

/* Desktop: QR code next to the first primary button */
.apk-qr { display: none; }
.apk-qr.is-ready { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 12px; border-radius: 12px;
  background: var(--apk-card); border: 1px solid var(--apk-line); color: var(--apk-text-2); font-size: 13px; }
.apk-qr canvas, .apk-qr img { width: 96px; height: 96px; background: #fff; padding: 6px; border-radius: 8px; }

/* ---------- Home hero ---------- */
.apk-hero { background: var(--apk-bg); color: var(--apk-text); font-family: var(--apk-body); padding: 22px 16px 28px; }
.apk-hero__wrap { max-width: 1140px; margin: 0 auto; display: grid; gap: 18px; }
.apk-hero__eyebrow { margin: 0; color: var(--apk-gold) !important; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.apk-hero h1.apk-hero__h1 { margin: 0; font-family: var(--apk-head); font-weight: 800; font-size: 32px; line-height: 1.12; color: var(--apk-text);
  background: none; -webkit-text-fill-color: currentColor; }
.apk-hero__tag { margin: 0; font-family: var(--apk-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--apk-text) !important; }
.apk-hero__sub { margin: 0; font-size: 15px; line-height: 1.55; color: var(--apk-text-2) !important; text-align: left !important; }
.apk-hero__actions { display: grid; gap: 14px; justify-items: start; }
.apk-hero__actions .apk-cta--primary, .apk-hero__actions .apk-btn--outline { max-width: 420px; }
.apk-hero__text { display: grid; gap: 10px; }
.apk-hero__shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--apk-line); background: var(--apk-card); }
.apk-hero__shot img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: center 42%; }
.apk-dots { display: inline-block; vertical-align: -0.2em; }
.apk-hero__play { color: var(--apk-text) !important; }
.apk-steps-strip { display: flex; align-items: center; justify-content: space-between; gap: 6px; list-style: none; margin: 0; padding: 14px 14px;
  border-radius: 16px; background: var(--apk-card); border: 1px solid var(--apk-line); }
.apk-steps-strip li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--apk-text); }
.apk-steps-strip .apk-num { width: 24px; height: 24px; font-size: 13px; }
.apk-steps-strip .apk-arrow { color: var(--apk-text-2); flex: 0 0 auto; }
.apk-hero__caption { margin: -8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--apk-text-2) !important; text-align: left !important; }
.apk-hero__explore { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--apk-gold) !important; font-weight: 600; font-size: 15px; }
.apk-hero__explore:hover { color: var(--apk-gold-hover) !important; text-decoration: underline !important; }
@media (min-width: 900px) {
  .apk-hero { padding: 48px 24px 52px; }
  .apk-hero__wrap { grid-template-columns: 1.05fr .95fr; align-items: center; column-gap: 48px; }
  .apk-hero__wrap { row-gap: 22px; }
  .apk-hero__text { grid-column: 1; grid-row: 1; gap: 14px; align-self: end; }
  .apk-hero__actions { grid-column: 1; grid-row: 2; align-self: start; }
  .apk-hero__shot { grid-column: 2; grid-row: 1 / span 2; }
  .apk-hero h1.apk-hero__h1 { font-size: 44px; }
  .apk-hero__shot img { height: 520px; object-position: center 35%; }
}

/* ---------- Sheets ---------- */
.apk-num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--apk-gold); color: var(--apk-on-gold); font-family: var(--apk-head); font-weight: 800; font-size: 15px; }
.apk-lock { overflow: hidden !important; }
.apk-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(10, 0, 6, .6); font-family: var(--apk-body); }
.apk-sheet[hidden] { display: none; }
.apk-sheet__panel { position: relative; width: 100%; max-width: 560px; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--apk-bg); color: var(--apk-text); padding: 22px 18px 28px; outline: none;
  animation: apk-up .28s ease-out; }
.apk-sheet--small .apk-sheet__panel { height: auto; border-radius: 16px 16px 0 0; }
@media (min-width: 600px) {
  .apk-sheet { align-items: center; padding: 24px; }
  .apk-sheet__panel { height: auto; max-height: calc(100vh - 48px); border-radius: 16px; border: 1px solid var(--apk-line); }
}
@keyframes apk-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .apk-sheet__panel, .apk-progress span { animation: none !important; } }
.apk-sheet__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--apk-card); color: var(--apk-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.apk-sheet__close:hover { background: rgba(255, 255, 255, .14); }
.apk-sheet p { color: inherit; text-align: left; }
.apk-h2 { margin: 0 52px 6px 0; font-family: var(--apk-head); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--apk-text) !important; }
.apk-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--apk-text-2) !important; }

.apk-status { margin: 4px 52px 22px 0; padding: 14px 16px; border-radius: 16px; background: var(--apk-card); border: 1px solid var(--apk-line); }
.apk-status__row { display: flex; align-items: center; gap: 10px; }
.apk-status__ok { color: var(--apk-ok); display: inline-flex; }
.apk-status__title { margin: 0; font-family: var(--apk-head); font-weight: 700; font-size: 17px; }
.apk-status__file { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 10px; font-size: 13px; color: var(--apk-text-2); word-break: break-all; }
.apk-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.apk-progress span { display: block; width: 40%; height: 100%; border-radius: 4px; background: var(--apk-gold); animation: apk-bar 1.4s ease-in-out infinite; }
@keyframes apk-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.apk-progress.is-live span { width: var(--apk-p, 0%); animation: none; transform: none; transition: width .25s linear; }
.apk-progress.is-done span { width: 100%; background: var(--apk-ok); }
.apk-status__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--apk-text-2) !important; }
.apk-status__save { min-height: 40px; padding: 0; margin-top: 4px; }

.apk-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.apk-step { padding: 14px; border-radius: 16px; background: var(--apk-card); border: 1px solid var(--apk-line); }
.apk-step__head { display: flex; align-items: center; gap: 10px; }
.apk-step h3 { margin: 0; font-family: var(--apk-head); font-weight: 700; font-size: 17px; color: var(--apk-text) !important; }
.apk-step__help { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--apk-text-2) !important; }

/* "Download complete? Open the file" card (A) + Open Downloads button (B) */
.apk-done { display: grid; gap: 12px; margin: 0 0 22px; padding: 16px; border-radius: 16px; background: rgba(245, 184, 61, .10);
  border: 1px solid rgba(245, 184, 61, .55); animation: apk-up .28s ease-out; }
.apk-done[hidden] { display: none; }
.apk-done__title { margin: 0; font-family: var(--apk-head); font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--apk-text) !important; }
.apk-done .apk-step__help { margin: 0; }
.apk-done__caption { margin: 4px 0 -4px; font-size: 12.5px; color: var(--apk-text-2) !important; }
.apk-ways { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--apk-text-2); }
.apk-ways b { color: var(--apk-text); }
.apk-done .apk-link { justify-self: start; padding: 0; }
.apk-done__fallback { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--apk-text-2) !important; }
.apk-mock--bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; }
.apk-mock__file { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: #1f1f1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apk-mock__open { flex: 0 0 auto; padding: 6px 14px; border-radius: 18px; font-size: 14px; font-weight: 600; color: #0b57d0; }

/* White mock of the Android prompt; the thing to tap is outlined in gold. */
.apk-mock { background: #fff; color: #1f1f1f; border-radius: 12px; padding: 14px; font-family: Roboto, var(--apk-body); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.apk-mock p { color: #1f1f1f !important; margin: 0; }
.apk-mock__text { font-size: 14px; line-height: 1.45; }
.apk-mock__actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.apk-mock__actions span { padding: 7px 12px; border-radius: 18px; font-size: 13.5px; font-weight: 600; color: #0b57d0; border: 2px solid transparent; }
.apk-mock__hit { border: 2px solid var(--apk-gold) !important; box-shadow: 0 0 0 3px rgba(245, 184, 61, .3); }
.apk-mock__setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.apk-mock__label { font-size: 14.5px; font-weight: 500; }
.apk-mock__sub { font-size: 12.5px; color: #5f6368 !important; }
.apk-toggle { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #0b57d0; flex: 0 0 auto; }
.apk-toggle span { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

.apk-info { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--apk-line); margin-bottom: 20px; }
.apk-info svg { flex: 0 0 auto; color: var(--apk-gold); margin-top: 1px; }
.apk-info p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--apk-text-2) !important; }

.apk-sheet__foot { display: grid; gap: 10px; justify-items: center; }
.apk-sheet__foot .apk-btn { width: 100%; }
.apk-link { min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--apk-gold) !important; font-family: var(--apk-body);
  font-weight: 600; font-size: 14.5px; text-decoration: underline !important; cursor: pointer; display: inline-flex; align-items: center; }
.apk-fallback { margin: 12px 0 0; font-size: 13.5px; color: var(--apk-text-2) !important; text-align: center !important; }

.apk-acc { display: grid; gap: 10px; margin-bottom: 20px; }
.apk-acc__item { border-radius: 16px; background: var(--apk-card); border: 1px solid var(--apk-line); overflow: hidden; }
.apk-acc__btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: none; border: 0; color: var(--apk-text); font-family: var(--apk-head); font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; }
.apk-acc__chev { flex: 0 0 auto; transition: transform .2s ease; }
.apk-acc__btn[aria-expanded="true"] .apk-acc__chev { transform: rotate(180deg); }
.apk-acc__panel { padding: 0 16px 14px; }
.apk-acc__panel p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--apk-text-2) !important; }

/* Sticky mobile bar: the compact button */
.sticky-cta-bar .apk-cta--compact { flex: 0 0 auto; }

/* ---------- Home sections added from the demo design (2026-10-27): .hs-* only ---------- */
.hs-section { padding: 36px 16px; font-family: var(--apk-body); color: var(--apk-text); }
.hs-section--last { padding-bottom: 48px; }
.hs-wrap { max-width: 1140px; margin: 0 auto; }
.hs-eyebrow { display: inline-block; margin-bottom: 6px; color: var(--apk-gold); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hs-section h2 { margin: 0 0 8px; font-family: var(--apk-head); font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--apk-text); }
.hs-section p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--apk-text-2); text-align: left !important; }
.hs-head { margin-bottom: 20px; }
.hs-hl { color: var(--apk-gold); }
.hs-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px;
  border: 2px solid var(--apk-gold); color: var(--apk-gold) !important; font-family: var(--apk-head); font-weight: 700; font-size: 15px; }
.hs-btn-outline:hover { background: rgba(245, 184, 61, .1); color: var(--apk-gold-hover) !important; }
.hs-btn-outline:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.hs-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--apk-card); border: 1px solid var(--apk-line); }
.hs-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(245, 184, 61, .14); color: var(--apk-gold); }
.hs-step h3 { margin: 0 0 4px; font-family: var(--apk-head); font-weight: 700; font-size: 18px; color: var(--apk-text); }
.hs-n { margin-right: 8px; color: var(--apk-gold); }
.hs-step p { font-size: 14px; }
@media (min-width: 640px) { .hs-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .hs-steps { grid-template-columns: repeat(4, 1fr); } .hs-step { flex-direction: column; } }

.hs-rg { display: grid; gap: 18px; padding: 22px; border-radius: 16px; background: var(--apk-card); border: 1px solid rgba(34, 197, 94, .45); }
.hs-rg__18 { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid #ef4444; color: #fff; font-family: var(--apk-head); font-weight: 800; font-size: 22px; }
.hs-rg__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.hs-rg__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--apk-text); }
.hs-rg__list svg { flex: 0 0 auto; color: var(--apk-ok); }
@media (min-width: 992px) {
  .hs-rg { grid-template-columns: auto 1.4fr auto 1fr; align-items: center; column-gap: 28px; padding: 28px 32px; }
}

.hs-cta { display: grid; gap: 24px; padding: 26px 22px; border-radius: 16px; border: 1px solid rgba(245, 184, 61, .45);
  background: linear-gradient(135deg, rgba(245, 184, 61, .16), rgba(255, 255, 255, .05)); }
.hs-cta__text p { margin-bottom: 18px; }
.hs-cta__actions { display: grid; gap: 12px; justify-items: start; }
.hs-cta__actions .hs-btn-outline { width: 100%; max-width: 420px; }
.hs-cta__cards { display: flex; justify-content: center; }
.hs-cta__cards img { width: 34%; max-width: 150px; height: auto; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.hs-cta__cards img:nth-child(1) { transform: rotate(-8deg) translateX(14px); }
.hs-cta__cards img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-10px); }
.hs-cta__cards img:nth-child(3) { transform: rotate(8deg) translateX(-14px); }
@media (min-width: 900px) {
  .hs-cta { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 36px 40px; }
  .hs-section h2 { font-size: 34px; }
  .hs-cta__actions { grid-auto-flow: column; justify-content: start; align-items: start; }
  .hs-cta__actions .hs-btn-outline { width: auto; height: 58px; }
}

/* ---------- Home "Popular Games" grid restyle (2026-10-27): same markup/content, scoped to .pg-section ---------- */
.pg-section { padding: 36px 0 28px !important; font-family: var(--apk-body); }
.pg-section h3.text-light { font-family: var(--apk-head); font-weight: 800 !important; font-size: 28px; color: var(--apk-text) !important; margin: 0 0 4px !important; }
.pg-section hr { height: 3px; width: 64px; margin: 10px 0 22px; border: 0; opacity: 1; border-radius: 3px; background: var(--apk-gold); }
.pg-section .row.row-cols-2 { --bs-gutter-x: 14px; --bs-gutter-y: 14px; }
.pg-section .col > a { display: block; height: 100%; border-radius: 16px; text-decoration: none !important; }
.pg-section .col > a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pg-section .custom-card {
  padding: 0 !important; overflow: hidden; border-radius: 16px !important;
  background: var(--apk-card) !important; border: 1px solid var(--apk-line) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pg-section .col > a:hover .custom-card { transform: translateY(-4px); border-color: rgba(245, 184, 61, .6) !important; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.pg-section .custom-card > img {
  display: block; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important;
  aspect-ratio: 300 / 291; object-fit: cover; background: rgba(0, 0, 0, .2);
}
.pg-section .custom-card .popular-game-info {
  display: flex; flex-direction: column; flex: 1 1 auto; gap: 2px;
  margin: 0 !important; padding: 12px 12px 14px !important; border-radius: 0 !important; background: transparent !important;
}
.pg-section .popular-game-info h3 { font-family: var(--apk-head); font-weight: 700 !important; font-size: 16px !important; color: var(--apk-text) !important; margin: 0 !important; }
.pg-section .popular-game-info small {
  align-self: flex-start; margin: 4px 0 12px !important; padding: 2px 9px; border-radius: 999px; opacity: 1 !important;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--apk-gold) !important; background: rgba(245, 184, 61, .12);
}
.pg-section .popular-game-info .btn-warning {
  margin-top: auto; width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: var(--apk-gold) !important; color: var(--apk-on-gold) !important;
  font-family: var(--apk-head); font-weight: 700 !important; font-size: 14.5px;
}
.pg-section .col > a:hover .btn-warning { background: var(--apk-gold-hover) !important; }
@media (min-width: 768px) { .pg-section .row.row-cols-2 { --bs-gutter-x: 18px; --bs-gutter-y: 18px; } .pg-section h3.text-light { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { .pg-section .custom-card { transition: none; } }

/* ---------- Same game-card look on every other game grid (2026-10-27): /games, "Related Games",
   partials/games-grid. CSS only — matches only image cards (a > .card.bg-dark:has(img.card-img-top)),
   so text cards (blog, guides) are untouched. Browsers without :has() keep the old look. ---------- */
a > .card.bg-dark.text-white:has(> img.card-img-top) {
  overflow: hidden; border-radius: 16px !important; font-family: var(--apk-body);
  background: var(--apk-card) !important; border: 1px solid var(--apk-line) !important; box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a:hover > .card.bg-dark.text-white:has(> img.card-img-top) {
  transform: translateY(-4px); border-color: rgba(245, 184, 61, .6) !important; box-shadow: 0 12px 28px rgba(0, 0, 0, .35) !important;
}
a:focus-visible > .card.bg-dark.text-white:has(> img.card-img-top) { outline: 3px solid #fff; outline-offset: 3px; }
a > .card.bg-dark.text-white:has(> img.card-img-top) > img.card-img-top {
  display: block; width: 100%; height: auto; aspect-ratio: 300 / 291 !important; object-fit: cover; border-radius: 0 !important;
  background: rgba(0, 0, 0, .2);
}
a > .card.bg-dark.text-white:has(> img.card-img-top) > .card-body {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 12px 14px !important; text-align: left !important;
}
a > .card.bg-dark.text-white:has(> img.card-img-top) h3 {
  font-family: var(--apk-head); font-weight: 700 !important; font-size: 16px !important; line-height: 1.25 !important; color: var(--apk-text) !important; margin: 0 !important;
}
a > .card.bg-dark.text-white:has(> img.card-img-top) small {
  margin: 4px 0 10px !important; padding: 2px 9px; border-radius: 999px; opacity: 1 !important;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--apk-gold) !important; background: rgba(245, 184, 61, .12);
}
a > .card.bg-dark.text-white:has(> img.card-img-top) .btn-warning {
  margin-top: auto; align-self: stretch !important; width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: var(--apk-gold) !important; color: var(--apk-on-gold) !important;
  font-family: var(--apk-head); font-weight: 700 !important; font-size: 14.5px;
}
a:hover > .card.bg-dark.text-white:has(> img.card-img-top) .btn-warning { background: var(--apk-gold-hover) !important; }
@media (prefers-reduced-motion: reduce) { a > .card.bg-dark.text-white:has(> img.card-img-top) { transition: none; } }
