/* Contact Party front door. Scoped so the classic game keeps its own theme. */
#home-dialog{background:#e4f6ed;color:#305b65;background-image:linear-gradient(180deg,#fffbee 0%,#fffbee 33%,#dbf4ed 66%,#e6f6ec 100%)}
#home-dialog:before{background:none}#home-dialog::backdrop{background:#e4f6ed}
#home-dialog .home-inner{max-width:480px;padding-inline:28px;min-height:100dvh;gap:0}
#home-dialog .home-top{color:#559699;font-size:10px;letter-spacing:2px}
#home-dialog .home-top .icon-button{background:#fffef8;border:2px solid #fff;border-radius:15px;box-shadow:0 3px #b7dddb;color:#43838b}
#home-dialog .home-heading{margin-top:28px;position:relative;z-index:1}
#home-dialog .home-kicker{font-size:11px;color:#699391;letter-spacing:4px;margin-bottom:14px}
#home-dialog #home-title{font-size:61px;font-weight:950;letter-spacing:-4px;color:#38a8b4;line-height:1.17;text-shadow:0 3px #fff,0 6px #b5dfdb;transform:rotate(-3deg)}
#home-dialog #home-title span{color:#fa8265;text-shadow:0 3px #fff,0 6px #f6c4a4}#home-dialog #home-title i{color:#f3bb4f;font-size:.8em}
#home-dialog #home-tagline{color:#507b81;letter-spacing:2px;font-size:13px;margin-top:20px}
#home-dialog .home-art{margin:-4px -25px -3px;min-height:190px;max-height:360px;flex:1}
#home-dialog #home-scene{max-height:360px;filter:none}
#home-dialog .home-stamp{right:17px;top:9%;border:3px solid #fff;background:#ffd57c;color:#946229;border-radius:18px;box-shadow:0 4px #e4b65e;padding:9px 11px;font-size:10px;transform:rotate(9deg);z-index:1}
#home-dialog .home-stamp b{font-size:12px;letter-spacing:0}
#home-dialog .home-actions{margin-top:0}
#home-dialog #home-progress{color:#65878b;font-size:11px;margin-bottom:13px;letter-spacing:1px}
#home-dialog .home-play{background:linear-gradient(#ffab7e,#ff8067);border:2px solid #ffbc95;border-radius:22px;color:white;box-shadow:inset 0 2px #ffd4ac,0 6px #d66351,0 10px 15px #ce8b6420;min-height:62px;font-size:20px;font-weight:850;text-shadow:0 1px #d36650;gap:18px}
#home-dialog .home-play:active{box-shadow:0 2px #d66351}
#home-dialog .home-modes{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;gap:10px}
#home-dialog .home-modes button{background:#fffef3;border:2px solid #fff;border-radius:19px;box-shadow:0 3px #b7d9d1;min-height:84px;display:flex;flex-direction:column;align-items:center;padding:10px 3px;gap:6px;text-align:center;color:#457c80}
#home-dialog .home-modes button>span{position:static;font-size:22px;line-height:23px;color:#53a3a7}
#home-dialog .home-modes button:nth-child(2)>span{color:#e1a84e}#home-dialog .home-modes button:nth-child(3)>span{color:#e8876b}
#home-dialog .home-modes strong{font-size:12px}#home-dialog .home-modes small{display:none}
#home-dialog .home-instruction{font-size:10px;letter-spacing:2px;color:#81a39e;margin-top:21px;margin-bottom:0}
#home-dialog .home-leaves{display:none}
@media(min-width:700px){#home-dialog .home-inner{padding-top:28px;padding-bottom:28px}#home-dialog .home-heading{margin-top:30px}#home-dialog #home-title{font-size:70px}#home-dialog .home-art{max-height:420px}#home-dialog #home-scene{max-height:420px}}
@media(max-height:700px){#home-dialog .home-inner{padding:8px 24px 15px}#home-dialog .home-heading{margin-top:9px}#home-dialog .home-kicker{margin-bottom:9px;font-size:10px}#home-dialog #home-title{font-size:49px}#home-dialog #home-tagline{font-size:11px;margin-top:13px}#home-dialog .home-art{min-height:140px;max-height:210px;margin:-5px -20px -6px}#home-dialog #home-scene{height:100%;max-height:210px}#home-dialog .home-stamp{padding:6px 8px;font-size:9px;right:8px}#home-dialog .home-stamp b{font-size:10px}#home-dialog .home-play{min-height:50px;font-size:17px;border-radius:18px}#home-dialog .home-modes{margin-top:18px;gap:8px}#home-dialog .home-modes button{min-height:66px;padding-block:7px;gap:4px}#home-dialog .home-modes strong{font-size:11px}#home-dialog .home-instruction{margin-top:15px;font-size:9px}#home-dialog #home-progress{font-size:10px;margin-bottom:10px}}
@media(max-width:350px){#home-dialog #home-title{font-size:46px}#home-dialog .home-kicker{letter-spacing:3px}}
html[lang=en] #home-dialog #home-title{font-size:49px;letter-spacing:0}html[lang=en] #home-dialog .home-play{font-size:17px}html[lang=en] #home-dialog .home-modes button{padding-inline:3px}html[lang=en] #home-dialog .home-modes strong{font-size:11px}
@media(max-height:600px){#home-dialog .home-heading{margin-top:2px}#home-dialog #home-tagline{margin-top:9px}#home-dialog .home-art{min-height:120px;max-height:175px}#home-dialog #home-scene{max-height:175px}#home-dialog .home-instruction{margin-top:11px}#home-dialog .home-inner{padding-bottom:10px}}
#home-dialog .home-play:focus-visible,#home-dialog .home-modes button:focus-visible{outline:3px solid #338f9d;outline-offset:4px}
@media(max-height:700px){html[lang=en] #home-dialog #home-title{font-size:33px;line-height:1.05}html[lang=en] #home-dialog .home-kicker{margin-bottom:6px}}

#home-dialog .home-instruction a{display:inline-block;padding:5px 14px;color:#6f8b7d;text-underline-offset:4px;font-size:11px;letter-spacing:1px}#home-dialog .home-instruction a:focus-visible{outline:2px solid #458d85;outline-offset:2px;border-radius:5px}
