.bot-hub{margin:22px 0 30px;padding:22px;border:1px solid #d3e0ca;border-bottom:5px solid #b9cfa8;border-radius:23px;background:linear-gradient(130deg,#fff,#f0f6e8)}.bot-heading{display:flex;gap:14px;align-items:center;margin-bottom:18px}.bot-heading>svg{width:34px;height:34px;color:#537c43;flex-shrink:0}.bot-heading h2{font-size:22px;margin:0 0 6px;line-height:1.6;color:#224f36}.bot-heading p{font-size:12px;line-height:1.8;color:#748867;margin:0}.bot-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bot-card{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;padding:17px;border:1px solid #d6e2ca;border-bottom:4px solid #bacfa7;border-radius:17px;background:linear-gradient(140deg,#fff,#ecf4e2)}.bot-face{width:50px;height:50px}.bot-face img{width:100%;height:100%}.bot-identity{display:grid;gap:7px;align-content:center;min-width:0}.bot-identity strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:17px;line-height:1.5}.bot-identity small{font-size:11px;color:#6d805f}.bot-available{display:flex;align-items:center;gap:7px;color:#578443;font-size:10px;grid-column:1/-1}.bot-available::before{content:'';width:7px;height:7px;border-radius:50%;background:#78a752}.bot-challenge{grid-column:1/-1;min-height:47px;font-size:12px}.bot-game-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}.bot-game-tabs button{font-size:12px;padding:10px 14px;border:1px solid #d1dfc6;border-bottom:4px solid #c2d4b5;border-radius:12px;background:#f9fbf5;color:#547144}.bot-game-tabs button[aria-pressed=true]{background:linear-gradient(#43805a,#255739);color:#fff;border-color:#285b3c;border-bottom-color:#173f29}.robot-avatar{border:2px solid #a0bb87;border-radius:14px}.ranking-bot-label{font-size:9px;background:#e3edda;color:#537541;border:1px solid #c8dbb7;border-radius:6px;padding:3px 5px}#bot-search-note{display:block;font-size:11px!important;line-height:1.9!important;color:#5d7f4b;margin-top:14px}#room-bots[hidden]{display:none!important}
body:not(.in-room) #room-bots{display:none!important}
.country-picker{display:grid;gap:12px}.country-search{display:flex;gap:10px;align-items:center;padding:0 13px;background:#fff;border:1px solid #cbdcbe;border-radius:12px}.country-search>svg{width:18px;height:18px;flex-shrink:0;color:#6a8a55}.profile-field .country-search input{border:0;background:transparent;padding-inline:0;min-height:50px;outline:0;font-size:16px}.country-search:focus-within{outline:2px solid #8cae6d;outline-offset:2px}.country-list{display:grid;gap:8px;max-height:260px;overflow-y:auto;overscroll-behavior:contain;padding:2px 5px 5px;scrollbar-width:thin;scrollbar-color:#a6be91 #edf3e6}.country-choice{display:flex;align-items:center;gap:13px;width:100%;text-align:start;padding:12px 14px;min-height:61px;border:1px solid #d6e2cb;border-bottom:4px solid #c3d5b4;border-radius:13px;background:linear-gradient(130deg,#fff,#eff5e8);color:#385c3b;font-family:inherit}.country-choice>span:not(.no-country-icon){flex:1;min-width:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.country-choice .country-flag{width:34px;height:24px;object-fit:contain;flex-shrink:0;border-radius:4px}.country-choice>svg{width:19px;height:19px;flex-shrink:0;visibility:hidden}.country-choice[aria-pressed=true]{background:linear-gradient(#e9f2de,#dceacb);border-color:#8eaf70}.country-choice[aria-pressed=true]>svg{visibility:visible}.country-choice[hidden],#country-empty[hidden]{display:none!important}.no-country-icon{display:grid;place-items:center;width:34px;height:24px;font-size:24px;color:#829b73}.country-choice:hover{border-color:#88a96f}
.profile-chip{max-width:245px;min-width:0;flex-shrink:0}.profile-chip>#header-nickname{display:block;min-width:0;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.8}.profile-chip>#header-country{display:flex!important;align-items:center;justify-content:center;flex-shrink:0;width:25px;min-width:25px;overflow:visible!important}.profile-chip>#header-country[hidden]{display:none!important}.profile-chip .country-flag{width:23px;height:18px;max-width:none;object-fit:contain;flex-shrink:0;display:block}.sheet-handle{display:none}
@media(max-width:900px){.bot-hub{padding:18px;margin:18px 0 24px}.bot-heading h2{font-size:19px}.bot-cards{grid-template-columns:1fr;gap:11px}.bot-card{grid-template-columns:46px minmax(0,1fr) auto;padding:14px;align-items:center;gap:8px 12px}.bot-face{width:46px;height:46px;grid-row:1/3}.bot-identity strong{font-size:17px}.bot-available{grid-column:2;grid-row:2}.bot-challenge{grid-column:3;grid-row:1/3;max-width:105px;padding:10px!important}.bot-heading>svg{width:29px;height:29px}.bot-game-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:5px}.bot-game-tabs button{flex-shrink:0;font-size:11px}.topbar{display:flex!important;flex-direction:row!important;justify-content:space-between!important;direction:ltr!important;padding-inline:14px!important;gap:12px!important}.topbar .wordmark{min-width:0;flex-shrink:1}.topbar .brand-logo{width:150px!important;height:45px!important}.topbar .top-actions{display:flex!important;flex-direction:row!important;gap:10px!important;direction:ltr!important}.topbar #profile-open{order:3;width:80px!important;min-width:80px!important;height:46px!important;min-height:46px!important;padding:4px!important;gap:7px!important;max-width:80px!important;direction:ltr}.topbar #profile-open:has(#header-country[hidden]){width:46px!important;min-width:46px!important;max-width:46px!important}.topbar #header-nickname,.topbar #profile-open>svg{display:none!important}.topbar #header-avatar{width:34px;height:34px;flex-shrink:0}.topbar #language-open{order:2;width:44px!important;min-width:44px!important;height:46px!important}.topbar #install-app,.topbar .connection{display:none!important}.country-list{max-height:245px}}
@media(max-width:600px){html body dialog[open],html body dialog#profile-dialog[open]{position:fixed!important;inset:auto 0 0!important;bottom:0!important;margin:0 auto!important;width:100%!important;max-width:100%!important;max-height:92dvh!important;border-radius:27px 27px 0 0!important;border:1px solid #bfd1ad!important;border-top:2px solid #a6c092!important;border-bottom:0!important;padding:0 22px calc(25px + env(safe-area-inset-bottom))!important;animation:sheet-enter .24s ease-out;overscroll-behavior:contain}.sheet-handle{display:flex;justify-content:center;align-items:center;padding:13px 0 12px;position:sticky;top:0;background:#fff;z-index:5;margin-inline:-22px}.sheet-handle span{display:block;width:48px;height:6px;border:1px solid #b5c7a5;border-bottom:2px solid #9eb38c;border-radius:99px;background:linear-gradient(#dce6d3,#b8c9a9)}dialog .dialog-close{top:37px!important;z-index:6}dialog h2{font-size:22px!important;line-height:1.7!important;margin-top:14px!important}.country-list{max-height:230px}dialog::backdrop{background:#143c2b8f;backdrop-filter:blur(5px)}@keyframes sheet-enter{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}}
@media(max-width:360px){.topbar{padding-inline:12px!important;gap:8px!important}.topbar .brand-logo{width:126px!important}.topbar .top-actions{gap:8px!important}.bot-challenge{font-size:10px;max-width:83px}.bot-card{gap:7px}.bot-identity strong{font-size:15px}.bot-identity small{font-size:10px}}
@media(prefers-reduced-motion:reduce){html body dialog[open]{animation:none!important}}
@media(max-width:600px){.lobby-hero{display:flex!important;flex-direction:column!important;min-height:0!important}.hero-copy{position:relative!important;padding:28px!important}.hero-table{position:relative!important;inset:auto!important;width:100%!important;height:250px!important;min-height:250px!important;transform:none!important;opacity:1!important;border-inline-start:0!important;border-top:1px solid #dce6d5}.hero-arena-art{display:block;width:100%!important;height:250px!important;max-width:440px!important;object-fit:contain;transform:none!important}}
@media(max-width:900px){.filter-bar{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;overflow-x:auto;overscroll-behavior-x:contain;box-sizing:border-box}.workspace,.catalog-section{min-width:0}}

/* Installation is an in-flow card, with room for translated labels. */
html body #install-nudge{display:none!important}
html body #install-nudge[hidden]{display:none!important}
#install-nudge .install-brand{display:grid;place-items:center;width:64px;height:64px;min-width:0;border:1px solid #b4cda6;border-bottom:4px solid #9bb78a;border-radius:18px;background:linear-gradient(#fff,#e0edcf);color:#285b3d}
#install-nudge .install-brand svg{width:30px;height:30px}
#install-nudge .install-copy{min-width:0;text-align:start}
#install-nudge .install-copy strong{display:block;margin:0 0 5px;color:#214b34;font-size:19px;line-height:1.5;overflow-wrap:anywhere}
#install-nudge .install-copy p{margin:0;color:#56704d;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
#install-nudge .install-nudge-actions{display:flex;grid-column:auto;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#install-nudge .install-nudge-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;margin:0;padding:13px 20px;font-size:14px;line-height:1.5;white-space:normal;text-align:center;border-radius:13px}
#install-nudge .install-nudge-actions button svg{width:21px;height:21px;flex-shrink:0}
@media(max-width:1050px){html body #install-nudge{grid-template-columns:56px minmax(0,1fr);gap:16px;width:calc(100% - 40px);padding:22px}#install-nudge .install-brand{width:56px;height:56px}#install-nudge .install-nudge-actions{grid-column:1/-1;justify-content:flex-start;padding-inline-start:72px}}
@media(max-width:600px){html body #install-nudge{width:calc(100% - 28px);margin:16px auto 0;padding:18px;grid-template-columns:48px minmax(0,1fr);gap:16px 12px;border-radius:19px}#install-nudge .install-brand{width:48px;height:52px;border-radius:14px;align-self:start}#install-nudge .install-brand svg{width:25px;height:25px}#install-nudge .install-copy strong{font-size:17px;line-height:1.5}#install-nudge .install-copy p{font-size:13px;line-height:1.75}#install-nudge .install-nudge-actions{display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:8px}#install-nudge .install-nudge-actions button{width:100%;min-width:0;min-height:50px;font-size:14px;padding:12px 14px}#install-nudge #install-later{background:transparent;border-color:transparent;border-bottom-width:1px;min-height:44px;color:#47663e}}

.bot-heading>svg{box-sizing:content-box;width:28px;height:28px;padding:13px;border:1px solid #bad0ac;border-bottom:4px solid #8fae7d;border-radius:17px;background:linear-gradient(145deg,#fff,#dceacb);transform:perspective(250px) rotateY(-12deg);color:#345f3a}
.available-players{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #d0dfc3}.available-players h3{font-size:16px;color:#3b633e;margin:0 0 13px}.available-empty{grid-column:1/-1;font-size:13px;line-height:1.8;margin:0;color:#657e59}.human-card{background:linear-gradient(140deg,#fff,#e5f1e9)}
#player-invite-dialog{box-sizing:border-box;width:min(460px,calc(100% - 40px));padding:30px;border:1px solid #c0d3af;border-bottom:6px solid #9bb78a;border-radius:24px;background:#fffef9;color:#244f36;text-align:center}#player-invite-title{font-size:24px;line-height:1.6}#player-invite-person{display:flex;align-items:center;justify-content:center;gap:15px;margin:24px 0 12px}#player-invite-person>.sticker-avatar{width:70px;height:70px}#player-invite-person strong{display:flex;align-items:center;gap:10px;font-size:20px;overflow-wrap:anywhere}#player-invite-game{font-size:16px;color:#638056;margin:14px 0 22px}.player-invite-actions{display:grid;gap:12px}.player-invite-actions button{min-height:52px;font-size:15px}#player-invite-dialog::backdrop{background:#183e2e88;backdrop-filter:blur(5px)}
.round-reward{margin:0 0 18px;padding:18px;border:1px solid #bacfa7;border-bottom:5px solid #9eb986;border-radius:18px;background:linear-gradient(145deg,#fffdf0,#e9f2da);text-align:start}.reward-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.reward-gain{font-size:25px;color:#235b3b;line-height:1.5}.reward-level{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #b7c995;border-bottom:3px solid #8ba467;border-radius:12px;background:linear-gradient(#f7f7cf,#e0e7aa);font-size:14px;font-weight:700;color:#48602b}.reward-level svg{width:21px;height:21px}.welcome-card .reward-caption{font-size:14px;line-height:1.5;font-weight:700;margin:12px 0 10px;color:#46673a}.reward-progress{display:block;width:100%;height:14px;accent-color:#4b8250;border:1px solid #abc295;border-radius:9px;overflow:hidden;background:#dfe9d2}.reward-progress::-webkit-progress-bar{background:#dfe9d2}.reward-progress::-webkit-progress-value{background:linear-gradient(90deg,#2c6846,#95b86b);border-radius:8px}.reward-total{display:block;font-size:12px;line-height:1.8;margin-top:8px;color:#60774f}.board-overlay:has(.round-reward){overflow:auto;padding:16px}.board-overlay:has(.round-reward) .welcome-card{width:100%;max-width:440px;max-height:100%;overflow:auto;box-sizing:border-box}
@media(max-width:900px){.topbar #profile-open{width:auto!important;min-width:0!important;max-width:190px!important;padding:5px 7px!important;gap:6px!important}.topbar #profile-open:has(#header-country[hidden]){width:auto!important;min-width:0!important;max-width:165px!important}.topbar .profile-chip>#header-nickname{display:block!important;max-width:90px!important;font-size:12px;direction:auto}.topbar #header-avatar{width:30px;height:30px}.topbar #header-country{width:22px;min-width:22px}.topbar .profile-chip .country-flag{width:22px;height:17px}.topbar .brand-logo{width:126px!important}.bot-heading>svg{width:25px;height:25px;padding:10px}.human-card .bot-identity{grid-row:1}.round-reward{padding:14px}}
@media(max-width:600px){.topbar{gap:7px!important;padding-inline:12px!important}.topbar .top-actions{gap:6px!important}.topbar .brand-logo{width:105px!important}.topbar #language-open{width:38px!important;min-width:38px!important}.topbar #profile-open{max-width:165px!important}.topbar .profile-chip>#header-nickname{max-width:72px!important;font-size:11px}.round-reward .reward-gain{font-size:22px}.board-overlay:has(.round-reward){position:relative;inset:auto;padding:12px 0 0;background:none;backdrop-filter:none}.board-overlay:has(.round-reward) .welcome-card{max-height:none}.reward-level{font-size:12px}.available-empty{font-size:12px}}
@media(max-width:360px){.topbar .brand-logo{width:86px!important}.topbar .profile-chip>#header-nickname{max-width:56px!important}.topbar #profile-open{gap:4px!important;padding-inline:5px!important;max-width:134px!important}}

html body .topbar .wordmark{display:flex;align-items:center;gap:9px;text-decoration:none;white-space:nowrap;flex-shrink:0;direction:ltr}
html body .topbar .wordmark .brand-logo{width:42px!important;height:48px!important;flex-shrink:0;object-fit:contain}
.brand-name{font-family:'DM Sans',system-ui,sans-serif;font-size:23px;font-weight:800;letter-spacing:-.7px;color:#214f37;line-height:1.15}.brand-name b{font-weight:800;color:#497343}
#seo-faq h3,.seo-information>h3{font-size:18px;color:#28533a;line-height:1.7;margin:24px 0 14px}#seo-faq details{padding:15px 0;border-bottom:1px solid #d9e4cf}#seo-faq summary{font-size:14px;line-height:1.8;font-weight:600;cursor:pointer}#seo-faq p,.seo-rules li{font-size:13px;line-height:2}.seo-rules[hidden]{display:none!important}
@media(max-width:900px){html body .topbar .wordmark{gap:6px}html body .topbar .wordmark .brand-logo{width:30px!important;height:38px!important}.brand-name{font-size:17px;letter-spacing:-.6px}}
@media(max-width:600px){html body .topbar .wordmark .brand-logo{width:26px!important;height:34px!important}.brand-name{font-size:14px;letter-spacing:-.5px}}
@media(max-width:360px){html body .topbar .wordmark{gap:4px}html body .topbar .wordmark .brand-logo{width:22px!important;height:30px!important}.brand-name{font-size:12px;letter-spacing:-.6px}}

html body .topbar .wordmark>.brand-name{display:inline-block!important;font-size:23px!important;font-weight:800!important;color:#214f37!important;padding:0!important;border:0!important;line-height:1.2;letter-spacing:-.7px;flex-shrink:0}
html body .topbar .wordmark>.brand-name b{font:inherit;color:#497343}
@media(max-width:900px){html body .topbar .wordmark>.brand-name{font-size:17px!important;letter-spacing:-.6px}}
@media(max-width:600px){html body .topbar .wordmark>.brand-name{font-size:14px!important;letter-spacing:-.5px}}
@media(max-width:360px){html body .topbar .wordmark>.brand-name{font-size:11.5px!important;letter-spacing:-.6px}}

/* TTG keeps the full sculpted symbol and a compact, legible wordmark. */
html body .topbar .wordmark .brand-logo{width:58px!important;height:62px!important}
html body .topbar .wordmark>.brand-name{font-size:34px!important;letter-spacing:1px;font-weight:900!important}
@media(max-width:900px){html body .topbar .wordmark .brand-logo{width:46px!important;height:50px!important}html body .topbar .wordmark>.brand-name{font-size:27px!important}}
@media(max-width:600px){html body .topbar .wordmark .brand-logo{width:42px!important;height:46px!important}html body .topbar .wordmark>.brand-name{font-size:24px!important}}
@media(max-width:360px){html body .topbar .wordmark .brand-logo{width:38px!important;height:42px!important}html body .topbar .wordmark>.brand-name{font-size:22px!important}}
#account-dialog{box-sizing:border-box;width:min(490px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid #bfd1af;border-bottom:6px solid #98b585;border-radius:25px;background:linear-gradient(140deg,#fffef9,#f4f8ee);color:#234e36}
#account-dialog::backdrop{background:#163c2b99;backdrop-filter:blur(5px)}.account-emblem{display:flex;align-items:center;gap:14px;margin-bottom:16px}.account-emblem img{width:66px;height:66px;object-fit:contain}.account-emblem strong{font:900 34px/1.2 'DM Sans',system-ui,sans-serif;color:#285a3a;letter-spacing:2px}
#account-title{font-size:25px;line-height:1.5;margin:0 0 9px;padding-inline-end:20px}#account-intro{font-size:14px;line-height:1.8;color:#67815b;margin:0 0 20px}.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:23px}.account-tabs button{min-height:48px;padding:10px;border:1px solid #c8d8bc;border-bottom:4px solid #abc49a;border-radius:13px;background:#f2f7e9;color:#54754b;font-size:13px;font-weight:600}.account-tabs button[aria-pressed=true]{background:linear-gradient(#3a7753,#24543a);border-color:#24543a;border-bottom-color:#173b28;color:#fff}
#account-form{display:grid;gap:14px}.account-field{display:grid;gap:8px;min-width:0}.account-field>span:first-child{font-size:13px;font-weight:600;color:#45683e}.account-field input{box-sizing:border-box;width:100%;min-width:0;min-height:53px;border:1px solid #bdd0ae;border-bottom:3px solid #a9c196;border-radius:12px;padding:12px 14px;background:#fff;font-family:inherit;font-size:16px;color:#244d35;outline-offset:3px}.account-field input:focus{outline:2px solid #729b60}.account-field[hidden]{display:none!important}.account-password-wrap{display:flex;align-items:center;gap:8px}.account-password-wrap input{flex:1}.account-password-wrap button{display:grid;place-items:center;flex-shrink:0;width:48px;height:52px;border:1px solid #bfd2af;border-bottom:3px solid #a3bc90;border-radius:12px;background:#edf4e5;color:#527548}.account-password-wrap button svg{width:20px;height:20px}
#account-password-hint,#account-remember,#account-leave-note{margin:0;font-size:12px;line-height:1.8;color:#6e855f}#account-error{margin:0;color:#aa3d37;font-size:13px;line-height:1.8;min-height:20px}#account-submit{width:100%;min-height:54px;font-size:15px;justify-content:center}#account-remember{text-align:center;font-size:11px}#account-logout{margin-top:15px;width:100%;min-height:48px;justify-content:center}#account-logout[hidden],#account-leave-note[hidden]{display:none!important}#account-leave-note{margin-top:10px}#nickname-input[readonly]{background:#f0f5e8;color:#5c7951;cursor:default}
@media(max-width:600px){#account-dialog{padding:24px}.account-emblem{margin-top:8px}.account-emblem img{width:58px;height:58px}#account-title{font-size:23px}.account-tabs{margin-bottom:18px}#account-form{gap:12px}}

/* Mobile results share the same accessible bottom sheet as all dialogs. */
#round-result-dialog{box-sizing:border-box;overflow:auto;background:linear-gradient(145deg,#fffef9,#f1f7e9);color:#244f36;box-shadow:none}
#round-result-dialog::backdrop{background:#143c2b8f;backdrop-filter:blur(5px)}
#round-result-dialog .dialog-close{position:absolute;left:auto;right:auto;inset-inline-end:18px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #bfd1ad;border-bottom:3px solid #9bb58a;border-radius:14px;background:#f1f6e9;color:#28583c;cursor:pointer}
#round-result-content{position:relative;z-index:1}
#round-result-dialog .welcome-card{box-sizing:border-box;width:100%;max-width:none;max-height:none;padding:12px 0 0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;overflow:visible}
#round-result-dialog .welcome-symbol{margin:0 auto 10px;display:flex;align-items:center;justify-content:center;width:72px;height:72px}
#round-result-dialog h2{text-wrap:balance;padding-inline:18px;margin:12px 0!important;line-height:1.4!important;overflow-wrap:anywhere}
#round-result-dialog .welcome-card>p{font-size:15px;line-height:1.7;margin:0 0 18px}
#round-result-dialog .welcome-card>button{width:100%;min-height:54px;white-space:normal}
#round-result-dialog .round-reward{margin-bottom:20px;padding:18px}
#round-result-dialog .reward-total{font-size:13px}
.result-reopen{margin-top:12px;width:100%}
.result-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:8;border-radius:inherit}
.result-confetti i{position:absolute;top:-14px;left:var(--x);width:9px;height:14px;background:var(--color);border-radius:3px;animation:result-confetti-fall 1.9s var(--delay) ease-in both}
@keyframes result-confetti-fall{from{transform:translate(0,-20px) rotate(0);opacity:1}to{transform:translate(var(--drift),85dvh) rotate(640deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.result-confetti{display:none}}

@media(max-width:900px){html body .topbar .top-actions{margin-left:auto!important;margin-right:0!important;flex-shrink:0}html body .topbar .main-nav{display:none!important}html body .topbar #profile-open{order:3}html body .topbar #language-open{order:2}}
