.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;max-width:100%}.rewards-button{border:1px solid #cbd9bf;background:#eaf1e3;color:#375c36;white-space:nowrap;font-size:12px;padding:8px 13px;min-height:40px}.rewards-button:hover{background:#e1ebd8}.rewards-button:disabled{opacity:.5}#rewardsDialog{width:min(560px,94vw);max-width:560px;max-height:92dvh;padding:26px}#rewardsDialog .dialog-top h2{font-family:"Songti SC",SimSun,serif;font-size:25px;margin-top:4px}.rewards-summary{display:flex;align-items:center;gap:25px;padding:23px 0 20px}.rewards-summary>div{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.rewards-summary>div>span{font-size:11px;color:#8b987f}.rewards-summary strong{font:38px Georgia,serif;color:#345a36}.rewards-summary p{font-size:11px;line-height:1.9;color:#8a957e;margin:0}.rewards-rules{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.rewards-rules>div{background:#eef3e6;border:1px solid #dfe7d5;padding:13px 10px;border-radius:8px}.rewards-rules strong{display:block;font:23px Georgia,serif;color:#748b54}.rewards-rules span{font-size:10px;display:block;margin-top:6px;color:#7b896d;line-height:1.8}.rewards-local-note{font-size:10px;color:#98a18c;line-height:1.8;margin:12px 0 22px}.community-section{border-top:1px solid #e1e7d9;padding-top:19px}.community-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.community-heading h3{font-size:15px;margin:0;font-weight:600}.community-heading .text-button{font-size:11px}.community-privacy{font-size:11px;color:#7f8d70;line-height:1.9;margin:7px 0 17px}.community-loading{border:1px dashed #d6dfcc;border-radius:7px;padding:15px;font-size:11px;color:#8b987d;text-align:center}.community-ranking-head,.community-member{display:flex;align-items:center;justify-content:space-between;gap:15px}.community-ranking-head{font-size:10px;color:#98a18b;padding:0 13px 7px}.community-members{max-height:240px;overflow-y:auto}.community-member{padding:11px 13px;border-top:1px solid #e8ecdf;font-size:12px}.community-member>span{overflow-wrap:anywhere}.community-member>strong{font:19px Georgia,serif;white-space:nowrap;color:#66824c}.community-member small{display:inline-block;font-size:9px;font-weight:400;color:#82996b;background:#e9f0e1;padding:0 5px;border-radius:4px;margin-left:7px}.community-member.self{background:#f6f8ef}.community-notice{font-size:11px;color:#8a987c;line-height:1.85;margin:14px 0 0;min-height:20px}.community-notice[data-kind="error"]{color:#ad7157}.community-empty{font-size:11px;color:#98a28b;text-align:center;padding:15px}.community-loading[hidden],#communityBoard[hidden]{display:none!important}@media(max-width:950px){.header-controls{gap:7px}.rewards-button{font-size:11px;padding:7px 10px}}@media(max-width:600px){#rewardsDialog{padding:19px;width:94vw}#rewardsDialog .dialog-top h2{font-size:21px}.rewards-summary{gap:15px;align-items:flex-start;padding:20px 0 15px}.rewards-summary>div{gap:5px}.rewards-summary>div>span{font-size:10px}.rewards-summary strong{font-size:32px}.rewards-summary p{font-size:10px}.rewards-rules{gap:5px}.rewards-rules>div{padding:10px 8px}.rewards-rules span{font-size:9px}.rewards-rules strong{font-size:21px}.rewards-button{font-size:10px;min-height:35px;padding:5px 8px}.header-controls{gap:5px}.header-controls .learner-button{font-size:10px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-privacy{font-size:10px}.community-member{padding:10px 11px}}

.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header-right{min-width:0}.header-controls{flex-wrap:wrap}.header-controls .global-difficulty{display:flex;align-items:center;gap:7px;margin:0;flex:0 0 auto}.header-controls .global-difficulty>label{font-size:11px;color:#718064;white-space:nowrap;margin:0}.global-difficulty select{width:116px;min-height:40px;font-size:12px}.header-controls .learner-button{min-width:0}@media(max-width:600px){.topbar{height:auto;min-height:110px;flex-wrap:wrap;gap:9px;padding:12px 14px 9px}.brand{flex-shrink:0}.header-right{flex:1 0 100%;width:100%;align-items:flex-end}.header-controls{width:100%;justify-content:flex-end;gap:6px}.header-controls .global-difficulty>label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.global-difficulty select{width:100px;min-height:35px;font-size:10px;padding:6px}.header-controls .learner-button{max-width:100px}.header-controls .rewards-button{min-height:35px}}

@media(min-width:601px){.topbar{height:auto;min-height:90px;padding-top:10px;padding-bottom:10px}}
