/* Shared game entrances use the approved character artwork and native appearance. */
html:root body.rm-m2 .rm-card-entry {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:24px;
  margin-top:56px;
  margin-bottom:56px;
  padding-top:0;
  scroll-margin-top:170px;
}
html:root body.rm-m2 .rm-card-entry-heading {
  grid-column:1/-1;
  margin:0;
  padding-bottom:64px;
}
html:root body.rm-m2 .rm-card-entry-heading h2 {color:var(--rm-ui-ink)}
html:root body.rm-m2 .rm-card-entry-heading .rm-eyebrow {color:var(--rm-ui-muted)}
html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  min-width:0;
  min-height:122px;
  gap:18px;
  padding:25px 28px;
  border:2px solid var(--rm-surface-edge);
  border-radius:var(--rm-radius-feature);
  background:var(--rm-surface-card);
  color:var(--rm-ui-ink);
  text-decoration:none;
  box-shadow:none;
  transition:border-color .18s ease,background-color .18s ease;
}
html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile:visited {
  color:var(--rm-ui-ink);
}
html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile:is(:hover,:focus-visible) {
  color:var(--rm-ui-ink);
  border-color:var(--rm-action);
  text-decoration:none;
}
html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile:focus-visible {
  outline:3px solid var(--rm-ui-focus)!important;
  outline-offset:5px!important;
  box-shadow:0 0 0 3px var(--rm-ui-focus-gap)!important;
}
/* The whole link owns focus. Its decorative and text spans are not controls. */
html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile > span {
  outline:none!important;
  box-shadow:none!important;
}
html:root body.rm-m2 .rm-card-entry-copy {
  display:grid;
  align-content:start;
  gap:7px;
  min-width:0;
}
html:root body.rm-m2 .rm-card-entry-copy strong {
  color:var(--rm-ui-ink);
  font-size:24px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:-.025em;
}
html:root body.rm-m2 .rm-card-entry-copy small {
  color:var(--rm-ui-muted);
  font-size:15px;
  font-weight:500;
  line-height:1.5;
}
html:root body.rm-m2 .rm-card-entry-arrow {
  display:grid;
  place-items:center;
  color:var(--rm-ui-muted);
  width:24px;
  height:24px;
}
html:root body.rm-m2 .rm-card-entry-arrow svg {width:22px;height:22px}
html:root body.rm-m2 .rm-card-entry-art {
  position:absolute;
  display:block;
  z-index:1;
  right:36px;
  bottom:calc(100% - 5px);
  width:144px;
  height:80px;
  pointer-events:none;
  user-select:none;
}
html:root body.rm-m2 .rm-card-entry-onepiece .rm-card-entry-art {
  right:29px;
  bottom:calc(100% - 25px);
  width:132px;
  height:108px;
}
html:root body.rm-m2 .rm-card-entry-art img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
}
@media (min-width:601px) and (max-width:900px) {
  html:root body.rm-m2 .rm-card-entry {gap:18px}
  html:root body.rm-m2 .rm-card-entry-heading {padding-bottom:62px}
  html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile {padding:23px 21px;gap:14px}
  html:root body.rm-m2 .rm-card-entry-copy strong {font-size:22px}
  html:root body.rm-m2 .rm-card-entry-copy small {font-size:14px}
  html:root body.rm-m2 .rm-card-entry-pokemon .rm-card-entry-art {right:24px;width:132px;height:74px}
  html:root body.rm-m2 .rm-card-entry-onepiece .rm-card-entry-art {right:22px;width:120px;height:100px}
}
@media (max-width:600px) {
  html:root body.rm-m2 .rm-card-entry {gap:12px;padding-top:0;margin-top:30px;margin-bottom:36px;scroll-margin-top:190px}
  html:root body.rm-m2 .rm-card-entry-heading {padding-bottom:8px}
  html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile {
    grid-template-rows:80px auto;
    align-items:start;
    min-height:0;
    padding:14px 12px 16px;
    gap:12px 6px;
  }
  html:root body.rm-m2 .rm-card-entry .rm-card-entry-art {
    position:static;
    grid-column:1/-1;
    grid-row:1;
    justify-self:end;
    align-self:end;
    width:min(100%,120px);
    height:80px;
  }
  html:root body.rm-m2 .rm-card-entry-onepiece .rm-card-entry-art {width:min(100%,96px)}
  html:root body.rm-m2 .rm-card-entry-copy {grid-column:1;grid-row:2}
  html:root body.rm-m2 .rm-card-entry-copy strong {font-size:16px;line-height:1.4;overflow-wrap:normal;word-break:normal}
  html:root body.rm-m2 .rm-card-entry-copy small {display:none}
  html:root body.rm-m2 .rm-card-entry-arrow {grid-column:2;grid-row:2;align-self:center;width:18px;height:22px}
  html:root body.rm-m2 .rm-card-entry-arrow svg {width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce) {
  html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile {transition:none}
}
@media (forced-colors:active) {
  html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile {border-color:LinkText;color:LinkText}
  html:root body.rm-m2 .rm-card-entry > a.rm-card-entry-tile:focus-visible {outline-color:Highlight!important}
}
