:root{color-scheme:light;color:#1e2732;background:#edf2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:#edf2f7;color:#1e2732;transition:background-color .18s ease,color .18s ease}button{font:inherit}.app-shell{min-height:100vh;padding:22px}.app-shell-hub{--hub-topbar-height: 74px;min-height:100dvh;height:100dvh;padding:0;overflow:hidden}.top-bar{width:min(100%,1260px);min-height:70px;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(240px,1fr);gap:18px;align-items:center;margin:0 auto 18px;border:1px solid #d7e0ea;border-radius:8px;background:#fff;padding:10px 14px;box-shadow:0 16px 42px #18222d12}.top-bar-hub{width:100%;min-height:var(--hub-topbar-height);grid-template-columns:290px minmax(0,1fr) auto;gap:0;margin:0;border:0;border-radius:0;box-shadow:none;padding:0 14px 0 0}.hub-topbar-left{min-height:var(--hub-topbar-height);display:grid;place-items:center start;text-decoration:none;border-right:0;padding:8px 14px}.hub-topbar-left img{display:block;width:58px;height:58px;object-fit:contain;object-position:center;border-radius:50%;background:#fff;padding:3px;box-shadow:none}.google-login{width:fit-content;min-height:42px;display:inline-flex;gap:10px;align-items:center;border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:#263442;cursor:pointer;font-weight:800;padding:0 14px}.google-login:hover{border-color:#4285f4;box-shadow:inset 0 0 0 2px #4285f41f}.donation-trigger{min-height:44px;border:1px solid #e1b860;border-radius:7px;background:#fffaf0;color:#835200;cursor:pointer;font-size:.82rem;font-weight:900;padding:0 12px}.donation-trigger:hover{border-color:#d9a53f;background:#fff3da}.google-logo{width:22px;height:22px;flex:0 0 auto}.site-title{display:grid;justify-items:center;gap:2px;text-align:center}.site-title strong{color:#183451;font-size:1.05rem}.site-title span{color:#667586;font-size:.82rem;font-weight:700}.hub-top-spacer{min-height:var(--hub-topbar-height)}.top-right{justify-self:end;display:flex;align-items:center;gap:12px}.language-dropdown{position:relative}.language-trigger{min-height:44px;min-width:165px;display:inline-flex;align-items:center;gap:10px;border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:#253342;cursor:pointer;font-weight:800;padding:0 12px}.language-trigger:hover{border-color:#4c8f7d}.language-trigger-label{flex:1 1 auto;text-align:left}.chevron-icon{width:18px;height:18px;flex:0 0 auto;color:#5f6f82}.flag-icon{width:24px;height:24px;flex:0 0 auto;object-fit:cover}.flag-icon.is-round{border-radius:50%}.language-menu{width:260px;position:absolute;right:0;top:calc(100% + 6px);z-index:24;border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 20px 46px #18222d24;padding:8px}.language-search{width:100%;min-height:36px;border:1px solid #cfd8e3;border-radius:6px;outline:none;padding:0 10px}.language-search:focus{border-color:#4c8f7d;box-shadow:0 0 0 2px #4c8f7d1f}.language-list{display:grid;gap:4px;margin:8px 0 0;padding:0;list-style:none}.language-list button{width:100%;min-height:38px;display:inline-flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:6px;background:#fff;color:#253342;cursor:pointer;font-weight:700;padding:0 8px}.language-list button:hover{border-color:#d6e3ef;background:#f6fbff}.language-list button.is-active-language{border-color:#214e78;background:#214e7814}.language-empty{margin:10px 0 4px;color:#667586;font-size:.84rem;font-weight:700;text-align:center}.company-logo{width:170px;min-width:170px;min-height:64px;display:grid;place-items:center;background:transparent;padding:0;overflow:hidden}.company-logo img{display:block;width:190px;height:62px;object-fit:contain;object-position:center;transform:scale(1);transform-origin:center}.home-layout{width:min(100%,1260px);display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start;margin:0 auto}.game-panel{min-width:0}.auth-feedback{width:min(100%,1260px);margin:0 auto 14px;border:1px solid rgba(179,67,52,.35);border-radius:8px;background:#d94f3f14;color:#8a1f16;font-size:.9rem;font-weight:800;padding:10px 12px}.hub-loading{width:min(100%,1260px);min-height:180px;display:grid;place-items:center;margin:0 auto;border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 16px 42px #18222d12;color:#324960;font-weight:800}.hub-shell{width:100%;display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;align-items:stretch;height:calc(100dvh - var(--hub-topbar-height));margin:0}.hub-sidebar,.hub-content{border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 16px 42px #18222d12}.hub-sidebar{position:sticky;top:0;height:100%;min-height:100%;border-top:0;border-left:0;border-radius:0;padding:0;overflow-y:auto}.hub-user{display:grid;justify-items:start;gap:5px;margin:0;padding:14px;border-bottom:1px solid #e0e7ef;position:relative}.hub-user img{width:58px;height:58px;border:1px solid #d7e0ea;border-radius:50%;object-fit:cover;object-position:center}.hub-user strong{color:#25384c;font-size:.95rem}.hub-user small{color:#67778b;font-size:.76rem}.hub-collapse-button{width:28px;height:28px;position:absolute;top:12px;right:10px;border:1px solid #cfdae7;border-radius:7px;background:#fff;color:#2b3c50;cursor:pointer;font-size:1rem;font-weight:900;line-height:1;padding:0}.hub-collapse-button:hover{border-color:#4c8f7d;color:#1f6a56}.hub-menu-title{margin:0 0 8px;padding:8px 14px 2px;border-bottom:0;color:#6b7b8e;font-size:.68rem;font-weight:800;text-transform:uppercase}.hub-menu{display:grid;gap:0}.hub-menu button{min-height:40px;border:0;border-bottom:1px solid #e0e7ef;border-radius:0;background:#fff;color:#2a3c50;cursor:pointer;font-size:.86rem;font-weight:800;text-align:left;padding:0 14px;display:inline-flex;align-items:center;gap:10px}.hub-menu button:hover{background:#f5fbff;color:#1f6a56}.hub-menu button.is-active{background:#214e781a;box-shadow:inset 3px 0 #214e78;color:#214e78}.hub-menu-icon{width:18px;height:18px;flex:0 0 auto}.hub-menu-label{display:inline}.hub-collapsed .top-bar-hub{grid-template-columns:84px minmax(0,1fr) auto}.hub-collapsed .hub-shell{grid-template-columns:84px minmax(0,1fr)}.hub-collapsed .hub-user{justify-items:center;padding:12px 8px}.hub-collapsed .hub-user strong,.hub-collapsed .hub-user small,.hub-collapsed .hub-menu-title{display:none}.hub-collapsed .hub-topbar-left{place-items:center;padding:0 8px}.hub-collapsed .hub-topbar-left img{width:50px;height:50px;object-fit:cover;object-position:center 52%}.hub-collapsed .hub-collapse-button{position:static;margin-top:2px}.hub-collapsed .hub-menu button{justify-content:center;padding:0}.hub-collapsed .hub-menu-label{display:none}.hub-content{min-height:0;height:calc(100% - 12px);overflow-y:auto;padding:24px;margin:12px 16px 16px 0}.hub-content-header{display:grid;gap:8px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #dfe7f2}.hub-content-header-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.hub-content-header h1{margin:0;color:#1a2c3f;font-size:2rem;line-height:1.05}.hub-moriarty-chip{min-height:36px;display:inline-flex;align-items:center;border:1px solid #d7e0ea;border-radius:999px;background:#f8fbff;color:#a2aebc;font-size:.92rem;font-weight:900;letter-spacing:0;padding:0 12px;white-space:nowrap}.hub-home-layout{display:grid;gap:14px}.hub-score-card{min-height:248px;display:grid;align-content:start;gap:12px;border:1px solid #d7e0ea;border-radius:8px;background:linear-gradient(180deg,#f8fbff,#fff);padding:14px}.hub-score-title{margin:0;color:#5b6c80;font-size:.9rem;font-weight:800}.hub-score-main{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.2fr) minmax(180px,1fr);align-items:center;gap:12px}.hub-general-rank-block{min-height:210px;display:grid;justify-items:center;align-content:center;gap:6px;padding:12px 10px}.hub-general-rank-block p{margin:0;color:#60748a;font-size:.8rem;font-weight:800}.hub-rank-image{width:124px;height:124px;object-fit:contain;object-position:center}.hub-rank-name{color:#1f3142;font-size:1rem}.hub-division-highlight{min-height:168px;display:grid;justify-items:center;align-content:center;gap:4px;text-align:center;padding:10px 8px}.hub-division-highlight p{margin:0;color:#60748a;font-size:.74rem;font-weight:800}.hub-division-highlight img{width:84px;height:84px;object-fit:contain;object-position:center}.hub-division-highlight strong{color:#1f3142;font-size:.86rem;line-height:1.2}.hub-division-highlight small{color:#60748a;font-size:.74rem;font-weight:700}.hub-score-value{color:#173750;font-size:2.8rem;line-height:1}.hub-mode-grid{display:grid;grid-template-columns:1fr;gap:12px}.hub-daily-card{border:1px solid #d7e0ea;border-radius:8px;background:#f8fbff;padding:12px}.hub-daily-button{width:min(100%,340px);min-height:52px;display:grid;place-items:center;margin:0 auto;border:1px solid #ced8e6;border-radius:8px;background:#fff;color:#1f3142;cursor:pointer;font-size:1rem;font-weight:900}.hub-daily-button:hover:not(:disabled){border-color:#6b9abf;background:#f7fbff}.hub-daily-button:disabled{cursor:default;opacity:.7}.hub-daily-summary{display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:12px;align-items:start}.hub-daily-recent p{margin:0 0 8px;color:#60748a;font-size:.82rem;font-weight:800}.hub-daily-days{display:flex;flex-wrap:wrap;gap:6px}.hub-daily-day{min-height:28px;display:inline-flex;align-items:center;border:1px solid #d1dbe8;border-radius:999px;background:#fff;color:#4e637a;font-size:.74rem;font-weight:800;padding:0 8px}.hub-daily-day.is-completed{border-color:#89c8a1;background:#e9f8ef;color:#2d6d46}.hub-daily-day.is-surrendered{border-color:#b7cbe0;background:#eef5fc;color:#385470}.hub-daily-day.is-today{border-color:#8db3d8;box-shadow:inset 0 0 0 1px #8db3d8}.hub-daily-streak{min-height:110px;display:grid;justify-items:center;align-content:center;gap:4px;border:1px solid #d1dbe8;border-radius:8px;background:#fff;padding:8px}.hub-daily-streak small{color:#5f7389;font-size:.74rem;font-weight:800}.hub-daily-streak strong{color:#1d3042;font-size:1.58rem;line-height:1}.hub-session-panel{display:grid;gap:12px}.hub-mode-card{border:1px solid #d7e0ea;border-radius:8px;background:#f8fbff;padding:12px}.hub-mode-card h2{margin:0 0 10px;color:#204a73;font-size:1.05rem}.hub-mode-empty{margin:0;color:#5d7086;font-size:.88rem}.hub-mode-option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.hub-mode-option-grid li{min-width:0}.hub-mode-option{width:100%;min-height:76px;position:relative;display:grid;justify-items:start;align-content:start;gap:4px;border:1px solid #d7e2ef;border-radius:8px;background:#fff;color:#203244;cursor:pointer;text-align:left;padding:10px;transition:border-color .13s ease,box-shadow .13s ease,transform .13s ease,background-color .13s ease}.hub-mode-option:hover{border-color:#6b9abf;background:#f7fbff;box-shadow:0 8px 24px #142b411f;transform:translateY(-1px)}.hub-mode-option:disabled{cursor:default;opacity:.66;box-shadow:none;transform:none}.hub-mode-option:focus-visible{outline:none;border-color:#2e6ea4;box-shadow:0 0 0 2px #2e6ea429}.hub-mode-option strong{color:#1f3042;font-size:.88rem;line-height:1.2;padding-right:52px}.hub-mode-option small{color:#5d738b;font-size:.72rem;font-weight:800}.hub-mode-option-multiplier{min-height:26px;position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;border:1px solid #c6d7ea;border-radius:999px;background:#f4f9ff;color:#1f5f8f;cursor:help;font-size:.8rem;font-weight:900;padding:0 8px;white-space:nowrap}.hub-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hub-card{min-height:168px;border:1px solid #d7e0ea;border-radius:8px;background:#f8fbff;padding:14px}.hub-card h2{margin:0 0 8px;color:#214e78;font-size:1.06rem}.hub-card p{margin:0;color:#4d5e72;font-size:.9rem;line-height:1.5}.hub-card ul{margin:0;color:#4d5e72;font-size:.9rem;line-height:1.6;padding-left:18px}.hub-profile-error{margin:12px 0 0;color:#a42c25;font-size:.86rem;font-weight:700}.hub-section-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}.hub-ad-empty{min-height:280px;border:1px dashed #d7e0ea;border-radius:8px;background:transparent}.hub-profile-card,.hub-ranking-card,.hub-ranking-highlights,.hub-points-card,.hub-history-card,.hub-friends-card,.hub-train-card{min-height:300px}.profile-form-inline{gap:12px}.hub-inline-actions{display:flex;flex-wrap:wrap;gap:8px}.hub-inline-actions button.danger{border-color:#d7a8a8;color:#9f2b2b}.hub-subtitle{margin:10px 0 8px;color:#234867;font-size:.84rem;font-weight:800}.hub-empty-copy{margin:0;color:#5f748a;font-size:.85rem;font-weight:700}.hub-ranking-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.hub-ranking-categories button{min-height:34px;border:1px solid #cfdae7;border-radius:999px;background:#fff;color:#2b3f54;font-size:.8rem;font-weight:800;padding:0 10px}.hub-ranking-categories button.is-active{border-color:#739bc3;background:#ebf5ff;color:#1d4f7a}.hub-ranking-position-line{margin:0 0 10px;color:#4d6075;font-size:.88rem;font-weight:700}.hub-ranking-board-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.hub-ranking-board-list li{min-height:48px;display:flex;align-items:center;gap:8px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:8px}.hub-ranking-highlights ul,.hub-ranking-highlights-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.hub-ranking-highlights li{min-height:52px;display:grid;gap:2px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:8px}.hub-ranking-mini-podium{display:grid;gap:2px}.hub-ranking-mini-podium span{color:#355474;font-size:.78rem;font-weight:700}.hub-points-list,.hub-history-list,.hub-train-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.hub-points-list li,.hub-history-list li,.hub-train-list li{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:8px}.hub-points-list li div,.hub-history-list li div,.hub-train-list li div{min-width:0;display:grid;gap:2px}.hub-points-list strong,.hub-history-list strong,.hub-train-list strong{color:#1e3347;font-size:.9rem}.hub-points-list small,.hub-history-list small,.hub-train-list small{color:#5c7289;font-size:.76rem;font-weight:700}.hub-points-rank-image{width:46px;height:46px;object-fit:contain;object-position:center}.hub-points-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-points-columns section{border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:8px}.hub-points-columns h4{margin:0 0 8px;color:#21496f;font-size:.82rem}.hub-train-list button{min-height:30px;border:1px solid #c9d8e8;border-radius:8px;background:#f7fbff;color:#204d75;font-size:.78rem;font-weight:800;padding:0 10px}.hub-inline-form{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.hub-inline-form input{flex:1 1 220px;min-height:38px;border:1px solid #cfdcea;border-radius:8px;background:#fff;color:#203346;font-size:.9rem;padding:0 10px}.hub-inline-form button{min-height:38px;border:1px solid #c9d8e8;border-radius:8px;background:#f7fbff;color:#204d75;font-size:.82rem;font-weight:800;padding:0 12px}.hub-friends-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hub-friends-columns section{border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:8px}.hub-friends-columns h3{margin:0 0 8px;color:#21496f;font-size:.82rem}.hub-friends-columns ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.hub-friends-columns li{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px}.hub-friends-columns li span{color:#29445d;font-size:.82rem;font-weight:700}.hub-friends-columns li button{min-height:28px;border:1px solid #c9d8e8;border-radius:8px;background:#f7fbff;color:#204d75;font-size:.75rem;font-weight:800;padding:0 8px}.hub-empty-list{min-height:30px;color:#68829d;font-size:.78rem;font-weight:700}.round-result-overlay{position:fixed;inset:0;z-index:88;display:grid;place-items:center;background:#080c12ad;padding:16px}.round-result-modal{width:min(100%,360px);display:grid;justify-items:center;gap:8px;border:1px solid #d5deea;border-radius:8px;background:#fff;padding:18px 16px}.round-result-trophy{width:44px;height:44px}.round-result-trophy.is-win{color:#c99212}.round-result-trophy.is-loss{color:#7f8795}.round-result-label{margin:0;color:#2c3b4b;font-size:.92rem;font-weight:900}.round-result-points{font-size:2rem;line-height:1}.round-result-points.is-win{color:#8e5f00}.round-result-points.is-loss{color:#4f5868}.round-result-breakdown{width:100%;display:grid;gap:4px}.round-result-breakdown small{color:#53677e;font-size:.78rem;font-weight:700;text-align:center}.round-result-close{min-height:40px;border:1px solid #cbd7e5;border-radius:7px;background:#fff;color:#1f3245;cursor:pointer;font-size:.9rem;font-weight:800;padding:0 16px}.round-result-close:hover{border-color:#23715a;color:#1f6a56}.session-resume-pill{position:fixed;left:16px;bottom:16px;z-index:72;min-height:68px;min-width:282px;display:inline-flex;align-items:center;gap:12px;border:2px solid #d83434;border-radius:8px;background:#fff;color:#5f0f0f;box-shadow:0 16px 32px #d8343447,0 0 #d8343480;padding:10px 14px;animation:session-resume-pulse 1.4s ease-in-out infinite}.session-resume-pill .hub-menu-icon{width:22px;height:22px;color:#b01b1b}.session-resume-pill span{display:grid;gap:2px;text-align:left}.session-resume-pill strong{font-size:.94rem;font-weight:900}.session-resume-pill small{color:#8b2626;font-size:.78rem;font-weight:700}.guest-finish-overlay{position:fixed;inset:0;z-index:87;display:grid;place-items:center;background:#080c12a8;padding:16px}.guest-finish-modal{width:min(100%,400px);display:grid;gap:10px;border:1px solid #d5deea;border-radius:8px;background:#fff;padding:18px}.guest-finish-modal h3{margin:0;color:#1a2c3f;font-size:1.15rem}.guest-finish-modal p{margin:0;color:#5f7084;font-size:.9rem;line-height:1.45}.guest-finish-modal .google-login{width:100%;justify-content:center;margin-top:2px}.guest-finish-later{min-height:38px;border:1px solid #cbd7e5;border-radius:7px;background:#fff;color:#1f3245;cursor:pointer;font-size:.85rem;font-weight:800;padding:0 16px}.guest-finish-later:hover{border-color:#23715a;color:#1f6a56}.donation-modal-overlay{position:fixed;inset:0;z-index:89;display:grid;place-items:center;background:#080c12ad;padding:16px}.donation-modal{width:min(100%,420px);display:grid;gap:10px;border:1px solid #d5deea;border-radius:8px;background:#fff;padding:18px}.donation-modal h3{margin:0;color:#1a2c3f;font-size:1.1rem}.donation-modal p{margin:0;color:#5f7084;font-size:.9rem;line-height:1.45}.donation-modal-cta{min-height:42px;border:1px solid #214e78;border-radius:7px;background:#214e78;color:#fff;cursor:pointer;font-size:.9rem;font-weight:900;padding:0 14px}.donation-modal-cta:hover{border-color:#18517f;background:#1b5a8c}.donation-modal small{margin:0;color:#7f8a97;font-size:.74rem;font-weight:700;line-height:1.45}.donation-modal-close{min-height:38px;border:1px solid #cbd7e5;border-radius:7px;background:#fff;color:#1f3245;cursor:pointer;font-size:.84rem;font-weight:800;padding:0 14px}.donation-modal-close:hover{border-color:#23715a;color:#1f6a56}.platform-loader-overlay{position:fixed;inset:0;z-index:98;display:grid;place-items:center;background:#0a121bbd;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:20px}.platform-loader-shell{width:min(100%,360px);display:grid;justify-items:center;gap:8px;border:1px solid #d4e0ee;border-radius:12px;background:#fffffff5;box-shadow:0 24px 42px #080e1652;padding:22px 18px}.platform-loader-shell p{margin:0;color:#1f3246;font-size:.96rem;font-weight:900;text-align:center}.platform-loader-shell small{margin:0;color:#5f738a;font-size:.8rem;font-weight:700}.platform-loader-rings{width:72px;height:72px;position:relative}.platform-loader-ring{position:absolute;inset:0;border:3px solid transparent;border-top-color:#2f6aa0;border-radius:50%;animation:platform-loader-spin 1.2s linear infinite}.platform-loader-ring.ring-two{inset:8px;border-top-color:#3aa483;animation-duration:1s;animation-direction:reverse}.platform-loader-ring.ring-three{inset:16px;border-top-color:#d98d23;animation-duration:.86s}@keyframes platform-loader-spin{to{transform:rotate(360deg)}}@keyframes session-resume-pulse{0%{transform:translateY(0);box-shadow:0 16px 32px #d8343447,0 0 #d834347a}50%{transform:translateY(-1px);box-shadow:0 20px 34px #d8343457,0 0 0 8px #d8343424}to{transform:translateY(0);box-shadow:0 16px 32px #d8343447,0 0 #d8343405}}.profile-modal-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#0d15208a;padding:20px}.profile-modal{width:min(100%,500px);display:grid;gap:10px;border:1px solid #d2deec;border-radius:8px;background:#fff;padding:18px}.profile-modal h2{margin:0;color:#1a2c3f;font-size:1.3rem}.profile-modal p{margin:0;color:#607184;font-size:.9rem}.profile-form{display:grid;gap:12px;margin-top:2px}.profile-form label{display:grid;gap:6px}.profile-form label span,.profile-form legend{color:#1f3852;font-size:.84rem;font-weight:800}.profile-form input[type=text],.profile-form input[type=date],.profile-form input[type=url]{width:100%;min-height:40px;border:1px solid #c8d5e5;border-radius:6px;background:#fff;color:#1f3144;font-size:.9rem;padding:0 10px}.profile-form input[type=text]:focus,.profile-form input[type=date]:focus,.profile-form input[type=url]:focus{outline:none;border-color:#2e6ea4;box-shadow:0 0 0 2px #2e6ea41f}.profile-form input[type=file]{width:100%;border:1px solid #c8d5e5;border-radius:6px;background:#fff;color:#1f3144;font-size:.84rem;padding:8px 10px}.profile-photo-choice{margin:0;border:1px solid #d8e2ef;border-radius:6px;padding:10px;display:grid;gap:8px}.profile-photo-choice label{display:inline-flex;align-items:center;gap:8px}.profile-photo-choice input[type=radio]{margin:0}.profile-upload-field{gap:8px}.profile-upload-hint{color:#66778b;font-size:.76rem;font-weight:700}.profile-upload-preview{width:78px;height:78px;border:1px solid #d5dfec;border-radius:50%;object-fit:cover;object-position:center}.profile-form-error{margin:0;color:#a42c25;font-size:.84rem;font-weight:700}.profile-save{min-height:40px;border:1px solid #214e78;border-radius:6px;background:#214e78;color:#fff;cursor:pointer;font-size:.9rem;font-weight:800;padding:0 12px}.profile-save:disabled{cursor:default;opacity:.7}.right-rail{display:grid;gap:12px;align-content:start;position:sticky;top:18px;align-self:start;max-height:calc(100vh - 18px);overflow-y:auto;padding-right:2px}.game-header,.status-bar,.word-strip,.board-card,.ranking-panel{border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 16px 42px #18222d12}.game-header{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:center;padding:18px}.eyebrow{margin:0 0 7px;color:#23715a;font-size:.76rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.game-header h1,.ranking-header h2{margin:0;color:#1a2c3f;line-height:1}.game-header h1{font-size:2.5rem}.mode-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mode-selector button,.ranking-tabs button,.game-actions button{border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:#263442;cursor:pointer;font-weight:800}.mode-selector button{min-height:58px;display:grid;align-content:center;gap:3px;padding:8px 10px}.mode-selector button small{color:#718196;font-size:.75rem;font-weight:900}.mode-selector button:hover,.ranking-tabs button:hover,.game-actions button:hover:not(:disabled){border-color:#4c8f7d;color:#1e6b57}.mode-selector button.is-active{border-color:#214e78;background:#214e78;color:#fff}.mode-selector button.is-active small{color:#ffffffc2}.status-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:12px;padding:12px 16px}.status-bar span{min-width:0;color:#4c5c70;font-weight:700}.status-bar strong{color:#214e78;white-space:nowrap}.word-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:12px}.word-chip{min-height:34px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:6px;background:#f3f7fb;color:#263442;font-size:.86rem;font-weight:900;padding:7px 10px}.word-chip img{display:block;width:auto;height:20px;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}.word-chip.is-found{border-color:#23715a59;background:#28a77424;color:#1e6b57}.word-chip.is-found img{opacity:.54}.word-chip.is-revealed{border-color:#214e7840;background:#3478b424}.word-chip.is-hinted{border-color:#d94f3f8c}.board-card{margin-top:12px;padding:16px}.game-header[class*=game-theme-],.status-bar[class*=game-theme-],.word-strip[class*=game-theme-],.board-card[class*=game-theme-]{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.game-header.game-theme-forest,.status-bar.game-theme-forest,.word-strip.game-theme-forest,.board-card.game-theme-forest{border-color:#c6e0d1;background:linear-gradient(180deg,#f7fcf8,#edf7f0)}.game-header.game-theme-ocean,.status-bar.game-theme-ocean,.word-strip.game-theme-ocean,.board-card.game-theme-ocean{border-color:#c6d9ec;background:linear-gradient(180deg,#f7fbff,#edf5fd)}.game-header.game-theme-ember,.status-bar.game-theme-ember,.word-strip.game-theme-ember,.board-card.game-theme-ember{border-color:#e5d3c5;background:linear-gradient(180deg,#fffbf8,#f8f0e8)}.game-header.game-theme-violet,.status-bar.game-theme-violet,.word-strip.game-theme-violet,.board-card.game-theme-violet{border-color:#d6cde8;background:linear-gradient(180deg,#fbf9ff,#f2eefb)}.board{width:min(100%,780px);aspect-ratio:1;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));gap:4px;margin:0 auto}.letter-cell{aspect-ratio:1;display:grid;place-items:center;border:1px solid #cfdae6;border-radius:5px;background:#f8fbff;color:#243447;cursor:pointer;font-size:.95rem;font-weight:900;line-height:1;padding:0;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease,color .12s ease}.letter-cell img{display:block;width:76%;height:76%;pointer-events:none;-webkit-user-select:none;user-select:none}.letter-cell:hover{border-color:#4c8f7d;box-shadow:inset 0 0 0 2px #4c8f7d29}.letter-cell.is-selected{border-color:#bf7600b3;background:#f7b73157;box-shadow:inset 0 -11px #f7b73138}.letter-cell.is-found{border-color:#23715ab8;background:#28a77440;color:#124536}.letter-cell.is-revealed{border-color:#214e789e;background:#3478b438;color:#173f62}.letter-cell.is-hint{border-color:#d94f3f;background:#e55b494d;box-shadow:inset 0 0 0 2px #d94f3f3d,0 0 0 3px #d94f3f1f}.game-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.game-actions button{min-height:42px;padding:0 14px}.game-actions button:disabled{cursor:not-allowed;opacity:.5}.game-actions .primary-action{border-color:#214e78;background:#214e78;color:#fff}.ranking-panel{position:static;padding:18px}.ranking-header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.ranking-header h2{font-size:1.65rem}.ranking-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.ranking-tabs button{min-height:38px}.ranking-tabs button.is-active{border-color:#23715a;background:#23715a;color:#fff}.ranking-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.ranking-list li{min-height:58px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;border:1px solid #e0e7ef;border-radius:8px;background:#f8fafc;padding:9px}.ranking-list li.is-podium{background:#fff;box-shadow:0 10px 26px #18222d14}.rank-medal{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d6dee8;color:#25313f;font-weight:1000}.rank-medal.gold{background:linear-gradient(135deg,#f8d66d,#b98114);color:#3c2a00}.rank-medal.silver{background:linear-gradient(135deg,#f1f4f7,#9daab7);color:#26313d}.rank-medal.bronze{background:linear-gradient(135deg,#e9b277,#9b5a24);color:#2c1708}.rank-player{min-width:0;display:grid;gap:2px}.rank-player-main{min-width:0;display:inline-flex;align-items:center;gap:8px}.rank-player strong{overflow:hidden;color:#243447;text-overflow:ellipsis;white-space:nowrap}.rank-player small{color:#667586;font-weight:900}.rank-flag{width:20px;height:20px;border-radius:50%;border:1px solid #d6e1ec;object-fit:cover;flex:0 0 auto}.ad-slot{width:100%;display:grid;place-items:center;border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 10px 24px #18222d0d;overflow:hidden}.ad-slot-placeholder{width:100%;height:100%;min-height:inherit;border-radius:6px;background:#94a3b821}.ad-slot-side{min-height:266px;padding:8px}.ad-slot-bottom{width:min(100%,1260px);min-height:108px;margin:18px auto 0;padding:8px}.site-footer{width:min(100%,1260px);display:grid;gap:12px;margin:14px auto 0;border:1px solid #d7e0ea;border-radius:8px;background:#fff;box-shadow:0 16px 42px #18222d12;padding:16px}.ad-slot-bottom,.site-footer{content-visibility:auto;contain-intrinsic-size:1px 360px}.footer-header{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}.footer-heading{min-width:0;display:grid;gap:6px}.footer-eyebrow{margin:0;color:#23715a;font-size:.74rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.footer-heading h3{margin:0;color:#1a2c3f;font-size:1.2rem}.footer-summary{margin:0;color:#4a5b6e;font-size:.9rem;line-height:1.5}.footer-brand-corner{min-height:104px;display:grid;place-items:center;border:1px solid #e1e8f2;border-radius:22px;background:#fff;box-shadow:0 12px 26px #16212e1a;padding:8px;overflow:hidden}.footer-brand-link{color:inherit;text-decoration:none}.footer-brand-corner img{display:block;width:270px;height:94px;object-fit:contain;object-position:center;transform:scale(1)}.footer-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.footer-card{min-width:0;min-height:144px;display:grid;align-content:start;gap:6px;border:1px solid #cfdcf0;border-radius:8px;background:#f8fbff;padding:12px}.footer-card h4{margin:0 0 2px;color:#1f4a78;font-size:1.02rem;font-weight:700}.footer-card p{margin:0;color:#45596f;font-size:.84rem;line-height:1.45}.footer-card p span{color:#1f3954;font-weight:800}.footer-card a{color:#1f4a78;font-weight:800;text-decoration:none}.footer-card a:hover{text-decoration:underline}.footer-social-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}.footer-social-link{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c1d4ec;border-radius:50%;background:#fff;color:#214e78}.footer-social-link:hover{border-color:#4c8f7d;color:#23715a}.social-icon{width:18px;height:18px}.footer-bottom{border-top:1px dashed #d7e0ea;padding-top:10px;text-align:center}.footer-bottom small{color:#6c7c90;font-size:.78rem;font-weight:700}@media(max-width:1060px){.top-bar,.home-layout,.game-header,.status-bar{grid-template-columns:1fr}.site-title{justify-items:start;text-align:left}.company-logo{justify-self:stretch}.top-right{justify-self:start;width:100%;flex-wrap:wrap}.app-shell-hub .top-bar-hub{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 12px}.app-shell-hub .hub-topbar-left{min-height:auto;border-right:0;border-bottom:0;place-items:center start;padding:4px 0}.app-shell-hub .hub-topbar-left img{width:58px;height:58px;object-fit:contain;object-position:center;border-radius:50%;background:#fff;box-shadow:none;padding:3px}.app-shell-hub .top-right-hub{width:auto;justify-self:end;display:grid;grid-template-columns:auto auto;grid-template-areas:"theme company" "language company";align-items:center;justify-items:end;column-gap:8px;row-gap:6px}.app-shell-hub .top-right-hub .theme-trigger{min-height:38px;min-width:38px;grid-area:theme}.app-shell-hub .top-right-hub .language-dropdown{width:auto;grid-area:language}.app-shell-hub .top-right-hub .language-trigger{min-height:38px;min-width:52px;gap:6px;padding:0 8px}.app-shell-hub .top-right-hub .language-trigger-label{display:none}.app-shell-hub .top-right-hub .flag-icon{width:20px;height:20px}.app-shell-hub .top-right-hub .chevron-icon{width:14px;height:14px}.app-shell-hub .top-right-hub .company-logo,.app-shell-hub .top-right-hub .company-logo-hub{width:74px;min-width:74px;min-height:74px;grid-area:company;place-items:center}.app-shell-hub .top-right-hub .company-logo img,.app-shell-hub .top-right-hub .company-logo-hub img{width:74px;height:74px;object-fit:contain;object-position:center;border-radius:50%;background:#fff;box-shadow:0 10px 22px #131e2a2e;padding:7px}.ranking-panel{position:static}.right-rail{width:100%;position:static;max-height:none;overflow:visible;padding-right:0}.hub-shell{grid-template-columns:1fr;gap:8px}.app-shell-hub .hub-sidebar{position:static;height:auto;min-height:0;top:0;border-left:1px solid #d7e0ea;border-radius:8px;padding:8px;overflow:visible}.app-shell-hub .hub-user,.app-shell-hub .hub-menu-title,.app-shell-hub .hub-collapse-button{display:none}.app-shell-hub .hub-menu{display:flex;align-items:stretch;gap:8px;overflow-x:auto;padding:0 0 2px;scrollbar-width:thin}.app-shell-hub .hub-menu button{min-width:48px;min-height:44px;border:1px solid #d7e0ea;border-radius:8px;border-bottom:1px solid #d7e0ea;text-align:center;justify-content:center;padding:0 10px;flex:0 0 auto}.app-shell-hub .hub-menu button.is-active{box-shadow:inset 0 0 0 2px #214e7833}.app-shell-hub .hub-menu-icon{width:20px;height:20px}.app-shell-hub .hub-menu-label{display:none}.app-shell-hub .hub-content{height:100%;margin:0}.hub-cards{grid-template-columns:1fr}.hub-score-main{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-general-rank-block{grid-column:1 / -1}.hub-mode-grid,.hub-section-grid{grid-template-columns:1fr}.hub-ad-empty{min-height:120px}.hub-points-columns,.hub-friends-columns,.hub-daily-summary{grid-template-columns:1fr}.hub-daily-streak{min-height:86px}.hub-mode-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-slot-bottom{margin-top:14px}.site-footer{gap:10px}.footer-header{grid-template-columns:1fr}.footer-brand-corner{width:min(100%,340px);justify-self:start}.footer-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-cards .footer-card:nth-child(3){grid-column:1 / -1}.top-bar-hub{grid-template-columns:1fr;gap:8px;padding:10px 14px}.hub-topbar-left{min-height:auto;border-right:0;border-bottom:0;place-items:center start;padding:0 0 8px}.hub-top-spacer{display:none}}@media(max-width:720px){.app-shell{padding:14px}.app-shell-hub{padding:0}.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.language-dropdown,.language-trigger{width:100%}.app-shell-hub .top-right-hub .language-dropdown,.app-shell-hub .top-right-hub .language-trigger{width:auto}.language-menu{width:100%;left:0;right:auto}.game-header h1{font-size:2.1rem}.hub-content{padding:12px;margin:0}.hub-score-main{grid-template-columns:1fr}.hub-daily-button{width:100%}.hub-general-rank-block{min-height:196px}.hub-rank-image{width:108px;height:108px}.hub-division-highlight img{width:74px;height:74px}.hub-content-header h1{font-size:1.62rem}.hub-content-header-main{flex-wrap:wrap}.hub-score-value{font-size:2.3rem}.hub-mode-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.board-card{padding:10px}.board{gap:2px}.letter-cell{border-radius:3px;font-size:.68rem}.company-logo img{width:min(100%,198px);height:64px;object-fit:contain;transform:scale(1)}.app-shell-hub .top-right-hub .company-logo img,.app-shell-hub .top-right-hub .company-logo-hub img,.app-shell-hub .hub-topbar-left img{width:62px;height:62px;padding:7px}.app-shell-hub .hub-topbar-left img{width:56px;height:56px;padding:2px}.ad-slot-side{min-height:210px}.ad-slot-bottom{min-height:94px;padding:4px}.game-header,.status-bar,.word-strip,.board-card,.ranking-panel,.ad-slot,.site-footer{box-shadow:0 8px 20px #18222d0f}.session-resume-pill{left:10px;right:10px;bottom:10px;justify-content:center;min-width:0}.footer-heading h3{font-size:1.08rem}.footer-summary{font-size:.84rem}.footer-cards{grid-template-columns:1fr}.footer-cards .footer-card:nth-child(3){grid-column:auto}.footer-brand-corner{min-height:88px}.footer-brand-corner img{width:min(100%,238px);height:84px}}@media(max-width:980px)and (orientation:landscape){.app-shell-hub .hub-session-panel{grid-template-columns:minmax(0,1fr) minmax(210px,34vw);grid-template-areas:"status status" "board words" "actions words";align-items:start;gap:8px}.app-shell-hub .hub-session-panel .status-bar{grid-area:status;grid-template-columns:minmax(0,1fr) auto;margin-top:0;padding:10px 12px}.app-shell-hub .hub-session-panel .board-card{grid-area:board;margin-top:0;padding:8px}.app-shell-hub .hub-session-panel .board{width:min(100%,64vh);gap:2px}.app-shell-hub .hub-session-panel .word-strip{grid-area:words;margin-top:0;align-content:start;max-height:min(62vh,420px);overflow:auto;padding:8px}.app-shell-hub .hub-session-panel .game-actions{grid-area:actions;margin-top:0}.app-shell-hub .hub-session-panel .word-chip{font-size:.76rem}.app-shell-hub .hub-session-panel .letter-cell{font-size:clamp(.56rem,1.35vw,.82rem)}}body.dark-theme{color-scheme:dark;background:#0b1118;color:#d9e4f1}body.dark-theme .top-bar,body.dark-theme .hub-loading,body.dark-theme .hub-sidebar,body.dark-theme .hub-content,body.dark-theme .game-header,body.dark-theme .status-bar,body.dark-theme .word-strip,body.dark-theme .board-card,body.dark-theme .ranking-panel,body.dark-theme .site-footer,body.dark-theme .ad-slot,body.dark-theme .hub-mode-card,body.dark-theme .hub-daily-card,body.dark-theme .hub-card,body.dark-theme .hub-score-card,body.dark-theme .round-result-modal,body.dark-theme .guest-finish-modal,body.dark-theme .donation-modal,body.dark-theme .profile-modal,body.dark-theme .language-menu{border-color:#2a3543;background:#121b24;box-shadow:0 14px 30px #03080e73}body.dark-theme .top-bar-hub,body.dark-theme .hub-sidebar,body.dark-theme .hub-topbar-left{background:#101821}body.dark-theme .site-title strong,body.dark-theme .hub-content-header h1,body.dark-theme .game-header h1,body.dark-theme .ranking-header h2,body.dark-theme .footer-heading h3,body.dark-theme .hub-card h2,body.dark-theme .hub-mode-card h2,body.dark-theme .profile-modal h2{color:#eaf2ff}body.dark-theme .site-title span,body.dark-theme .status-bar span,body.dark-theme .word-chip,body.dark-theme .hub-mode-empty,body.dark-theme .hub-card p,body.dark-theme .hub-card ul,body.dark-theme .footer-summary,body.dark-theme .footer-card p,body.dark-theme .footer-bottom small,body.dark-theme .profile-modal p,body.dark-theme .language-empty{color:#a8b8cb}body.dark-theme .google-login,body.dark-theme .donation-trigger,body.dark-theme .language-trigger,body.dark-theme .language-list button,body.dark-theme .mode-selector button,body.dark-theme .ranking-tabs button,body.dark-theme .game-actions button,body.dark-theme .round-result-close,body.dark-theme .guest-finish-later,body.dark-theme .donation-modal-close,body.dark-theme .profile-form input[type=text],body.dark-theme .profile-form input[type=date],body.dark-theme .profile-form input[type=url],body.dark-theme .profile-form input[type=file],body.dark-theme .hub-collapse-button{border-color:#36485b;background:#172230;color:#d9e7f8}body.dark-theme .google-login:hover,body.dark-theme .donation-trigger:hover,body.dark-theme .language-trigger:hover,body.dark-theme .language-list button:hover,body.dark-theme .mode-selector button:hover,body.dark-theme .ranking-tabs button:hover,body.dark-theme .game-actions button:hover:not(:disabled),body.dark-theme .round-result-close:hover,body.dark-theme .guest-finish-later:hover,body.dark-theme .donation-modal-close:hover,body.dark-theme .hub-collapse-button:hover{border-color:#57b893;background:#1c2a39;color:#9ee7cb}body.dark-theme .mode-selector button.is-active,body.dark-theme .ranking-tabs button.is-active,body.dark-theme .game-actions .primary-action,body.dark-theme .donation-modal-cta,body.dark-theme .profile-save{border-color:#4f8cff;background:#2f5ea8;color:#f4f8ff}body.dark-theme .mode-selector button.is-active small{color:#e9f1ffd6}body.dark-theme .language-search{border-color:#36485b;background:#0f1823;color:#d9e7f8}body.dark-theme .language-search:focus,body.dark-theme .profile-form input[type=text]:focus,body.dark-theme .profile-form input[type=date]:focus,body.dark-theme .profile-form input[type=url]:focus{border-color:#57b893;box-shadow:0 0 0 2px #57b89338}body.dark-theme .hub-menu button{border-color:#263545;border-bottom-color:#263545;background:#101821;color:#cfe0f5}body.dark-theme .hub-menu button:hover{background:#152333;color:#9ee7cb}body.dark-theme .hub-menu button.is-active{background:#4f8ce83d;box-shadow:inset 3px 0 #5e9bff;color:#d9e8ff}body.dark-theme .hub-user,body.dark-theme .hub-content-header,body.dark-theme .footer-bottom{border-color:#2a3543}body.dark-theme .hub-user strong,body.dark-theme .hub-rank-name,body.dark-theme .hub-score-value,body.dark-theme .hub-division-highlight strong,body.dark-theme .rank-player strong,body.dark-theme .round-result-label,body.dark-theme .guest-finish-modal h3{color:#e4eefb}body.dark-theme .hub-user img,body.dark-theme .rank-flag,body.dark-theme .profile-upload-preview{border-color:#3a4a5f}body.dark-theme .hub-score-title,body.dark-theme .hub-general-rank-block p,body.dark-theme .hub-division-highlight p,body.dark-theme .hub-division-highlight small,body.dark-theme .round-result-breakdown small,body.dark-theme .guest-finish-modal p,body.dark-theme .donation-modal p,body.dark-theme .donation-modal small{color:#9fb2c8}body.dark-theme .hub-daily-button{border-color:#324255;background:#15212e;color:#e4eefc}body.dark-theme .hub-daily-button:hover:not(:disabled){border-color:#6fa5d1;background:#1a2a3a}body.dark-theme .hub-daily-day,body.dark-theme .hub-daily-streak{border-color:#324357;background:#15212f;color:#cfdff3}body.dark-theme .hub-daily-day.is-completed{border-color:#4f9a70;background:#35724e47;color:#bcecd0}body.dark-theme .hub-daily-day.is-surrendered{border-color:#4e6888;background:#38527657;color:#c8dcf4}body.dark-theme .hub-mode-option{border-color:#324255;background:#15212e;color:#d6e5f9}body.dark-theme .hub-mode-option:hover{border-color:#6fa5d1;background:#1a2a3a;box-shadow:0 8px 20px #02080f73}body.dark-theme .hub-mode-option strong{color:#e4eefc}body.dark-theme .hub-mode-option small{color:#9fb4cb}body.dark-theme .hub-mode-option-multiplier{border-color:#3c5570;background:#17314b;color:#9eceff}body.dark-theme .hub-subtitle,body.dark-theme .hub-friends-columns h3,body.dark-theme .hub-points-columns h4{color:#9ec6f0}body.dark-theme .hub-empty-copy,body.dark-theme .hub-empty-list,body.dark-theme .hub-ranking-highlights li small,body.dark-theme .hub-ranking-mini-podium span,body.dark-theme .hub-history-list small,body.dark-theme .hub-points-list small,body.dark-theme .hub-train-list small{color:#9db3ca}body.dark-theme .hub-ranking-categories button,body.dark-theme .hub-ranking-board-list li,body.dark-theme .hub-ranking-highlights li,body.dark-theme .hub-points-list li,body.dark-theme .hub-history-list li,body.dark-theme .hub-train-list li,body.dark-theme .hub-friends-columns section,body.dark-theme .hub-points-columns section{border-color:#2f4256;background:#162230}body.dark-theme .hub-ranking-categories button{color:#cee1f4}body.dark-theme .hub-ranking-categories button.is-active{border-color:#4f8bd0;background:#1f3a56;color:#d9ecff}body.dark-theme .hub-inline-form input,body.dark-theme .hub-inline-form button,body.dark-theme .hub-train-list button,body.dark-theme .hub-friends-columns li button{border-color:#34506b;background:#172739;color:#d5e7fb}body.dark-theme .word-chip{background:#1a2735;color:#fff}body.dark-theme .word-chip img,body.dark-theme .letter-cell img{opacity:1}body.dark-theme .word-chip.is-found{border-color:#3bb6878c;background:#25846647;color:#fff}body.dark-theme .word-chip.is-found img{opacity:1}body.dark-theme .word-chip.is-hinted{border-color:#fc7d6f99;color:#fff}body.dark-theme .letter-cell{border-color:#33475b;background:#111d2a;color:#fff}body.dark-theme .letter-cell:hover{border-color:#56b791;box-shadow:inset 0 0 0 2px #56b79138}body.dark-theme .letter-cell.is-selected{border-color:#f4b742b8;background:#edaa2f47;box-shadow:inset 0 -10px #edaa2f29}body.dark-theme .letter-cell.is-found{border-color:#3db589b3;background:#248c6a4d;color:#fff}body.dark-theme .letter-cell.is-revealed{border-color:#619cdcb3;background:#366fb84d;color:#fff}body.dark-theme .letter-cell.is-hint{border-color:#ef7263;background:#dc5f513d;color:#fff;box-shadow:inset 0 0 0 2px #ea6d5e52,0 0 0 3px #ea6d5e29}body.dark-theme .ranking-list li{border-color:#2f3d4e;background:#162331}body.dark-theme .ranking-list li.is-podium{background:#1b2b3d;box-shadow:0 8px 20px #02070d66}body.dark-theme .rank-player small,body.dark-theme .hub-menu-title,body.dark-theme .hub-user small{color:#93a7be}body.dark-theme .footer-card{border-color:#304155;background:#172434}body.dark-theme .footer-card h4,body.dark-theme .footer-card p span,body.dark-theme .footer-card a,body.dark-theme .footer-social-link{color:#dbe9ff}body.dark-theme .footer-social-link{border-color:#3c5270;background:#1a2b3d}body.dark-theme .footer-social-link:hover{border-color:#57b893;color:#9ee7cb}body.dark-theme .profile-photo-choice{border-color:#314255;background:#141f2c}body.dark-theme .profile-form legend,body.dark-theme .profile-form label span,body.dark-theme .profile-upload-hint{color:#acc1d8}body.dark-theme .round-result-points.is-win{color:#f2c454}body.dark-theme .round-result-points.is-loss{color:#bfcbdb}body.dark-theme .session-resume-pill{background:#241315;border-color:#ff6565;color:#ffd4d4;box-shadow:0 14px 28px #be1f1f61,0 0 #be1f1f80}body.dark-theme .session-resume-pill .hub-menu-icon,body.dark-theme .session-resume-pill small{color:#ff9b9b}body.dark-theme .platform-loader-shell{border-color:#33465a;background:#101823f5;box-shadow:0 22px 40px #02070e9e}body.dark-theme .platform-loader-shell p{color:#eef5ff}body.dark-theme .platform-loader-shell small{color:#a9bbd1}body.dark-theme .game-header.game-theme-forest,body.dark-theme .status-bar.game-theme-forest,body.dark-theme .word-strip.game-theme-forest,body.dark-theme .board-card.game-theme-forest{border-color:#2b5543;background:linear-gradient(180deg,#13241c,#162b22)}body.dark-theme .game-header.game-theme-ocean,body.dark-theme .status-bar.game-theme-ocean,body.dark-theme .word-strip.game-theme-ocean,body.dark-theme .board-card.game-theme-ocean{border-color:#2d4866;background:linear-gradient(180deg,#122233,#14283d)}body.dark-theme .game-header.game-theme-ember,body.dark-theme .status-bar.game-theme-ember,body.dark-theme .word-strip.game-theme-ember,body.dark-theme .board-card.game-theme-ember{border-color:#3e5674;background:linear-gradient(180deg,#162435,#1c2d42)}body.dark-theme .game-header.game-theme-violet,body.dark-theme .status-bar.game-theme-violet,body.dark-theme .word-strip.game-theme-violet,body.dark-theme .board-card.game-theme-violet{border-color:#4b3e69;background:linear-gradient(180deg,#1f1930,#271f3a)}.theme-trigger{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:#253342;cursor:pointer;padding:0;transition:border-color .2s,background-color .2s}.theme-trigger:hover{border-color:#4c8f7d;background-color:#f8fcfb}.theme-trigger svg{width:20px;height:20px}body.dark-theme .theme-trigger{border-color:#38506a;background:#162434;color:#e2edff}body.dark-theme .theme-trigger:hover{border-color:#57b893;background:#1c3044;color:#9ee7cb}.history-item{cursor:pointer;transition:border-color .2s,box-shadow .2s}.history-item:hover,.history-item:focus-visible{border-color:#5c7289;box-shadow:0 2px 6px #00000014;outline:none}.history-outcome-label{display:inline-block;margin-top:4px;padding:2px 6px;border-radius:4px;font-size:.72rem;font-weight:700;text-transform:uppercase}.history-outcome-win .history-outcome-label{background-color:#e0f2e9;color:#198754}.history-outcome-loss .history-outcome-label{background-color:#fbe6e8;color:#dc3545}.history-outcome-surrendered .history-outcome-label{background-color:#fff3cd;color:#856404}.hub-load-more{display:block;width:100%;margin-top:12px;padding:10px;background-color:#f0f4f8;color:#1e3347;border:1px solid #d8e2ef;border-radius:8px;font-weight:700;cursor:pointer;transition:all .2s}.hub-load-more:hover:not(:disabled){background-color:#e2e8f0}.hub-load-more:disabled{opacity:.6;cursor:not-allowed}.history-modal-overlay{position:fixed;inset:0;background:#0e1925bf;display:grid;place-items:center;z-index:1000;padding:16px}.history-modal{background:#fff;width:100%;max-width:500px;max-height:90vh;border-radius:12px;box-shadow:0 8px 30px #00000026;display:flex;flex-direction:column;position:relative;overflow:hidden}.history-modal-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:#f0f4f8;color:#355474;border-radius:50%;font-size:1rem;font-weight:700;cursor:pointer;display:grid;place-items:center;z-index:10;transition:background .2s}.history-modal-close:hover{background:#e2e8f0}.history-modal-content{padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:20px}.history-modal-content h3{margin:0;color:#1e3347;font-size:1.25rem}.history-modal-content h4{margin:0 0 10px;color:#355474;font-size:1rem}.history-board-container{display:flex;justify-content:center;background:#f8fafc;padding:16px;border-radius:8px;border:1px solid #d8e2ef}.history-board-container .board-card{width:100%}.history-board-container .board{max-width:360px;margin:0 auto}.history-board-container .letter-cell{font-size:.7rem;min-width:0;min-height:0;padding:2px}.history-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-modal-header h3{margin:0;color:#1e3347;font-size:1.15rem}.history-outcome-label--win{background-color:#e0f2e9;color:#198754}.history-outcome-label--loss{background-color:#fbe6e8;color:#dc3545}.history-outcome-label--surrendered{background-color:#fff3cd;color:#856404}.history-words-container{background:#f8fafc;padding:16px;border-radius:8px;border:1px solid #d8e2ef}.history-words-container h4{margin:0 0 10px;color:#355474;font-size:.95rem}.history-word-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.history-word-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:16px;font-size:.82rem;font-weight:600}.history-word-found{background:#e0f2e9;color:#198754}.history-word-found .history-word-text{text-decoration:line-through}.history-word-missed{background:#fbe6e8;color:#dc3545}.history-word-badge{font-size:.75rem;font-weight:800}.history-stats-container{display:flex;gap:12px;justify-content:center}.history-stat{display:flex;flex-direction:column;align-items:center;background:#f0f4f8;border-radius:8px;padding:10px 16px;min-width:80px}.history-stat-label{font-size:.72rem;font-weight:700;color:#5c7289;text-transform:uppercase}.history-stat-value{font-size:1rem;font-weight:700;color:#1e3347}body.dark-theme .history-item:hover,body.dark-theme .history-item:focus-visible{border-color:#6a8ba8}body.dark-theme .history-outcome-win .history-outcome-label,body.dark-theme .history-outcome-label--win{background-color:#1d3a2e;color:#4ade80}body.dark-theme .history-outcome-loss .history-outcome-label,body.dark-theme .history-outcome-label--loss{background-color:#4a1f24;color:#f87171}body.dark-theme .history-outcome-surrendered .history-outcome-label,body.dark-theme .history-outcome-label--surrendered{background-color:#4d3a14;color:#fbbf24}body.dark-theme .hub-load-more{background-color:#162434;color:#e2edff;border-color:#38506a}body.dark-theme .hub-load-more:hover:not(:disabled){background-color:#1c3044}body.dark-theme .history-modal{background:#0f172a;box-shadow:0 8px 30px #0006}body.dark-theme .history-modal-close{background:#1e293b;color:#cbd5e1}body.dark-theme .history-modal-close:hover{background:#334155}body.dark-theme .history-modal-header h3{color:#f1f5f9}body.dark-theme .history-modal-content h4{color:#cbd5e1}body.dark-theme .history-board-container,body.dark-theme .history-words-container{background:#1e293b;border-color:#334155}body.dark-theme .history-word-found{background:#1d3a2e;color:#4ade80}body.dark-theme .history-word-missed{background:#4a1f24;color:#f87171}body.dark-theme .history-stat{background:#1e293b}body.dark-theme .history-stat-label{color:#94a3b8}body.dark-theme .history-stat-value{color:#f1f5f9}
