/* A compact, year-round home: the hunter and the next adventure share one row. */
body[data-screen="home"] .home-hub{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:26px;align-items:start;margin:24px 0 8px}
body[data-screen="home"] .home-hub>.home-profile{display:block;min-width:0;margin:0}
body[data-screen="home"] .home-hub .home-profile .hunter-home{display:flex;flex-direction:column;gap:14px;padding:12px;margin:0;align-items:stretch}
body[data-screen="home"] .home-hub .hunter-card{width:100%;max-width:none;aspect-ratio:1.25}
body[data-screen="home"] .home-hub .hunter-home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-screen="home"] .home-hub .hunter-home-actions .game-button{font-size:16px;min-height:46px}
body[data-screen="home"] .home-play{min-width:0}
body[data-screen="home"] .home-play .home-menu-title{margin:0 0 16px;font-size:22px}
body[data-screen="home"] .home-play .home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body[data-screen="home"] .home-play .home-action{display:grid;grid-template-columns:42px minmax(0,1fr);align-content:center;gap:9px;min-height:112px;padding:16px 12px;border-radius:18px}
body[data-screen="home"] .home-play .home-action>div{min-width:0}
body[data-screen="home"] .home-play .home-action>i{display:none}
body[data-screen="home"] .home-play .home-action b{font-size:clamp(17px,1.8vw,22px);line-height:1.5;white-space:nowrap}
body[data-screen="home"] .home-play .home-action small{font-size:12px;line-height:1.6;font-weight:500;margin-top:4px}
body[data-screen="home"] .home-play .menu-orb{width:42px;height:42px;font-size:24px;flex:none}
body[data-screen="home"] .home-action.pururu{--action-ink:#285f60;--action-line:#86b6ab;--action-paper:#d8f0e4;--action-shadow:#9cbfb0}
body[data-screen="home"] .home-action.prep{--action-ink:#66357e;--action-line:#b99acb;--action-paper:#ecdcf4;--action-shadow:#bea0cb}
body[data-screen="home"] .home-pururu-art{overflow:hidden;border-radius:13px}
body[data-screen="home"] .home-pururu-art img{display:block;width:100%;height:100%;object-fit:cover}
body[data-screen="home"] .home-collection-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
body[data-screen="home"] .home-collection-links a{display:flex;align-items:center;gap:8px;min-height:54px;padding:10px 12px;border:1px solid #ddca9d;border-radius:12px;background:#fffdf6;color:#6a4b3c;text-decoration:none;font-size:14px}
body[data-screen="home"] .home-collection-links a>span:first-child{color:#987342;font-size:20px}
body[data-screen="home"] .home-collection-links small{margin-left:auto;white-space:nowrap;font-size:12px;color:#79664d}
body[data-screen="home"] .home-collection-links a>span:last-child:not(:first-child){margin-left:auto}
body[data-screen="home"] .home-play .online-hub-link{display:flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:10px 12px;margin-top:12px;font-size:16px}
body[data-screen="home"] .home-collection-links a:hover{background:#fff1c9;border-color:#b49353}
body[data-screen="home"] .home-hub+.halloween-banner{margin-top:24px}
@media(min-width:701px) and (max-width:1000px){
 body[data-screen="home"] .home-hub{grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:20px}
 body[data-screen="home"] .home-play .home-action{grid-template-columns:1fr;gap:7px;min-height:144px;padding:14px}
 body[data-screen="home"] .home-play .home-action b{font-size:19px}
 body[data-screen="home"] .home-collection-links{grid-template-columns:1fr;gap:8px}
}
@media(max-width:760px){
 body[data-screen="home"] .home-hub{grid-template-columns:minmax(0,1fr);gap:24px;margin:18px 0 0}
 body[data-screen="home"] .home-play{grid-row:1}
 body[data-screen="home"] .home-play .home-menu-title{font-size:20px;margin-bottom:12px}
 body[data-screen="home"] .home-play .home-actions{gap:12px}
 body[data-screen="home"] .home-play .home-action{grid-template-columns:1fr;gap:7px;min-height:142px;padding:14px 12px;border-radius:16px}
 body[data-screen="home"] .home-play .home-action b{font-size:18px}
 body[data-screen="home"] .home-play .home-action small{font-size:11px;line-height:1.55}
 body[data-screen="home"] .home-play .menu-orb{width:36px;height:36px;font-size:21px}
 body[data-screen="home"] .home-collection-links{gap:9px;margin-top:16px}
 body[data-screen="home"] .home-collection-links a{flex-wrap:wrap;gap:5px;font-size:13px;padding:10px 9px}
 body[data-screen="home"] .home-collection-links small{width:100%;padding-left:25px;margin:0}
 body[data-screen="home"] .home-hub>.home-profile{width:100%;max-width:354px;justify-self:center}
}
.home-comic-banner{display:grid;grid-template-columns:170px minmax(0,1fr) auto;align-items:center;gap:24px;margin:20px 0 25px;padding:18px 24px 18px 18px;border:2px solid #514139;border-radius:20px;background:#fff8dc;color:#514139;box-shadow:0 5px 0 #d7c8ab;text-decoration:none}
.home-comic-banner:hover{background:#fff1bc}.home-comic-banner:focus-visible{outline:4px solid #287b70;outline-offset:4px}.home-comic-picture{position:relative;height:105px;border:5px solid white;outline:1px solid #d4c2ad;overflow:hidden;background:white;transform:rotate(-3deg);border-radius:5px}.home-comic-picture img{position:absolute;max-width:none;width:225%;height:auto;left:-9%;top:-24px}.home-comic-copy{min-width:0}.home-comic-copy>span{font-size:13px;color:#7b6255}.home-comic-copy h2{font-size:clamp(20px,2.5vw,28px);line-height:1.5;margin:4px 0}.home-comic-copy p{font-size:15px;margin:3px 0;line-height:1.7}.home-comic-button{display:grid;place-items:center;min-height:48px;padding:8px 23px;border:2px solid #514139;border-radius:30px;background:#ffe07a;box-shadow:0 3px 0 #514139;font-size:16px;white-space:nowrap}
@media(max-width:700px){.home-comic-banner{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:16px}.home-comic-picture{height:85px;border-width:3px}.home-comic-picture img{width:310%;top:-14px;left:-21px}.home-comic-copy>span{font-size:12px}.home-comic-copy h2{font-size:20px}.home-comic-copy p{font-size:14px}.home-comic-button{grid-column:1/-1;min-height:46px}}
@media(max-width:360px){
 body[data-screen="home"] .home-play .home-action{padding:12px 10px}
 body[data-screen="home"] .home-play .home-action b{font-size:16px}
 body[data-screen="home"] .home-collection-links a{font-size:12px}
}

.home-comic-title{display:inline-block}
.home-profile .home-comic-banner{grid-template-columns:70px minmax(0,1fr);gap:12px;margin:20px 0 0;padding:14px;border-radius:18px}
.home-profile .home-comic-picture{height:80px;border-width:3px}
.home-profile .home-comic-picture img{width:310%;top:-14px;left:-21px}
.home-profile .home-comic-copy>span{font-size:12px}
.home-profile .home-comic-copy h2{font-size:18px}
.home-profile .home-comic-copy p{display:none}
.home-profile .home-comic-button{grid-column:1/-1;min-height:46px}

/* Latest episode remains below the hunter card. */
.home-profile .home-comic-latest{grid-template-columns:88px minmax(0,1fr)}
.home-profile .home-comic-latest .home-comic-picture{height:88px;transform:rotate(-3deg)}
.home-profile .home-comic-latest .home-comic-picture img{width:440%;left:-114%;top:-74%}
.home-profile .home-comic-latest .home-comic-copy .home-comic-new{font-size:14px;font-weight:900;color:#a34057}
.home-profile .home-comic-latest .home-comic-copy .home-comic-episode{display:block;font-size:16px;font-weight:800;line-height:1.6;margin-top:7px}
.home-comic-episode span{display:inline-block}
