/* Homepage illustrations and a dismissible community dock. */
#home [hidden]{display:none!important}
#home .card-illustration{height:104px;display:flex;align-items:center;justify-content:center;gap:12px;position:relative;margin-bottom:16px}
#home .card-illustration .identity-sprite{width:84px;border-radius:50%}
#home .card-illustration>span:not(.identity-sprite){font-size:25px;background:#fffdf4;border:1px solid #d5e3cf;border-radius:14px;padding:10px 14px;transform:rotate(8deg);color:var(--leaf);box-shadow:0 5px 0 #d9e5cc}
#home .card-illustration>svg{position:absolute;bottom:2px;left:calc(50% - 62px);width:28px;height:28px;padding:5px;box-sizing:content-box;background:#124d43;color:#fff;border:3px solid #f4f8ed;border-radius:50%}
.feature-illustration{height:184px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;margin:-8px -6px 20px;overflow:hidden;border-bottom:1px solid #d5e3cf}
.feature-illustration .identity-sprite{width:170px;max-width:58%;z-index:1;align-self:center}
.feature-illustration .identity-study{width:210px;border-radius:20px}
.art-orbit{position:absolute;width:210px;height:145px;border-radius:50%;background:#dbecc8;transform:rotate(-12deg);left:16%;top:10px}
.art-flashcard{z-index:2;align-self:flex-start;margin:14px 0 0 -24px;transform:rotate(8deg);border:1px solid #c9dabb;border-radius:12px;padding:12px 16px;background:#fffdf3;color:#124d43;font-size:28px;box-shadow:0 6px 0 #cbdcb8;white-space:nowrap}
.art-caption{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:11px;font-weight:600;letter-spacing:.2px;color:#52695c;z-index:3}
.art-home-audio-demo .art-orbit{background:#d8e9e3}.art-home-audio-demo .art-flashcard{font-size:44px;background:#e8f4ef;transform:rotate(12deg)}
.art-home-grammar-demo .art-orbit{background:#f0e2ba}.art-home-grammar-demo .art-flashcard{font-size:18px;padding:14px 10px;margin-left:-54px}
.art-home-exam-demo .art-orbit{background:#e5e8c9}.art-home-exam-demo .art-flashcard{background:#fff6d7}
#home .home-community{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:370px;max-width:calc(100vw - 32px);margin:0;padding:0;background:#fffdf7;border:1px solid #c7d9bf;border-radius:20px;box-shadow:0 16px 64px #143e3633;z-index:90;overflow:hidden}
#home .home-community-head{margin:0;padding:14px;gap:10px;background:#edf4e5;border-bottom:1px solid var(--line)}
#home .home-community-head h3{font-size:17px;margin:0;line-height:1.5}
#home .home-community-head>.identity-sprite{width:40px;border-radius:50%}
#home .home-community-head>div{flex:1;min-width:0}
.community-control{width:34px;height:34px;flex-shrink:0;border:0;background:transparent;border-radius:50%;font-size:23px;cursor:pointer;color:var(--leaf)}
.community-control:hover{background:#d6e6cc}
#home .home-community .chatwrap{height:min(370px,calc(100dvh - 230px));min-height:150px;border:0;border-radius:0;padding:12px;background:#fffdf7}
#home .home-community .community-guest{justify-content:center;text-align:center;font-size:12px;gap:8px}
#home .home-community .google-login{font-size:12px;padding:9px 14px}
#home .home-community-foot{padding:8px 14px;border-top:1px solid var(--line);gap:8px;font-size:11px;margin:0}
.home-community-foot a{color:var(--leaf);font-weight:600;text-decoration:none}
#homeChatNote{padding:0 14px;margin:0;font-size:12px;min-height:0}
#homeChatNote:not(:empty){padding-block:8px}
.community-dock{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:90;max-width:calc(100vw - 32px)}
.community-launcher{display:flex;align-items:center;gap:12px;padding:12px 20px 12px 12px;border:1px solid #c4d7b6;border-radius:22px;background:#124d43;color:white;box-shadow:0 8px 32px #143e3626;text-align:left;font:inherit;cursor:pointer}
.community-launcher .identity-sprite{width:46px;border-radius:50%}
.community-launcher strong{display:block;font-size:13px;font-weight:600}.community-launcher small{display:block;font-size:11px;color:#dceacb;margin-top:4px}.community-launcher>svg{width:24px;height:24px}
.community-dismiss{position:absolute;right:-5px;top:-10px;width:26px;height:26px;border:1px solid #c4d7b6;border-radius:50%;background:#fffdf7;color:#124d43;font-size:20px;cursor:pointer}
.community-restore{display:block;margin:20px 0 0 auto;border:0;background:transparent;padding:10px 0;font:inherit;font-size:13px;color:var(--leaf);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.community-control:focus-visible,.community-launcher:focus-visible,.community-dismiss:focus-visible,.community-restore:focus-visible{outline:3px solid #7eb54d;outline-offset:3px}
@media(max-width:600px){#home .card-illustration{height:90px;margin-bottom:12px}#home .card-illustration .identity-sprite{width:70px}.feature-illustration{height:168px}.feature-illustration .identity-sprite{width:155px}.feature-illustration .identity-study{width:190px}.community-dock{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.community-launcher{padding:9px 14px 9px 9px;gap:9px}.community-launcher strong{font-size:12px}.community-launcher .identity-sprite{width:38px}#home .home-community{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}}
@media(max-width:360px){#home .card-illustration{gap:6px}#home .card-illustration>span:not(.identity-sprite){font-size:20px;padding:8px}.art-flashcard{padding:10px;font-size:24px}}
.feature-illustration .identity-study{width:180px;transform:translateY(-10px)}
@media(max-width:600px){.feature-illustration .identity-study{width:164px}}
#home .home-community,.community-dock{max-width:calc(100% - 32px)}
@media(max-width:360px){#home .home-community-head{padding:12px 10px;gap:6px}#home .home-community-head h3{font-size:14px}#home .home-community-head>.identity-sprite{width:30px}#home .home-community-head .community-status{font-size:10px}.community-control{width:28px;height:30px}#homeChatCount{display:none}}
