/* Only the choices in the seven technique grades use this card layout. */
body.pm-layout-ready .pm-technique-column .pm-technique-card {
  --pm-skill-title-font: HYSinMyeongJo, "Batang", serif;
  --pm-skill-body-font: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --pm-skill-cost-font: 500 14px/1 var(--pm-skill-title-font);
  --pm-skill-art-gap: 15px;
  --pm-skill-effect-gap: 20px;
}

body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card.pm-decorative-frame {
  --pm-choice-inset: 15px;
  padding-block: var(--pm-choice-inset) !important;
}
body.pm-layout-ready .pm-technique-column .pm-technique-card > .d-column > img {
  display: block;
  width: 92% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  margin: 0 auto !important;
}

body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: var(--pm-skill-art-gap) 4% 0;
  min-width: 0;
}
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > h3 {
  grid-area: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  color: #f4dfbb !important;
  font: 700 26px/1.12 var(--pm-skill-title-font) !important;
  text-align: center !important;
  text-shadow: none;
  text-box-trim: none;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* Paint the title with one ink color all the way to the edge of each glyph. */
@media screen and (forced-colors: none) {
  @supports (background-clip: text) and (-webkit-text-fill-color: transparent) {
    body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > h3 {
      background-color: currentColor;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > .row:has(.pm-focus-cost) {
  grid-area: auto;
  justify-content: center;
  margin: -1px 0 var(--pm-skill-effect-gap) !important;
  padding: 0;
}
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card .pm-focus-cost {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline !important;
  justify-content: center;
  gap: 0;
  min-width: 0;
  white-space: nowrap;
  text-box-trim: none;
}
body.pm-layout-ready .pm-technique-column .pm-technique-card.pm-compact-choice .pm-focus-cost::before {
  margin-right: 4px;
  color: #c2aa79;
  font: var(--pm-skill-cost-font);
}
body.pm-layout-ready .pm-technique-column .pm-technique-card.pm-compact-choice .pm-focus-cost::after {
  color: #ead0a2;
  font: var(--pm-skill-cost-font);
}
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > :is(h3, .row)::after,
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > :is(p, .pm-coin-technique-content)::before,
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-choice-condition-end::after,
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-coin-count {
  display: none !important;
}
/* This span contains the source break between a prerequisite and its effect. */
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-choice-condition-divider {
  display: block;
  height: 0;
  margin: 6px 0 0;
  border: 0;
  background: none;
}

body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card > .d-column > .w-100 > :is(p:not(.pm-coin-source), .pm-coin-technique-content) {
  grid-column: 1;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  color: #ded7c9 !important;
  font: 400 16px/1.4 var(--pm-skill-body-font) !important;
  text-align: left !important;
  word-break: normal;
  overflow-wrap: anywhere;
}
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-coin-hit {
  margin: 0;
}
/* Align the top of the coin with the ink of its first line of text. */
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card .pm-coin-hit > .pm-coin-number {
  margin-top: .2em !important;
}
body.pm-layout-ready .pm-technique-column .pm-compact-choice.pm-technique-card .pm-coin-technique-content > .pm-coin-paragraph:first-child {
  padding-top: 0 !important;
}
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-coin-hit + .pm-coin-hit,
body.pm-layout-ready .pm-technique-column .pm-technique-card .pm-coin-paragraph + .pm-coin-hits {
  margin-top: 10px;
}
