.pegs-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,30%);overflow:hidden;border:1px solid #cabbd3;border-radius:18px;color:#7f688b;background:#fffaf2}.pegs-main{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:22px;border-right:1px solid #ccbdd5;background:#eee5f3}.pegs-main>*{width:min(100%,470px);flex-shrink:0}.pegs-top{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.pegs-top label{min-width:0}.pegs-tools button,.pegs-top button,.pegs-top select{min-width:0;min-height:44px;padding:7px 10px;border:1px solid #bea7cc;border-radius:9px;color:#9274a0;background:#fffcf3;font-size:14px;font-weight:850;touch-action:manipulation}.pegs-top select{width:100%;height:44px}.pegs-top button{padding:4px;font-size:26px;line-height:1}.pegs-tools button:disabled,.pegs-top button:disabled,.pegs-top select:disabled{opacity:.45}.pegs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px;min-height:54px}.pegs-stats>div{display:flex;flex-direction:column;align-items:center;gap:4px}.pegs-stats span{color:#aa93b6;font-size:11px;font-weight:850;text-align:center}.pegs-stats strong{font-family:Fredoka Variable,sans-serif;font-size:30px;font-weight:500;line-height:1}.pegs-stage{position:relative;height:380px}.pegs-board{position:relative;width:100%;height:100%}.pegs-board:focus-visible{outline:3px solid #aa8cbb;outline-offset:3px;border-radius:13px}.pegs-tray{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 5px 0 #b39ac32e)}.pegs-tray path{fill:#dfd0ea;stroke:#c3acd0;stroke-width:2}.pegs-tray .pegs-tray-edge{fill:none;stroke:#f6edf9;stroke-width:2;transform:scale(.96);transform-origin:50% 50%}.pegs-paper{position:absolute;inset:30px}.pegs-hole{position:absolute;z-index:1;display:grid;place-items:center;width:56px;height:56px;min-width:44px;min-height:44px;padding:3px;border:2px solid #baa1c9;border-radius:50%;color:#ac8dbe;background:#cfb9dd;box-shadow:inset 0 3px #b69bc75e,0 2px #f2e6f8;transform:translate(-50%,-50%);touch-action:manipulation;-webkit-tap-highlight-color:transparent}.pegs-hole[data-occupied=true]{background:#fff7e9;border-color:#c7aed2;box-shadow:0 3px #ad91bd55,inset 0 2px #fffdf4}.pegs-hole svg{width:100%;height:100%}.pegs-hole[data-selected=true]{background:#ffe8b9;border-color:#bc9a55;box-shadow:0 0 0 3px #e4ca86}.pegs-hole[data-legal=true]{color:#a58c50;background:#fbf1cc;border-color:#bca368;box-shadow:inset 0 2px #dec78866}.pegs-hole[data-hint=from]{outline:3px solid #c7a451;outline-offset:1px}.pegs-hole[data-hint=over]{outline:2px dashed #c695a7;outline-offset:1px}.pegs-hole[data-hint=to]{outline:3px solid #8ca77b;outline-offset:1px;background:#e6edcd}.pegs-hole:focus-visible{outline:3px solid #9372a5;outline-offset:2px}.pegs-hole[aria-disabled=true]{cursor:default}.pegs-target{font-size:27px;line-height:1}.pegs-empty-dot{width:8px;height:8px;border-radius:50%;background:#b398c3;opacity:.7}.pegs-tools{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:7px}.pegs-tools button{gap:5px;padding:7px 4px;font-size:13px}.pegs-advice,.pegs-tools button{display:flex;align-items:center;justify-content:center}.pegs-advice{min-height:48px;padding:6px 8px;border:1px dashed #ccb7d8;border-radius:10px;color:#ab91b7;background:#f8f1fb;font-size:12px;line-height:1.4;text-align:center}.pegs-hint span,.pegs-hint strong{display:block}.pegs-hint strong{color:#997da9;font-size:12px}.pegs-hint span{margin-top:3px;font-size:11px}.pegs-status{display:flex;align-items:center;justify-content:center;min-height:38px;height:38px;overflow:auto;color:#a084b0;font-size:13px;line-height:1.4;font-weight:850;text-align:center}.pegs-side{display:flex;flex-direction:column;min-width:0;gap:22px;padding:28px 23px}.pegs-friends{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:20px}.pegs-friends svg{width:65px;height:65px;transform:rotate(-8deg)}.pegs-friends svg:last-child{transform:rotate(9deg)}.pegs-friends>span{color:#b49ac2;font-size:30px}.pegs-eyebrow{color:#b198bf;font-size:10px;font-weight:950;letter-spacing:.8px}.pegs-note h2{margin-block:9px 13px;font-size:34px;line-height:1.08;letter-spacing:-.5px}.pegs-guide p,.pegs-note p{color:#ad95b8;font-size:14px;line-height:1.65}.pegs-guide{padding-block:18px;border-block:1px solid #e5d9ec}.pegs-guide h3{font-size:18px;line-height:1.3}.pegs-guide p{margin-top:11px}.pegs-guide .pegs-shortcuts{font-size:12px;font-weight:850}.pegs-records{display:grid;gap:12px}.pegs-records>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.pegs-records dt{font-size:13px;font-weight:850}.pegs-records dd{font-family:Fredoka Variable,sans-serif;font-size:26px;line-height:1}.pegs-records small{color:#bda7c7;font-family:Nunito Variable,sans-serif;font-size:11px}.pegs-save{display:flex;align-items:start;gap:6px;margin-top:auto;color:#b39bbe;font-size:12px;line-height:1.5}.pegs-save svg{flex-shrink:0;margin-top:2px}.pegs-overlay{position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:center;padding:14px;border-radius:13px;background:#e9dff0e6}.pegs-complete{width:100%;max-width:340px;max-height:100%;overflow:auto;padding:22px 16px;border:1px solid #cbb4d6;border-radius:14px;background:#fffdf2f5;text-align:center}.pegs-complete h2{margin-block:10px;font-size:30px;line-height:1.1}.pegs-complete p{margin-top:6px;color:#ac93b8;font-size:13px;line-height:1.4}.pegs-complete-actions{display:flex;gap:7px;margin-top:15px}.pegs-complete-actions button{flex:1;display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px;border:1px solid #c1a5ce;border-radius:9px;color:#a185ae;background:#faf4fc;font-size:13px;font-weight:850}.pegs-complete-actions .button{color:#fffaf0;background:#aa8ab8;border-color:#9876a8}.pegs-dialog .button{min-height:44px}@media (min-width:761px) and (min-height:541px){.game-frame-pegs.is-expanded .pegs-shell{height:100%;grid-template-columns:minmax(0,1fr) minmax(250px,31%);grid-template-rows:auto auto auto auto 1fr;gap:15px 28px;padding:18px;align-content:start}.game-frame-pegs.is-expanded .pegs-main{display:contents}.game-frame-pegs.is-expanded .pegs-stage{grid-column:1;grid-row:1/6;align-self:start;justify-self:center;width:min(100%,620px);height:min(560px,calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.game-frame-pegs.is-expanded .pegs-top{grid-column:2;grid-row:1}.game-frame-pegs.is-expanded .pegs-stats{grid-column:2;grid-row:2}.game-frame-pegs.is-expanded .pegs-tools{grid-column:2;grid-row:3}.game-frame-pegs.is-expanded .pegs-advice{grid-column:2;grid-row:4}.game-frame-pegs.is-expanded .pegs-status{grid-column:2;grid-row:5;align-self:start}.game-frame-pegs.is-expanded .pegs-side{display:none}}@media (max-width:760px){.pegs-shell{grid-template-columns:minmax(0,1fr);border-radius:12px}.pegs-main{gap:6px;padding:8px;border-right:0}.pegs-top select{font-size:13px}.pegs-stats{min-height:42px;gap:5px}.pegs-stats span{font-size:9px}.pegs-stats strong{font-size:25px}.pegs-stage{height:clamp(220px,calc(100svh - 340px),340px)}.pegs-paper{inset:24px}.pegs-hole{width:44px;height:44px;padding:2px}.pegs-target{font-size:23px}.pegs-tools{gap:4px}.pegs-tools button{font-size:11px;padding-inline:3px;gap:3px}.pegs-advice{min-height:42px;padding:4px 6px}.pegs-advice,.pegs-hint strong{font-size:11px}.pegs-hint span{margin-top:2px;font-size:10px}.pegs-status{min-height:28px;height:28px;font-size:11px}.pegs-side{padding:10px 12px;border-top:1px solid #ccbdd5}.pegs-guide,.pegs-note,.pegs-records{display:none}.pegs-save{justify-content:center;font-size:11px}.pegs-complete{padding:12px 10px}.pegs-complete h2{font-size:24px}.pegs-complete p{font-size:11px}.pegs-complete .pegs-eyebrow{font-size:8px}.pegs-complete-actions{margin-top:10px}.game-frame-pegs.is-expanded .pegs-stage{height:clamp(220px,calc(100dvh - 340px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),430px)}.game-frame-pegs.is-expanded .pegs-side{display:none}}@media (orientation:landscape) and (max-height:540px){.game-frame-pegs.is-expanded .pegs-shell,.pegs-shell{grid-template-columns:minmax(0,1fr) minmax(245px,42%);grid-template-rows:auto auto auto auto 1fr;gap:9px 20px;padding:10px;align-content:start}.pegs-main{display:contents}.game-frame-pegs.is-expanded .pegs-stage,.pegs-stage{grid-column:1;grid-row:1/6;justify-self:center;align-self:start;width:min(100%,420px);height:min(360px,calc(100dvh - 94px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.pegs-top{grid-column:2;grid-row:1}.pegs-stats{grid-column:2;grid-row:2;min-height:42px}.pegs-stats strong{font-size:25px}.pegs-tools{grid-column:2;grid-row:3}.pegs-tools button{font-size:12px}.pegs-advice{grid-column:2;grid-row:4;min-height:42px}.pegs-status{grid-column:2;grid-row:5;align-self:start;min-height:28px;height:28px;font-size:11px}.pegs-paper{inset:25px}.pegs-hole{width:44px;height:44px;padding:2px}.pegs-side{display:none}.pegs-complete{padding:14px 10px}.pegs-complete h2{font-size:25px}}