.pk-world{color:#153746;background:#f7f7e9;min-height:100svh;padding:0 0 2rem;font:600 16px/1.45 Nunito,ui-rounded,system-ui,sans-serif}.pk-world *{box-sizing:border-box}.pk-world a{color:inherit;text-decoration:none}.pk-world button,.pk-nav a,.pk-options a,.pk-primary{cursor:pointer;touch-action:manipulation}.pk-world button,.pk-nav a{font:inherit;color:inherit}.pk-nav{z-index:2;padding:12px max(4vw,env(safe-area-inset-left));justify-content:space-between;max-width:1200px;margin:auto;display:flex;position:relative}.pk-nav div,.pk-actions,.pk-level span{align-items:center;gap:8px;display:flex}.pk-nav a,.pk-actions button,.pk-help,.pk-panel button,.pk-profile button,.pk-coach button{background:#fffef3;border:1px solid #a0bfb7;border-radius:18px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 14px;font-weight:800;display:inline-flex}.pk-home,.pk-game{background-image:linear-gradient(#0000 290px,#f7f7e9 540px),url(/images/chess/petu-kingdom.webp);background-position:top;background-repeat:no-repeat;background-size:100% 550px,cover}.pk-home{background-size:100% 550px,100%}.pk-hero{align-items:center;max-width:1000px;min-height:clamp(255px,32vw,430px);margin:0 auto;padding:24px;display:flex}.pk-hero>div{background:#fffbeded;border-radius:25px;max-width:450px;padding:20px 24px;box-shadow:0 4px 22px #204c4120}.pk-hero h1,.pk-stage h1,.pk-road h2,.pk-win h2,.pk-coach h2,.pk-player h2{color:#173c46;letter-spacing:-.035em;margin:0;line-height:1.08}.pk-hero h1{font-size:clamp(38px,6vw,70px)}.pk-primary,.pk-world button.pk-primary{color:#382713;min-height:52px;font:inherit;background:#ffd052;border:2px solid #774128;border-radius:17px;justify-content:center;align-items:center;gap:10px;padding:10px 20px;font-weight:900;display:inline-flex;box-shadow:0 4px #9a6426}.pk-menu{max-width:900px;margin:auto;padding:0 16px}.pk-options{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pk-options a,.pk-road,.pk-play{background:#fffdf5;border:1px solid #b4cbb6;border-radius:23px;box-shadow:0 6px 16px #254b3d14}.pk-options a{align-items:center;gap:12px;padding:13px;display:flex}.pk-options img,.pk-options a>span{object-fit:cover;background:#dff2e6;border-radius:16px;width:54px;height:54px}.pk-options a>span{background:#ebdefe;place-items:center;display:grid}.pk-options a>svg{margin-left:auto}.pk-options strong,.pk-options small{display:block}.pk-options strong{font-size:1.12rem}.pk-road{margin:15px 0;padding:20px}.pk-road h2{font-size:1.35rem}.pk-road>div{grid-template-columns:repeat(6,1fr);gap:5px;margin-top:14px;display:grid}.pk-road>div>div{text-align:center;background:#f1f4e6;border:2px solid #0000;border-radius:14px;padding:6px;position:relative}.pk-road img{width:42px;height:42px;margin:auto;display:block}.pk-road .current{background:#fff4c9;border-color:#ac7813}.pk-road small,.pk-road b{display:block}.pk-road b{font-size:.68rem}.pk-profile summary,.pk-classic{cursor:pointer;padding:9px;display:inline-block}.pk-profile [aria-pressed=true]{background:#ffde79}.pk-classic{font-size:.88rem;text-decoration:underline!important}.pk-stage{text-align:center;max-width:650px;margin:auto;padding:0 12px}.pk-stage h1{background:#fffbeded;border-radius:16px;width:fit-content;margin:10px auto 16px;padding:8px 18px;font-size:clamp(29px,5vw,46px)}.pk-play{padding:clamp(10px,2.5vw,24px)}.pk-level,.pk-player,.pk-coach,.pk-help,.pk-actions{align-items:center;display:flex}.pk-level{color:#79600e;justify-content:space-between;font-size:.92rem}.pk-player,.pk-coach{text-align:left;gap:12px;margin:8px 0 12px}.pk-player img,.pk-coach img{object-fit:contain;border-radius:16px;width:58px;height:58px}.pk-coach h2,.pk-player h2{font-size:clamp(19px,3vw,26px)}.pk-coach button{min-height:35px;margin-top:5px;font-size:.85rem}.pk-board{grid-template-columns:repeat(var(--cells),1fr);isolation:isolate;background:#365c4e;border:4px solid #39544a;border-radius:12px;max-width:min(100%,58svh);margin:8px auto 14px;display:grid;overflow:hidden;box-shadow:0 4px #344c40}.pk-world .pk-board button{aspect-ratio:1;border:0;border-radius:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative}.pk-ivory{background:#fff0c7}.pk-green{background:#90b78a}.pk-board button.pk-last{box-shadow:inset 0 0 0 3px #cf9a2d}.pk-board button.pk-selected{background:#f9d56e}.pk-board .pk-hint{outline-offset:-4px;outline:3px dashed #aa6204}.pk-board img{pointer-events:none;width:96%;height:96%;display:block;position:relative}.pk-board small{color:#263a2e;z-index:1;font-size:clamp(8px,2vw,11px);font-weight:800;line-height:1;position:absolute}.pk-rank{top:2px;left:3px}.pk-file{bottom:1px;right:2px}.pk-dot{background:#30594d98;border-radius:50%;width:22%;height:22%}.pk-ring{border:3px solid #537e65;border-radius:50%;position:absolute;inset:4%}.pk-crown{font-size:clamp(24px,7vw,44px)}.pk-arrive{z-index:3;animation:.34s ease-out pk-slide}.pk-win img{width:100px;margin:22px}.pk-win{padding:22px}.pk-help,.pk-actions{justify-content:center;margin:12px auto}.pk-help{width:fit-content}.pk-panel{background:#fff0c8;border-radius:14px;padding:10px}.pk-world :focus-visible{outline-offset:-3px;outline:3px solid #6e38a3}.pk-world button:disabled{opacity:.55}.pk-play p{margin:10px 0}@keyframes pk-slide{0%{transform:translate(var(--dx),var(--dy))}to{transform:translate(0)}}@media (max-width:600px){.pk-home,.pk-game{background-position:top,70% 0;background-size:100% 550px,auto 390px}.pk-hero{align-items:flex-end;min-height:285px;padding:10px 14px 18px}.pk-hero>div{max-width:70%;padding:12px}.pk-hero h1{font-size:33px}.pk-hero p{margin:7px 0 12px;font-size:.91rem}.pk-options{grid-template-columns:1fr}.pk-road>div{grid-template-columns:repeat(3,1fr)}.pk-stage{padding:0 6px}.pk-board{max-width:100%}.pk-menu{padding:0 12px}.pk-nav{padding:8px 12px}.pk-play{padding:9px}.pk-hero .pk-primary{padding:8px;font-size:.9rem}.pk-hero .pk-primary svg:last-child{display:none}}@media (prefers-reduced-motion:reduce){.pk-arrive{animation:none}}.pk-atlas{background:#fff2c7;border:1px solid #dacba9;border-radius:18px;align-items:center;gap:12px;margin-top:12px;padding:10px 15px;display:flex}.pk-atlas img{width:46px;height:46px}.pk-atlas small,.pk-atlas strong{display:block}.pk-atlas>svg{margin-left:auto}.pk-picker{grid-template-columns:repeat(6,1fr);gap:4px;display:grid}.pk-picker button{background:#f5f7e9;border:1px solid #b5c9ae;border-radius:10px;min-width:0;padding:4px 1px;font-size:clamp(10px,2.8vw,14px)}.pk-picker img{width:32px;max-width:100%;margin:auto;display:block}.pk-picker [aria-pressed=true]{background:#ffda7e;border-color:#805a22}.pk-strength{text-align:left;background:#edf4e8;border-radius:14px;margin:0 auto 12px;padding:10px 12px}.pk-strength label{color:#31554a;margin-bottom:5px;font-size:.85rem;font-weight:850;display:block}.pk-strength-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;display:grid}.pk-strength-controls button,.pk-strength-choice select{color:#193e39;min-height:44px;font:inherit;background:#fffdf1;border:1px solid #93ac96;border-radius:12px;font-weight:800}.pk-strength-controls button{place-items:center;display:grid}.pk-strength-controls button:disabled{opacity:.45}.pk-strength-choice{position:relative}.pk-strength-choice select{-webkit-appearance:none;appearance:none;cursor:pointer;width:100%;padding:5px 24px 5px 10px;font-size:clamp(.8rem,3.3vw,1rem)}.pk-strength-choice svg{pointer-events:none;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.pk-strength small{color:#405d50;margin-top:5px;font-size:.78rem;line-height:1.3;display:block}.pk-engine-credit{color:#476054;font-size:.74rem}.pk-engine-credit a{text-decoration:underline}.pk-course-link,.pk-school-menu button{text-align:left;background:#f5ffec;border:1px solid #a7c2b6;border-radius:20px;align-items:center;gap:14px;width:100%;padding:14px 16px;display:flex}.pk-course-link>span,.pk-room-icon{color:#174e43;background:#c9ead5;border-radius:14px;flex:none;place-items:center;width:46px;height:46px;display:grid}.pk-course-link strong,.pk-course-link small,.pk-school-menu strong,.pk-school-menu small{display:block}.pk-course-link>svg,.pk-school-menu button>svg{flex:none;margin-left:auto}.pk-course-link strong,.pk-school-menu strong{font-size:1.15rem}.pk-rivals{margin:16px 0}.pk-rivals h2{color:#173c46;margin:0 0 6px;font-size:1.16rem}.pk-rivals>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pk-rivals a{border:1px solid #9aafa8;border-radius:18px;justify-items:center;gap:2px;padding:9px 3px;display:grid}.pk-rivals a>span:last-child{align-items:center;gap:4px;font-size:.82rem;display:flex}.pk-rivals img,.pk-rival-face{object-fit:contain;border-radius:50%;flex:none;width:54px;height:54px;display:block}.pk-rival-face{background:url(/images/channel.jpg) 0 0/210% no-repeat}.pk-face-sophie{background-position:3% 38%}.pk-face-camila{background-position:98% 34%}.pk-school-menu{gap:9px;display:grid}.pk-school-menu button{background:#fffef1}.pk-school-menu img{object-fit:contain;flex:none;width:40px;height:44px}.pk-school-menu button b{color:#427353;white-space:nowrap;margin-left:auto}.pk-school-menu small{margin-top:4px;line-height:1.25}.pk-school-menu button>svg{margin-left:0}.pk-topic-nav{background:#f8ffef;border-radius:14px;align-items:center;gap:6px;margin:0 0 8px;padding:5px;display:flex}.pk-topic-nav b{margin-right:auto}.pk-topic-nav button,.pk-invite button,.pk-join button{background:#fff;border:1px solid #9bb8a8;border-radius:12px;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:6px 10px;display:inline-flex}.pk-topic-nav button[aria-pressed=true]{background:#ffdb76;border-color:#8d6b23}.pk-school-task .pk-actions{flex-wrap:wrap}.pk-invite,.pk-join{background:#eef6e8;border-radius:17px;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin:12px 0;padding:14px 10px;display:flex}.pk-invite span,.pk-join label{width:100%;font-weight:800}.pk-invite strong{letter-spacing:.06em;font:800 1.25rem/1.4 ui-monospace,monospace}.pk-join input,.pk-invite input{letter-spacing:.05em;text-align:center;background:#fff;border:1px solid #739785;border-radius:11px;width:14ch;max-width:100%;padding:8px;font-size:1.1rem}.pk-invite input{width:100%}.pk-lobby small{color:#4d635d}.pk-lobby .pk-primary{margin:8px auto}
