.mousekun-page{--mouse-green:#5bd041;--mouse-brown:#965c00;--mouse-rounded:"M PLUS Rounded 1c","Noto Sans JP",sans-serif}
.mouse-hero{height:min(calc(591 * var(--u)),calc(100svh - var(--header-height) - 42px));min-height:260px;overflow:hidden;background:#fff9e6}
.mouse-hero picture,.mouse-hero img{display:block;width:100%;height:100%}.mouse-hero img{object-fit:cover;object-position:center}
.mouse-profile{background:#fffde1;min-height:calc(668 * var(--u));padding:calc(184 * var(--u)) 0 calc(64 * var(--space-unit));font-family:var(--mouse-rounded)}
.mouse-profile-inner{width:86.666667%;margin:auto;position:relative}.mouse-profile-title{position:absolute;top:calc(-126 * var(--u));left:0;width:calc(590 * var(--u));max-width:65%;transform:translateY(-8%)}
.mouse-profile-title img{width:100%;height:auto}
.mouse-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) calc(419 * var(--space-unit)) minmax(0,1fr);gap:calc(40 * var(--space-unit));align-items:start}
.mouse-character{width:calc(300 * var(--u));max-width:100%;justify-self:center;text-align:center}.mouse-character-art{position:relative;isolation:isolate;width:100%;height:calc(270 * var(--u));display:flex;align-items:center;justify-content:center}
.mouse-character-art>img{height:100%;width:auto;max-width:75%;object-fit:contain}.mouse-circle{position:absolute;z-index:-1;border-radius:50%}.circle-pink{background:#fce0edb3;width:58%;aspect-ratio:1;top:-3%;left:15%}.circle-yellow{background:#fff1b1b3;width:37%;aspect-ratio:1;top:32%;right:0}.circle-green{background:#e1f3bcb3;width:41%;aspect-ratio:1;left:5%;top:43%}.circle-orange{background:#ffdbcbb3;width:32%;aspect-ratio:1;right:3%;top:23%}.circle-blue{background:#d8f5fab3;width:35%;aspect-ratio:1;right:10%;bottom:-1%}
.mouse-name{position:relative;display:flex;align-items:center;justify-content:center;min-height:calc(64 * var(--u));width:calc(250 * var(--u));max-width:100%;margin:calc(22 * var(--space-unit)) auto 0;background:#fff;border-radius:var(--corner-radius);color:#e88b33;font-size:calc(30 * var(--type-unit));font-weight:800;letter-spacing:.06em;white-space:nowrap}.mouse-name>img{position:absolute;width:calc(84 * var(--u));height:auto;pointer-events:none}.mouse-name>img:first-child{left:calc(-20 * var(--u));top:50%;transform:translateY(-50%)}.mouse-name>img:last-child{right:calc(-20 * var(--u));top:50%;transform:translateY(-50%)}
.mouse-facts{margin:0;display:grid;gap:calc(7 * var(--space-unit));font-size:calc(18 * var(--type-unit));font-weight:500;line-height:1.5;letter-spacing:.1em}.mouse-facts>div{display:grid;grid-template-columns:calc(79 * var(--space-unit)) minmax(0,1fr);overflow:hidden;border-radius:var(--corner-radius)}.mouse-facts dt{color:white;font-weight:800;display:grid;place-items:center;padding:calc(8 * var(--space-unit)) 8px}.mouse-facts dd{margin:0;padding:calc(8 * var(--space-unit)) calc(22 * var(--space-unit));display:flex;align-items:center;flex-wrap:wrap}.mouse-facts dd br{display:block;width:100%;content:""}.fact-age{background:#83d87833}.fact-age dt{background:#83d878}.fact-gender{background:#e5758d33}.fact-gender dt{background:#e5758d}.fact-personality{background:#f8913c33}.fact-personality dt{background:#f8913c}
.mouse-introduction{margin-top:calc(22 * var(--space-unit));font-size:calc(17 * var(--type-unit));font-weight:500;line-height:2.8;letter-spacing:.1em}.mouse-introduction p{border-bottom:3px dotted #ffaed5}.mouse-introduction p:nth-child(2){border-color:#ffd685}.mouse-introduction p:nth-child(3){border-color:#ffad95}.mouse-introduction p:nth-child(4){border-color:#ffa186}.mouse-introduction p:nth-child(5){border-color:#8de1fb;position:relative;padding-right:calc(35 * var(--space-unit))}.mouse-introduction p>img{position:absolute;right:0;bottom:1px;width:calc(40 * var(--u));height:auto}
.mouse-profile-sheet{position:relative;width:calc(291 * var(--space-unit));max-width:100%;justify-self:end;margin-top:calc(8 * var(--space-unit));transform:rotate(4deg)}.mouse-sheet-button{box-shadow:0 4px 4px #00000040}.mouse-profile-sheet img{width:100%;height:auto}.mouse-masking-tape{position:absolute;top:calc(-18 * var(--space-unit));left:calc(28 * var(--space-unit));width:calc(110 * var(--space-unit));height:calc(30 * var(--space-unit));background:#fde3ea99;transform:rotate(-17deg);pointer-events:none;z-index:1}
.mouse-downloads{position:relative;isolation:isolate;padding:calc(76 * var(--space-unit)) 0 calc(138 * var(--space-unit));background:#fff}.mouse-downloads:before{content:"";position:absolute;inset:0;z-index:-1;background:url("assets/mousekun/pattern.webp") center top/100% auto repeat-y;opacity:.4;pointer-events:none}.mouse-section-title{text-align:center;color:var(--mouse-brown);font-family:var(--mouse-rounded);font-size:calc(30 * var(--type-unit));font-weight:800;line-height:1.5;letter-spacing:.04em}
.mouse-coloring-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:calc(64 * var(--u));row-gap:calc(78 * var(--space-unit));width:calc(780 * var(--u));max-width:100%;margin:calc(48 * var(--space-unit)) auto 0}.mouse-image-button{display:block;padding:0;background:transparent;border:0;border-radius:var(--corner-radius);overflow:hidden;cursor:pointer;max-width:100%}.mouse-image-button img{transition:transform .5s;width:100%}.mouse-coloring-image,.mouse-wallpaper-image{width:100%;box-shadow:var(--surface-shadow)}.mouse-coloring-image img{aspect-ratio:842/595;object-fit:contain;background:#fff}.mouse-wallpaper-image img{aspect-ratio:16/9;object-fit:cover}
.mouse-download-button{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;height:calc(45 * var(--u));border:1px solid var(--mouse-green);border-radius:var(--corner-radius);background:var(--mouse-green);color:#fff;font-family:var(--font-ja);font-size:calc(16 * var(--u));font-weight:700;line-height:1.4;white-space:nowrap;padding:0 calc(32 * var(--u)) 0 calc(17 * var(--u));transition:color .2s,background .2s}.mouse-download-arrow{position:absolute;right:calc(15 * var(--u));width:calc(19 * var(--u));height:calc(19 * var(--u));min-width:12px;min-height:12px;border-radius:50%;background:#fff;color:var(--mouse-green);display:grid;place-items:center;transition:background .2s,color .2s}.mouse-download-arrow:after{content:"";width:4px;height:4px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:translateX(-1px) rotate(45deg)}.mouse-coloring-download{width:calc(290 * var(--u));max-width:100%;margin:calc(13 * var(--space-unit)) auto 0}
.mouse-wallpapers{padding-top:calc(108 * var(--space-unit))}.mouse-wallpaper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:calc(73 * var(--u));row-gap:calc(56 * var(--space-unit));width:calc(833 * var(--u));max-width:100%;margin:calc(72 * var(--space-unit)) auto 0}.mouse-wallpaper-buttons{display:grid;gap:calc(8 * var(--space-unit));width:calc(334 * var(--u));max-width:100%;margin:calc(23 * var(--space-unit)) auto 0}.mouse-wallpaper-buttons .mouse-download-button{height:calc(43 * var(--u))}
@media(min-width:768px) and (hover:hover){.mouse-image-button:hover img{transform:scale(1.035)}.mouse-download-button:hover{background:#fff;color:var(--mouse-green)}.mouse-download-button:hover .mouse-download-arrow{background:var(--mouse-green);color:#fff}}
.mouse-modal{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:50px 0 24px;border:0;background:transparent;overflow:auto;scrollbar-gutter:stable both-edges}.mouse-modal::backdrop{background:#000b}.mouse-modal-panel{margin:0 auto;border-radius:var(--corner-radius);overflow:hidden;width:max-content;will-change:transform}.mouse-modal-viewport{touch-action:none;cursor:grab;background:#fff}.mouse-modal-viewport.is-dragging{cursor:grabbing}.mouse-modal-viewport img{display:block;max-width:none;max-height:none;user-select:none;object-fit:contain}.mouse-modal-caption{background:#fff;padding:14px 20px;text-align:center;white-space:nowrap}.mouse-modal-close{position:fixed;right:24px;top:10px;z-index:2;width:40px;height:40px;color:#fff;background:transparent;font-size:36px;line-height:1;cursor:pointer}.mouse-modal-open{overflow:hidden}
@media(max-width:1100px) and (min-width:768px){.mouse-profile{padding-top:150px}.mouse-profile-title{top:-115px;max-width:70%}.mouse-profile-grid{grid-template-columns:minmax(180px,.7fr) minmax(0,1fr);gap:35px}.mouse-character{grid-row:1/3;width:230px}.mouse-character-art{height:260px}.mouse-name{width:210px;min-height:60px;font-size:24px}.mouse-profile-sheet{grid-column:2;justify-self:center;width:220px;margin-top:20px}.mouse-facts{font-size:16px}.mouse-introduction{font-size:15px}.mouse-name>img{width:65px}}
@media(max-width:767px){.mouse-hero{height:min(calc(100svh - 100px),calc(100vw * 1.5));min-height:300px}.mouse-hero img{object-position:center}.mouse-profile{padding:calc(110 * var(--space-unit)) 0 calc(60 * var(--space-unit))}.mouse-profile-inner{width:86.666667%}.mouse-profile-title{top:calc(-80 * var(--space-unit));left:50%;transform:translateX(-50%);max-width:none;width:min(100%,400px)}.mouse-profile-grid{grid-template-columns:minmax(0,1fr);gap:40px}.mouse-character{width:245px}.mouse-character-art{height:250px}.mouse-name{width:230px;min-height:60px;font-size:26px;margin-top:22px}.mouse-name>img{width:70px}.mouse-profile-copy{max-width:419px;width:100%;margin:auto}.mouse-facts{font-size:calc(16 * var(--type-unit));grid-template-columns:minmax(0,1fr)}.mouse-facts>div{grid-template-columns:70px minmax(0,1fr)}.mouse-facts dd{padding:8px 14px}.mouse-introduction{font-size:calc(14.5 * var(--type-unit));line-height:2.8;letter-spacing:.05em}.mouse-introduction p>img{width:36px}.mouse-profile-sheet{width:240px;justify-self:center;margin-top:8px}.mouse-downloads{padding:60px 0 80px}.mouse-downloads>.content-width{width:86.666667%}.mouse-downloads:before{background-size:auto 2200px}.mouse-section-title{font-size:calc(26 * var(--type-unit))}.mouse-coloring-grid,.mouse-wallpaper-grid{grid-template-columns:minmax(0,1fr);width:100%;max-width:380px;row-gap:48px;column-gap:0;margin-top:35px}.mouse-download-button{height:43px;font-size:calc(14 * var(--type-unit));padding:0 32px 0 14px}.mouse-download-arrow{width:18px;height:18px;right:14px}.mouse-coloring-download{width:290px;margin-top:13px}.mouse-wallpapers{padding-top:72px}.mouse-wallpaper-buttons{width:334px;gap:8px;margin-top:20px}.mouse-wallpaper-buttons .mouse-download-button{height:43px}.mouse-modal-close{display:none}.mouse-modal{overflow-x:clip}.mouse-modal-panel{position:relative;left:50%;margin:0;transform:translateX(-50%)}.mouse-modal-caption{font-size:12px}}
.mouse-modal{overflow-x:hidden}@media(max-width:767px){.mouse-wallpaper-buttons .mouse-download-button:first-child{display:none}.mouse-modal{overflow-x:clip}}

/* User refinements: whole-sheet hover, roomy emoji and direct-download buttons. */
.mouse-profile-sheet{transition:transform .5s}
.mouse-sheet-button{overflow:visible}
.mouse-facts dt{border-radius:var(--corner-radius)}
.mouse-introduction p>img{width:4.117647em;max-width:none;bottom:0}
.mouse-introduction p:last-child{padding-right:4.3em}
.mouse-coloring-download{border-radius:24px}
.mouse-wallpaper-buttons .mouse-download-button{border-radius:21px;justify-content:flex-start;padding-left:calc(26 * var(--u))}
@media(min-width:768px){.mouse-profile-sheet{transform:translateX(calc(-18 * var(--space-unit))) rotate(4deg)}}
@media(min-width:768px) and (hover:hover){.mouse-profile-sheet:has(.mouse-sheet-button:hover){transform:translateX(calc(-18 * var(--space-unit))) rotate(4deg) scale(1.04)}.mouse-sheet-button:hover img{transform:none}}
@media(max-width:767px){.mouse-wallpaper-buttons .mouse-download-button{padding-left:26px}}
@media(max-width:359px){.mouse-wallpaper-buttons .mouse-download-button{font-size:12px}}

/* Preserve source artwork proportions and the page-specific corner choices. */
@media(min-width:768px){.mouse-hero{height:calc(591 * var(--u));aspect-ratio:auto;min-height:0;max-height:none}.mouse-hero picture{height:100%}.mouse-hero img{object-fit:contain}}
.mouse-sheet-button{overflow:hidden;border-radius:var(--corner-radius)}.mouse-sheet-button img{border-radius:var(--corner-radius)}
.mouse-coloring-image,.mouse-coloring-image img{border-radius:0}
.mouse-modal[data-image-kind="coloring"] .mouse-modal-panel,.mouse-modal[data-image-kind="wallpaper"] .mouse-modal-panel{border-radius:0}
@media(min-width:768px){.mouse-profile-sheet{transform:translateX(calc(-32 * var(--space-unit))) rotate(4deg)}}
@media(min-width:768px) and (hover:hover){.mouse-profile-sheet:has(.mouse-sheet-button:hover){transform:translateX(calc(-32 * var(--space-unit))) rotate(4deg) scale(1.04)}}
.mouse-introduction p:last-child{white-space:nowrap}.mouse-cheer-copy{white-space:nowrap}.mouse-introduction p>img{width:auto;height:calc(2.8em - 5 * var(--type-unit))}
.mouse-coloring-download{justify-content:flex-start;padding-left:calc(28 * var(--u))}
.mouse-wallpaper-buttons .mouse-download-button{padding-left:calc(20 * var(--u))}
.mouse-facts>div{border-radius:15px;background:transparent;overflow:visible}.mouse-facts dt,.mouse-facts dd{border-radius:15px}.fact-age dd{background:#83d87833}.fact-gender dd{background:#e5758d33}.fact-personality dd{background:#f8913c33}
.mouse-download-button[aria-busy="true"]{cursor:wait}.mouse-download-status{font-size:13px;line-height:1.7;color:#a33244;margin-top:12px}
@media(max-width:767px){.mouse-coloring-download{padding-left:28px}.mouse-wallpaper-buttons .mouse-download-button{padding-left:20px}}

/* PC refinements and the supplied phone layout. */
.mouse-introduction-sp,.mouse-profile-arc{display:none}
.mouse-facts dt{position:relative;z-index:1}
.mouse-facts dd{margin-left:-15px;padding-left:calc(22 * var(--space-unit) + 15px);border-radius:0 15px 15px 0;position:relative;z-index:0}
.mouse-introduction img{object-fit:contain;aspect-ratio:auto;min-height:0;max-height:none}
@media(min-width:768px){.mouse-profile-sheet{width:calc(314.28 * var(--space-unit));transform:translateX(calc(-44 * var(--space-unit))) rotate(4deg)}.mouse-wallpaper-buttons{width:calc(334 * var(--u) + 8px)}}
@media(min-width:768px) and (hover:hover){.mouse-profile-sheet:has(.mouse-sheet-button:hover){transform:translateX(calc(-44 * var(--space-unit))) rotate(4deg) scale(1.04)}}
@media(max-width:767px){
.mousekun-page #main{overflow-x:clip}
.mouse-hero{height:calc(100svh - var(--header-height) - 122 * var(--space-unit));min-height:0}
.mouse-hero img{object-fit:cover;object-position:center}
.mouse-profile{position:relative;isolation:isolate;padding:calc(128 * var(--space-unit)) 0 calc(100 * var(--space-unit))}
.mouse-profile:before{content:"";position:absolute;left:-10%;top:calc(-42 * var(--space-unit));width:120%;height:calc(84 * var(--space-unit));border-radius:50% 50% 0 0/100% 100% 0 0;background:#fffde1;z-index:0;pointer-events:none}
.mouse-profile-inner{position:relative;z-index:1;width:86.666667%}
.mouse-profile-title{top:calc(-210 * var(--space-unit));left:50%;width:100vw;max-width:none;transform:translateX(-50%);z-index:2}
.mouse-profile-title>picture{display:none}.mouse-profile-arc{display:block;width:100%;height:auto;overflow:hidden}
.mouse-profile-grid{display:flex;flex-direction:column;gap:0;align-items:stretch}
.mouse-character{width:calc(291 * var(--space-unit));max-width:100%;margin:auto}
.mouse-character-art{height:calc(217 * var(--space-unit));width:100%}
.mouse-name{width:calc(291 * var(--space-unit));max-width:100%;height:calc(64 * var(--space-unit));min-height:0;margin-top:calc(22 * var(--space-unit));font-size:calc(28 * var(--type-unit));border-radius:50%}
.mouse-profile-copy{max-width:none;margin:calc(73 * var(--space-unit)) 0 0}
.mouse-facts{font-size:calc(17 * var(--type-unit));line-height:1.5;letter-spacing:.1em;gap:calc(8 * var(--space-unit))}
.mouse-facts>div{grid-template-columns:calc(79 * var(--space-unit)) minmax(0,1fr);min-height:calc(48 * var(--space-unit))}
.mouse-facts>.fact-personality{min-height:calc(80 * var(--space-unit))}
.mouse-facts dd{padding-left:calc(14 * var(--space-unit) + 15px);padding-right:calc(12 * var(--space-unit))}
.mouse-introduction-desktop{display:none}.mouse-introduction-sp{display:block;margin-top:calc(86 * var(--space-unit));font-size:calc(16 * var(--type-unit));letter-spacing:.1em;text-align:center}
.mouse-introduction-sp p{height:calc(42 * var(--space-unit));min-height:0;line-height:1.5;display:flex;align-items:center;justify-content:center;white-space:nowrap;border-bottom-width:3px}
.mouse-introduction-sp p>span{white-space:nowrap;flex-shrink:0}
.mouse-introduction-sp p:last-child{padding-right:0;gap:calc(6 * var(--space-unit));border-color:#8de1fb}
.mouse-introduction-sp p:last-child>img{position:static;flex-shrink:0;right:auto;bottom:auto;max-width:none}
.mouse-profile-sheet{width:81.111111vw;max-width:100%;margin:calc(62 * var(--space-unit)) auto 0;transform:none}
.mouse-masking-tape{left:calc(28 * var(--space-unit));top:calc(-18 * var(--space-unit))}
.mouse-downloads{padding:calc(76 * var(--space-unit)) 0 calc(138 * var(--space-unit))}
.mouse-downloads:before{background-image:url("assets/mousekun/pattern-sp.webp");background-size:100% auto;opacity:.4}
.mouse-section-title{font-size:calc(30 * var(--type-unit))}
.mouse-coloring-grid{width:100%;max-width:none;row-gap:calc(92 * var(--space-unit));margin-top:calc(48 * var(--space-unit))}
.mouse-coloring-download{width:calc(307 * var(--space-unit));height:calc(48 * var(--space-unit));font-size:calc(14.5 * var(--type-unit));margin-top:calc(13 * var(--space-unit))}
.mouse-wallpapers{padding-top:calc(108 * var(--space-unit))}
.mouse-wallpaper-grid{width:100%;max-width:none;row-gap:calc(77 * var(--space-unit));margin-top:calc(72 * var(--space-unit))}
.mouse-wallpaper-image{width:calc(200 * var(--space-unit));margin-inline:auto}
.mouse-wallpaper-image picture{display:block}.mouse-wallpaper-image img{aspect-ratio:9/16;object-fit:contain}
.mouse-wallpaper-buttons{width:calc(307 * var(--space-unit));margin-top:calc(22 * var(--space-unit))}
.mouse-wallpaper-buttons .mouse-download-button{height:calc(48 * var(--space-unit));font-size:calc(14.5 * var(--type-unit));padding-left:20px}
}
@media(max-width:359px){.mouse-wallpaper-buttons .mouse-download-button{font-size:12px}}

/* Supplied character and complete nameplate artwork. */
.mouse-character-art>img{width:100%;height:100%;max-width:none;object-fit:contain}
.mouse-name{display:block;width:calc(296 * var(--u));height:auto;min-height:0;max-width:100%;background:none;border-radius:0}
.mouse-name>picture,.mouse-name>picture>img{display:block;position:static;width:100%;height:auto;transform:none}
.mouse-name>span{position:absolute;left:50%;top:59%;transform:translate(-50%,-50%);white-space:nowrap}
.mouse-profile-curve{display:none}
@media(max-width:767px){
.mouse-hero{height:calc(672 * var(--m));min-height:0;aspect-ratio:390/672}.mouse-hero img{object-fit:contain}
.mouse-profile:before{display:none}
.mouse-profile-curve{display:block;position:absolute;top:calc(-64 * var(--m));left:0;width:100%;height:calc(64 * var(--m));pointer-events:none;z-index:0}
.mouse-profile-title{top:calc(-128 * var(--space-unit) - 110 * var(--m))}
.mouse-character{width:calc(314 * var(--space-unit));max-width:100%}
.mouse-name{width:calc(314 * var(--space-unit));height:auto;min-height:0;border-radius:0}
.mouse-name>span{top:55.5%}
.mouse-masking-tape{left:50%;transform:translateX(-50%) rotate(-17deg)}
}

.mouse-name{transform:translateX(4px)}
@media(max-width:767px){
.mouse-profile{--mouse-curve-rise:calc(43.38 * var(--m));--mouse-profile-pad:calc(80 * var(--space-unit) - var(--mouse-curve-rise));padding-top:var(--mouse-profile-pad)}
.mouse-profile-title{top:calc(-1 * var(--mouse-profile-pad) - 110 * var(--m))}
.mouse-arc-letter{filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}
}

.mouse-profile-title>picture img{filter:drop-shadow(0 4px 4px rgba(0,0,0,.25))}
@media(max-width:767px){
.mouse-profile{--mouse-profile-pad:calc(35 * var(--space-unit) - var(--mouse-curve-rise));padding-top:0;display:flow-root}
.mouse-profile-inner{margin-top:var(--mouse-profile-pad)}
.mouse-name{transform:none}
.mouse-arc-letter{filter:drop-shadow(0 4px 4px rgba(0,0,0,.25))}
}

/* Center the SP name text, including the visual letter-spacing balance. */
@media(max-width:767px){
.mouse-name>span{left:50%;width:100%;box-sizing:border-box;text-align:center;padding-left:.06em;transform:translate(-50%,-50%)}
}

@media(min-width:768px){.mouse-modal[data-image-kind=profile]{padding-top:0;padding-bottom:0}}

@media(max-width:767px){.mouse-profile-sheet{display:block;border:0;outline:0}.mouse-sheet-button{border:0}.mouse-sheet-button:not(:focus-visible){outline:none}}

@media(max-width:767px){.mouse-name>span{top:44%;line-height:1}}

@media(max-width:767px){.mouse-name>span{top:46%}}

/* Center the PC name over the complete nameplate image. */
@media(min-width:768px){.mouse-name>span{left:50%;top:50%;width:100%;box-sizing:border-box;text-align:center;padding-left:.06em;line-height:1;transform:translate(-50%,-50%)}}@media(min-width:768px){.mouse-name>span{left:calc(50% + 8px)}}
.mouse-download-arrow{transition:transform .2s ease,background .2s,color .2s}
@media(hover:hover) and (pointer:fine){.mouse-download-button:hover .mouse-download-arrow{transform:translateX(3px)}}
@media(min-width:768px){.mouse-hero{margin-top:0;padding-top:0}.mouse-hero img{object-position:center top}}

/* Center the sheet across both columns when it moves below the profile text. */
@media(min-width:768px) and (max-width:1100px){
 .mouse-profile-grid .mouse-character{grid-row:1;grid-column:1}
 .mouse-profile-grid .mouse-profile-copy{grid-row:1;grid-column:2;min-width:0}
 .mouse-profile-grid .mouse-profile-sheet{grid-column:1/-1;grid-row:2;justify-self:center;margin-inline:auto;width:calc(314.28 * var(--space-unit));transform:rotate(4deg)}
}
/* Give the three-column layout more room and contain the rotated sheet. */
@media(min-width:1101px) and (max-width:1350px){
 .mouse-profile-inner{width:calc(100% - 40px)}
 .mouse-profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,419px) minmax(0,314px);gap:24px}
 .mouse-profile-copy{min-width:0}
 .mouse-profile-sheet{width:calc(100% - 24px);justify-self:center;transform:rotate(4deg)}
}
@media(min-width:768px) and (max-width:1350px) and (hover:hover){
 .mouse-profile-grid .mouse-profile-sheet:has(.mouse-sheet-button:hover){transform:rotate(4deg) scale(1.04)}
}
@media(min-width:1101px) and (max-width:1350px){.mouse-profile-copy{position:relative;left:-20px}}

/* Enlarge the static PROFILE artwork only while the sheet sits on the next row. */
@media(min-width:768px) and (max-width:1100px){
 .mouse-profile-title>picture{display:block;scale:1.2;transform-origin:left center}
}
/* Keep the heading at its original viewport inset when the profile grid widens. */
@media(min-width:1101px) and (max-width:1350px){
 .mouse-profile-title{left:calc(6.666667vw - 20px)}
}
@media(prefers-reduced-motion:no-preference){
 html.mouse-preparing .mouse-hero,html.mouse-preparing .mouse-profile-title{opacity:0}
 .mousekun-page.mouse-motion .mouse-hero{opacity:0;transition:opacity 1s ease}
 .mousekun-page.mouse-entered .mouse-hero{opacity:1}
 .mousekun-page.mouse-motion .mouse-enter-target{opacity:0;translate:0 36px;transition:opacity .85s ease var(--mouse-enter-delay,0s),translate .95s cubic-bezier(.22,.61,.36,1) var(--mouse-enter-delay,0s)}
 .mousekun-page.mouse-motion .mouse-enter-target.mouse-visible{opacity:1;translate:0 0}
 @media(max-width:767px){
  .mousekun-page.mouse-motion .mouse-profile-title{opacity:0;transition:opacity 1s ease}
  .mousekun-page.mouse-entered .mouse-profile-title{opacity:1}
 }
}
/* Smooth sheet zoom and tape centered on the sheet on both layouts. */
.mouse-profile-sheet{transition:transform .45s cubic-bezier(.22,.61,.36,1),opacity .85s ease,translate .95s ease!important;transform-origin:center}
.mouse-profile-sheet .mouse-masking-tape{left:50%;transform:translateX(-50%) rotate(-17deg)}
@media(prefers-reduced-motion:reduce){.mouse-profile-sheet{transition:none!important}}

/* Mobile image viewers open centred, slightly above the viewport midpoint. */
@media(max-width:767px){
 .mouse-modal{padding:0}
 .mouse-modal-panel{position:absolute;left:50%;top:45%;margin:0}
}
