/* Original console drawings within the approved era compositions. */
.rm-pocket-illustration,.rm-ds-illustration{width:100%;max-width:400px;margin:auto;text-align:center}
.rm-pocket-illustration .rm-era-screen-caption,.rm-ds-illustration .rm-era-screen-caption{margin-bottom:12px}
.rm-pocket-device,.rm-ds-device{position:relative;margin:0 auto}
.rm-pocket-device{width:240px;max-width:100%}
.rm-ds-device{width:360px;max-width:100%}
.rm-m2 .rm-hardware-outline{display:block;width:100%;height:auto;margin:0;filter:drop-shadow(0 9px 9px #29233220)}
.rm-pocket-lcd{position:absolute;left:23.888889%;top:17.905405%;width:52.222222%;height:28.581081%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#30442c;background:#bdcf80;overflow:hidden}
.rm-pocket-lcd>.rm-icon{width:30px;height:30px}
.rm-pocket-lcd strong{font-family:'RM Pixel',monospace;font-size:10px;line-height:1.7;letter-spacing:-.3px}
.rm-hardware-systems{display:flex;justify-content:center;gap:10px;margin:15px auto 0;max-width:360px}
.rm-m2 .rm-hardware-systems a{display:grid;grid-template-columns:minmax(0,1fr) 17px;gap:4px 8px;align-items:center;text-align:left;flex:1;min-width:0;min-height:56px;padding:10px 12px;border:1px solid #9a99ac;border-radius:5px;background:#ffffff55;font-size:12px!important;font-weight:650;line-height:1.4;color:inherit!important;text-decoration:none!important}
.rm-hardware-systems a span{overflow-wrap:anywhere}
.rm-hardware-systems a small{font-size:11px;font-weight:450;grid-column:1}
.rm-hardware-systems a>.rm-icon{width:17px;height:17px;grid-column:2;grid-row:1/3}
.rm-hardware-systems a:hover{background:#ffffffa6}
.rm-hardware-total{font-size:9px;letter-spacing:.8px;margin-top:13px}
.rm-m2 .rm-ds-feature{display:block;color:inherit!important;text-decoration:none!important}
.rm-ds-upper,.rm-ds-lower{position:absolute;left:27.067669%;width:45.864662%;height:30.912162%;display:flex;align-items:center;justify-content:center;background:#fff9fd;overflow:hidden}
.rm-ds-upper{top:8.918919%;padding:7px}
.rm-ds-lower{top:59.121622%;flex-direction:column;gap:12px;color:#6d3f6c;background:#f4e9f7}
.rm-m2 .rm-ds-upper img{width:100%;height:100%;object-fit:contain;float:none;margin:0;transform:none}
.rm-m2 .rm-ds-upper p{font-size:12px;line-height:1.5}
.rm-ds-lower>.rm-icon{width:28px;height:28px}
.rm-ds-lower span{font-family:'RM Pixel',monospace;font-size:8px;line-height:1.8;letter-spacing:0}
.rm-hardware-product-name{display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:650;line-height:1.4;margin:10px auto 0;max-width:360px;overflow-wrap:anywhere}
.rm-hardware-product-name>.rm-icon{width:17px;height:17px;flex-shrink:0}
.rm-ds-feature:hover .rm-hardware-product-name{text-decoration:underline}
.rm-journey-dual .rm-hardware-systems a{background:#edd9f4;border-color:#bd95bd}
.rm-journey-dual .rm-hardware-systems a:hover{background:#f5e8fa}
.rm-wii-composition{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px) minmax(0,1fr);align-items:center;gap:15px}
.rm-wii-composition .rm-modern-channel{width:100%}
.rm-m2 .rm-wii-console,.rm-m2 .rm-wii-remote{display:block;width:100%;height:auto;max-height:250px;object-fit:contain;filter:drop-shadow(0 9px 6px #467d7624);margin:0}
.rm-m2 .rm-wii-console{max-width:100px;justify-self:end}
.rm-m2 .rm-wii-remote{max-width:48px;justify-self:start}
/* Render the supplied handwriting without changing the original image. */
.rm-artwork-credit{position:absolute;right:17px;bottom:10px;display:flex;align-items:center;flex-direction:column;gap:2px;width:100px;padding:3px 6px 5px;border-radius:5px;color:inherit;pointer-events:none}
.rm-m2 .rm-artwork-credit img{display:block;width:68px;height:41px;object-fit:contain;margin:0;mix-blend-mode:multiply}
.rm-artwork-credit small{font-family:'RM Sans',sans-serif;font-size:10px;font-weight:450;line-height:1.3;letter-spacing:0;white-space:nowrap;color:inherit}
.rm-journey.rm-has-artwork-credit .rm-era-note{max-width:calc(100% - 175px)}
@media(min-width:1101px){
 .rm-journey-handheld .rm-chapter-showcase{min-height:530.5px;display:flex;align-items:center}
 .rm-journey-dual .rm-chapter-showcase{min-height:523.7px;display:flex;align-items:center}
}
@media(min-width:801px) and (max-width:1100px){
 .rm-pocket-device{width:225px}.rm-ds-device{width:310px}
 .rm-wii-composition{grid-template-columns:40px minmax(0,1fr) 22px;gap:8px}
 .rm-wii-composition .rm-modern-channel{padding-left:12px;padding-right:12px}
 .rm-wii-composition .rm-chapter-product img{height:200px}
}
@media(max-width:800px){
 .rm-m2 .rm-journey.rm-has-artwork-credit{padding-bottom:75px}
 .rm-pocket-illustration,.rm-ds-illustration{max-width:360px}
 .rm-artwork-credit{right:12px;bottom:9px;width:95px}
 .rm-journey.rm-has-artwork-credit .rm-era-note{max-width:calc(100% - 142px);line-height:1.6}
 .rm-wii-composition{grid-template-columns:minmax(28px,1fr) minmax(0,290px) minmax(17px,1fr);gap:8px}
}
@media(max-width:480px){
 .rm-pocket-device{width:215px}.rm-ds-device{width:310px}
 .rm-pocket-illustration .rm-era-screen-caption,.rm-ds-illustration .rm-era-screen-caption{font-size:6px;line-height:1.8}
 .rm-hardware-systems{gap:7px;margin-top:13px}
 .rm-m2 .rm-hardware-systems a{padding:9px 8px;gap:3px 5px;font-size:11px!important;min-height:57px}
 .rm-hardware-systems a small{font-size:10px}
 .rm-ds-upper{padding:5px}.rm-ds-lower{gap:7px}.rm-ds-lower span{font-size:6px}.rm-ds-lower>.rm-icon{width:23px;height:23px}
 .rm-hardware-product-name{font-size:11px}
 .rm-wii-composition .rm-modern-channel{padding:26px 9px;border-radius:22px}
 .rm-wii-composition .rm-era-screen-caption{font-size:9px}
 .rm-wii-composition .rm-chapter-product img{height:180px}
 .rm-artwork-credit{width:90px;padding:2px 5px 4px}
 .rm-m2 .rm-artwork-credit img{width:57px;height:34px}
 .rm-artwork-credit small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.rm-hardware-outline,.rm-wii-console,.rm-wii-remote{transition:none;animation:none}}

.rm-journey-16bit .rm-artwork-credit img,.rm-journey-3d .rm-artwork-credit img,.rm-journey-8bit .rm-artwork-credit img{filter:invert(1) grayscale(1) brightness(3);mix-blend-mode:screen}
.rm-journey-8bit .rm-artwork-credit{color:#fff;text-shadow:0 1px 3px #163844}
