/* Footer-only styles also work on pages that do not load the shared theme. */
.pdcaStoreFooter {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 980px);
  margin: 34px auto 28px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(216, 164, 82, .3);
  border-radius: 24px;
  background: radial-gradient(circle at 8% 0%, #d8a45229, transparent 38%), #111923;
  color: #f4f7fb;
  font-family: "Pretendard", "Malgun Gothic", system-ui, sans-serif;
  box-shadow: 0 12px 30px #0004;
}
.pdcaStoreFooter > div { min-width: 0; }
.pdcaStoreFooter .pdcaStoreFooterLogoFrame {
  box-sizing: border-box;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  background: #f7f7f2;
  overflow: hidden;
}
.pdcaStoreFooter .pdcaStoreFooterLogo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  padding: 0;
  background: transparent;
}
.pdcaStoreFooter .pdcaStoreFooterKicker { margin: 0 0 5px; color: #5de08c; font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.pdcaStoreFooter .pdcaStoreFooterTitle { margin: 0 0 6px; color: #f4f7fb; font-size: 22px; font-weight: 900; letter-spacing: -.045em; line-height: 1.3; }
.pdcaStoreFooter .pdcaStoreFooterNote { margin: 0; color: #b9c1cb; font-size: 14px; font-weight: 700; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.pdcaStoreFooter .pdcaStoreFooterLink {
  box-sizing: border-box;
  min-width: 190px;
  min-height: 54px;
  margin: 0;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #12d86d, #03c75a);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 14px 28px #03c75a38;
}
.pdcaStoreFooter .pdcaStoreFooterLink::after { content: "↗"; margin-left: 7px; font-size: 17px; line-height: 1; }
.pdcaStoreFooter .pdcaStoreFooterLink:focus-visible, .pdcaPartnerBar a:focus-visible { outline: 3px solid #efb758; outline-offset: 4px; }
.pdcaHolinkFooter { border-color: #4a9ad875; background: radial-gradient(circle at 8% 0%, #4a9ad838, transparent 38%), #111923; }
.pdcaHolinkFooter .pdcaStoreFooterLogoFrame { background: #f8fbff; }
.pdcaHolinkFooter .pdcaStoreFooterKicker { color: #55b8ed; }
.pdcaHolinkFooter .pdcaStoreFooterLink { background: linear-gradient(135deg, #55b8ed, #365aae); box-shadow: 0 14px 28px #365aae47; }
/* Leave the last link above the training ranking's fixed navigation. */
body:has(.bottom-bar) > .pdcaHolinkFooter { margin-bottom: calc(100px + env(safe-area-inset-bottom)); }
body[data-partner-footer="compact"] > .editorApp,
body[data-partner-footer="compact"] > .accessGate { height: calc(100% - 48px); }
.pdcaPartnerBar { box-sizing: border-box; height: 48px; display: flex; align-items: center; justify-content: center; gap: 24px; border-top: 1px solid #344252; background: #111923; font: 700 13px/1.5 "Malgun Gothic", system-ui, sans-serif; }
.pdcaPartnerBar a { display: inline-flex; align-items: center; min-height: 44px; color: #7beaab; text-decoration: none; }
.pdcaPartnerBar a + a { color: #80c9f2; }
@media (max-width: 760px) {
  .pdcaStoreFooter { width: calc(100% - 32px); grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .pdcaStoreFooter .pdcaStoreFooterLink { grid-column: 1 / -1; width: 100%; min-width: 0; }
}
@media (max-width: 440px) {
  .pdcaStoreFooter { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .pdcaStoreFooter .pdcaStoreFooterLogoFrame { width: 150px; min-height: 76px; }
}
