/* GMS 65 sprites sourced via MapleStory.Wiki / maplestory.io. */
.balrog-flight{position:absolute;left:34%;top:15%;width:140px;z-index:2;pointer-events:none;animation:balrog-flight 12s ease-in-out infinite}.balrog-flight img{display:block;width:100%;height:auto;filter:drop-shadow(0 7px 9px #24414d25)}
@keyframes balrog-flight{0%,100%{transform:translate(0,0) rotate(-3deg)}50%{transform:translate(50px,22px) rotate(3deg)}}
.topbar .brand{position:relative;z-index:1;flex-shrink:0;white-space:nowrap;display:flex;align-items:center;gap:9px;padding:12px 18px;border:1px solid #fff7dc;border-radius:15px;background:linear-gradient(135deg,#fffdf4f5,#f5f5dce8);box-shadow:0 5px 22px #234b3c25;color:#214c35;text-shadow:0 1px 0 #fff;font-weight:800;letter-spacing:2px}.topbar .brand .maple{color:#b9762e}.topbar .brand small{color:#6e835e;letter-spacing:1px}
.monster-trail{position:absolute;left:8%;bottom:17%;z-index:2;display:flex;align-items:flex-end;gap:17px;padding:0 22px 14px;pointer-events:none;isolation:isolate}
.monster-trail:after{content:'';position:absolute;inset:auto -8px 0;height:23px;border-radius:50%;background:radial-gradient(ellipse,#4a703fbb,#71865144 58%,transparent 73%);z-index:-1}
.monster-trail img{width:auto;height:auto;image-rendering:pixelated;filter:drop-shadow(0 4px 2px #28452e50)}
.monster-trail .mob-mushroom{width:94px}.monster-trail .mob-slime{width:89px}.monster-trail .mob-snail{width:54px}.monster-trail .mob-pig{width:100px}
.monster-row{grid-template-columns:1.1fr repeat(4,1fr);gap:12px;padding:26px}.monster{position:relative;min-width:0;flex-direction:column;justify-content:center;gap:12px;padding:20px 8px 16px;background:linear-gradient(160deg,#fffdf4,#edf3e6);border-color:#dfe8d1;transition:transform .2s,box-shadow .2s}.monster:hover{transform:translateY(-4px);box-shadow:0 8px 22px #44633b15}.monster:nth-child(3){background:linear-gradient(160deg,#fcfff1,#e4f3da)}.monster:nth-child(4){background:linear-gradient(160deg,#f7fcff,#e6f0f4)}.monster:nth-child(5){background:linear-gradient(160deg,#fffaf7,#f6e9e4)}
.classic-sprite{height:92px;display:flex;align-items:center;justify-content:center;width:100%}.classic-sprite img{width:auto;height:auto;max-height:88px;max-width:110px;image-rendering:pixelated;filter:drop-shadow(0 5px 2px #44613b25);transition:transform .2s}.classic-sprite .mob-mushroom{width:94px}.classic-sprite .mob-slime{width:96px}.classic-sprite .mob-snail{width:64px}.classic-sprite .mob-pig{width:105px}.monster:hover img{transform:translateY(-3px)}.companion-caption{text-align:center;align-items:center}.companion-caption strong{font-size:13px}.companion-caption small{font-size:10px;line-height:1.6}.monster-intro p{color:#8b9c80}
.sprite-credit{font-size:9px;color:#8d9b80}.sprite-credit a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.monster-row{grid-template-columns:repeat(4,1fr)}.monster-intro{grid-column:1/-1}.monster-intro p{margin-bottom:3px}.monster-trail{left:4%;gap:12px}}
@media(max-width:650px){.monster-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px 16px;gap:10px}.monster{flex-direction:row;gap:7px;padding:16px 8px}.classic-sprite{width:65px;height:66px;flex-shrink:0}.classic-sprite img{max-width:65px;max-height:61px}.classic-sprite .mob-snail{width:43px}.companion-caption strong{font-size:12px}.companion-caption small{font-size:9px}.monster-trail{left:50%;transform:translateX(-50%);bottom:15%;gap:14px;padding:0 12px 10px}.monster-trail .mob-mushroom{width:68px}.monster-trail .mob-slime{width:64px}.monster-trail .mob-snail{width:39px}.monster-trail .mob-pig{width:72px}}
@media(prefers-reduced-motion:reduce){.monster,.classic-sprite img{transition:none}.monster:hover,.monster:hover img{transform:none}}
/* Preserve full sprite frames with stable boxes; avoid uneven pixel scaling. */
.monster-trail img,.classic-sprite img{image-rendering:auto;object-fit:contain;flex-shrink:0}.monster-trail{min-height:95px}.classic-sprite picture{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.monster-trail .mob-mushroom,.classic-sprite .mob-mushroom{width:94.5px}.monster-trail .mob-slime,.classic-sprite .mob-slime{width:106.5px}.monster-trail .mob-snail,.classic-sprite .mob-snail{width:66px}.monster-trail .mob-pig,.classic-sprite .mob-pig{width:103.5px}
@media(max-width:1050px){.topbar{gap:16px}.topbar .brand{padding:10px 13px}.topbar nav{gap:20px}}
@media(max-width:650px){.topbar{flex-wrap:wrap;gap:10px;padding:14px 16px}.topbar .brand{font-size:24px;padding:9px 17px}.topbar nav{font-size:10px;padding:0 15px}.balrog-flight{width:84px;left:12%;top:22%;animation-duration:15s}.monster-trail .mob-mushroom{width:63px}.monster-trail .mob-slime{width:71px}.monster-trail .mob-snail{width:44px}.monster-trail .mob-pig{width:69px}.classic-sprite img{max-height:61px;max-width:65px}}
@media(prefers-reduced-motion:reduce){.balrog-flight{animation:none}}

.panel-title .section-heading-title{font:inherit;color:inherit;letter-spacing:inherit;margin:0 auto 0 0}
