@media (orientation:portrait) and (width<=900px){body.play-theme-pie-perfect .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-pie-perfect .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(460px,100svh - 112px)}}@media (orientation:landscape) and (height<=520px){body.play-theme-pie-perfect .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-pie-perfect .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(230px,100svh - 108px)}}body.play-theme-pie-perfect .play-shell[data-game-shell]:fullscreen{--game-shell-max-width:100vw;--fullscreen-game-width:100vw}body.play-theme-pie-perfect .play-shell[data-game-shell]:fullscreen .game-stage{aspect-ratio:auto;height:calc(100dvh - 56px)}body.play-theme-pie-perfect{--player-surface:#f8ecd2;--player-ink:#4a3426;--player-line:#4a342624}@font-face{font-family:Pie Fredoka;src:url(/assets/games/cottage-word-search/fredoka-latin.woff2)format("woff2");font-weight:300 700;font-style:normal;font-display:swap}.pf-root{--pf-ink:#4a3426;--pf-soft:#6e5442;--pf-paper:#fffaf0;--pf-cream:#f8ecd2;--pf-line:#8a5a2b;--pf-orange:#b9561f;--pf-orange-dark:#8f3f12;--pf-green:#3f6b2c;--pf-red:#9a2f1c;--pf-round:"Pie Fredoka", ui-rounded, "Trebuchet MS", "Segoe UI", sans-serif;color:var(--pf-ink);-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#ead2a8;font-family:ui-rounded,Trebuchet MS,Segoe UI,system-ui,sans-serif;position:absolute;inset:0;overflow:hidden}.pf-root [hidden]{display:none!important}.pf-root button{font:inherit;-webkit-tap-highlight-color:transparent}.pf-canvas{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.pf-canvas:focus-visible{box-shadow:inset 0 0 0 3px #f2b000}.pf-hud{box-sizing:border-box;pointer-events:none;padding:5px 8px;position:absolute}.pf-hud>*{pointer-events:auto}.pf-hud:before{content:"";background:var(--pf-paper);border:1.5px solid var(--pf-line);z-index:-1;border-radius:10px;position:absolute;inset:5px 8px;box-shadow:0 2px #6e4523,0 4px 10px #3a241240}.pf-hud{z-index:1;flex-direction:column;justify-content:center;gap:1px;display:flex}.pf-hud>p,.pf-hud-head{margin:0;padding:0 10px;position:relative}.pf-hud-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.pf-hud-name{align-items:baseline;gap:6px;min-width:0;margin:0;font-size:15.5px;line-height:1.2;display:flex}.pf-hud-name strong{font-family:var(--pf-round);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.pf-hud-num{box-sizing:border-box;background:var(--pf-orange);color:#fff;border-radius:10px;flex:none;align-self:center;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:12px;font-weight:800;display:inline-grid}.pf-hud-rule{color:var(--pf-soft);font-size:12.5px;font-weight:600;line-height:1.25}.pf-hud-best{color:var(--pf-soft);font-size:12px;font-weight:700;display:none}.pf-cuts{flex:none;align-items:center;gap:3px;display:inline-flex}.pf-pip{width:26px;height:12px;display:inline-block}.pf-pip svg{width:100%;height:100%;display:block}.pf-pip .h{fill:#a8693a;stroke:#4a3426;stroke-width:1px}.pf-pip .b{fill:#dfe4e8;stroke:#4a3426;stroke-width:1px}.pf-pip.is-used{opacity:.32}.pf-pip.is-used .b{fill:#b9b0a4}.pf-cuts.is-stars{gap:2px}.pf-star{width:22px;height:22px;animation:.42s cubic-bezier(.3,1.5,.5,1) both pf-star-pop;display:inline-block}.pf-star svg{width:100%;height:100%;display:block;overflow:visible}.pf-star path{fill:#f5b81c;stroke:#6e4523;stroke-width:1.6px;stroke-linejoin:round}.pf-star:not(.is-empty) svg{filter:drop-shadow(0 0 3px #ffce4af2)}.pf-star.is-empty path{fill:#efe5d2;stroke:#b39a7c}@keyframes pf-star-pop{0%{opacity:0;transform:scale(.2)rotate(-40deg)}to{opacity:1;transform:none}}.pf-bar{box-sizing:border-box;z-index:1;flex-direction:column;justify-content:flex-end;gap:4px;padding:8px 8px 7px;display:flex;position:absolute}.pf-msg{box-sizing:border-box;min-height:40px;color:var(--pf-ink);background:#fffaf0f0;border:1px solid #8a5a2b80;border-radius:9px;flex:auto;align-items:center;margin:0;padding:3px 10px;font-size:13px;font-weight:650;line-height:1.25;display:flex;overflow:hidden}.pf-msg.is-long{font-size:12px}.pf-msg[data-tone=good]{color:var(--pf-green)}.pf-msg[data-tone=warn]{color:var(--pf-red)}.pf-buttons{flex:none;gap:6px;display:flex}.pf-btn{min-width:0;min-height:44px;color:var(--pf-ink);cursor:pointer;background:linear-gradient(#fff8e8,#f1ddb6);border:1.5px solid #6e4523;border-radius:12px;flex:1 1 0;padding:4px 8px;font-size:14px;font-weight:750;line-height:1.1;box-shadow:0 2px #6e4523}.pf-btn:hover{background:linear-gradient(#fffdf4,#f6e6c4)}.pf-btn:active{transform:translateY(2px);box-shadow:0 0 #6e4523}.pf-btn:focus-visible{outline-offset:2px;outline:3px solid #f2b000}.pf-btn:disabled{color:#a3907b;cursor:default;background:linear-gradient(#f7efdf,#ece0c6);border-color:#b29a7e;transform:none;box-shadow:0 2px #b29a7e}.pf-btn.pf-primary{background:linear-gradient(#c96427, var(--pf-orange));color:#fff;border-color:var(--pf-orange-dark);box-shadow:0 2px 0 var(--pf-orange-dark)}.pf-btn.pf-primary:hover{background:linear-gradient(#d26d2f,#c25d22)}.pf-root.is-wide .pf-bar{flex-direction:row;align-items:stretch;gap:10px;padding:9px 12px}.pf-root.is-wide .pf-msg{font-size:14px}.pf-root.is-wide .pf-msg.is-long{font-size:13px}.pf-root.is-wide .pf-buttons{flex:none}.pf-root.is-wide .pf-btn{flex:none;min-width:92px;padding:4px 14px}.pf-root.is-wide .pf-hud{padding:5px max(8px,50% - 360px)}.pf-root.is-wide .pf-hud:before{inset:5px max(8px,50% - 360px)}.pf-root.is-wide .pf-hud-rule{font-size:13px}.pf-root[data-mode=side] .pf-hud{gap:2px;padding:8px 8px 6px 10px}.pf-root[data-mode=side] .pf-hud:before{inset:8px 8px 6px 10px}.pf-root[data-mode=side] .pf-hud>p,.pf-root[data-mode=side] .pf-hud-head{padding:0 9px}.pf-root[data-mode=side] .pf-hud>:first-child{padding-top:7px}.pf-root[data-mode=side] .pf-hud>:last-child{padding-bottom:7px}.pf-root[data-mode=side] .pf-hud-head{flex-direction:column;align-items:flex-start;gap:3px}.pf-root[data-mode=side] .pf-hud-name{font-size:15px}.pf-root[data-mode=side] .pf-hud-name strong{white-space:normal}.pf-root[data-mode=side] .pf-hud-best{display:block}.pf-root[data-mode=side] .pf-hud-rule{font-size:12px}.pf-root[data-mode=side] .pf-pip{width:24px;height:11px}.pf-root[data-mode=side] .pf-bar{padding:6px 8px 8px 10px}.pf-root[data-mode=side] .pf-buttons{grid-template-columns:1fr 1fr;gap:6px;display:grid}.pf-root[data-mode=side] .pf-btn{padding:3px 4px;font-size:13px}.pf-root[data-mode=side] .pf-msg{z-index:1;flex:none;padding:6px 10px;font-size:12.5px;display:block;position:absolute;box-shadow:0 3px 10px #3a241238}.pf-root[data-mode=side] .pf-msg.is-long{font-size:12px}.pf-panel{z-index:2;box-sizing:border-box;position:absolute;inset:0}.pf-title{background:radial-gradient(at 50% 60%,#4a34261a,#4a342661);place-items:center;padding:16px;display:grid}.pf-card{box-sizing:border-box;border:2px solid var(--pf-line);text-align:center;background:#fffaf0f2;border-radius:20px;width:min(380px,100%);max-height:100%;padding:18px 20px 16px;overflow:auto;box-shadow:0 4px #6e4523,0 12px 30px #3a241259}.pf-eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--pf-orange);margin:0;font-size:12.5px;font-weight:800}.pf-logo{font-family:var(--pf-round);color:#8f3f12;text-shadow:0 2px #f2c46b;margin:2px 0 6px;font-size:42px;font-weight:700;line-height:1}.pf-lede{margin:0 0 10px;font-size:15px;font-weight:600;line-height:1.4}.pf-stats{color:var(--pf-soft);margin:0 0 12px;font-size:13px;font-weight:700}.pf-actions{gap:8px;display:grid}.pf-big{min-height:48px;font-size:16px}.pf-note{color:var(--pf-red);margin:10px 0 0;font-size:12.5px;font-weight:650;line-height:1.35}.pf-orders{overscroll-behavior:contain;background:#4a34266b;padding:8px;overflow:auto}.pf-sheet{box-sizing:border-box;background:var(--pf-paper);border:2px solid var(--pf-line);border-radius:18px;max-width:760px;margin:0 auto;padding:8px 10px 10px;box-shadow:0 4px #6e4523,0 12px 30px #3a241259}.pf-sheet-top{align-items:center;gap:12px;margin-bottom:6px;display:flex}.pf-back{flex:none;min-width:80px}.pf-sheet-heading h2{font-family:var(--pf-round);margin:0;font-size:22px;font-weight:600;line-height:1.1}.pf-sheet-heading p{color:var(--pf-soft);margin:1px 0 0;font-size:13px;font-weight:700}.pf-sheet-note{line-height:1.3;display:none}.pf-courses{gap:6px;display:grid}.pf-course{background:var(--pf-cream);border:1px solid #8a5a2b59;border-radius:12px;padding:5px 7px 7px}.pf-course-head{align-items:center;gap:7px;min-width:0;margin-bottom:4px;display:flex}.pf-thumb{flex:none;width:28px;height:28px}.pf-course-text{min-width:0}.pf-course-text h3{font-family:var(--pf-round);margin:0;font-size:16px;font-weight:600;line-height:1.15}.pf-course-count{color:var(--pf-soft);font-family:ui-rounded,Trebuchet MS,sans-serif;font-size:12.5px;font-weight:800}.pf-blurb{color:var(--pf-soft);margin:2px 0 0;font-size:13px;font-weight:600;line-height:1.3;display:none}.pf-lock{color:var(--pf-red);margin:1px 0 0;font-size:12px;font-weight:700;line-height:1.2}.pf-tiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;display:grid}.pf-tile{min-width:0;min-height:46px;color:var(--pf-ink);cursor:pointer;background:linear-gradient(#fff8e8,#f4e4c4);border:1.5px solid #6e4523;border-radius:10px;align-content:center;justify-items:center;gap:1px;padding:3px 2px;display:grid;box-shadow:0 2px #6e4523}.pf-tile:focus-visible{outline-offset:2px;outline:3px solid #f2b000}.pf-tile:disabled{opacity:.5;cursor:default;box-shadow:none}.pf-tile.is-current{border-color:var(--pf-orange);box-shadow:0 2px 0 var(--pf-orange-dark), 0 0 0 2px #f2c46b}.pf-tile-num{box-sizing:border-box;background:var(--pf-orange);color:#fff;border-radius:12px;place-items:center;min-width:24px;height:24px;padding:0 3px;font-size:13.5px;font-weight:800;display:grid}.pf-tile.is-served .pf-tile-num{background:var(--pf-green)}.pf-tile-name{text-align:center;font-size:13px;font-weight:750;line-height:1.15;display:none}.pf-tile-stars{color:#9a6a0c;letter-spacing:0;white-space:nowrap;font-size:12.5px;font-weight:800;line-height:1.1}.pf-course.is-locked .pf-tile-stars{color:var(--pf-soft);font-size:11px}.pf-root.is-wide .pf-orders{padding:10px}.pf-root.is-wide .pf-sheet{max-width:900px;padding:10px 14px 12px}.pf-root.is-wide .pf-sheet-top{margin-bottom:8px}.pf-root.is-wide .pf-courses{gap:6px}.pf-root:is(.is-wide,.is-short) .pf-course{grid-template-columns:188px minmax(0,1fr);align-items:center;gap:10px;padding:6px 10px;display:grid}.pf-root:is(.is-wide,.is-short) .pf-course-head{align-items:flex-start;margin:0}.pf-root.is-wide .pf-thumb{width:36px;height:36px}.pf-root.is-wide .pf-course-text h3{font-size:17px}.pf-root.is-wide .pf-blurb{font-size:12.5px;line-height:1.25;display:block}.pf-root.is-wide .pf-tiles{gap:7px}.pf-root.is-wide .pf-tile{gap:1px;min-height:60px;padding:3px 4px}.pf-root.is-wide .pf-tile-name{font-size:12.5px;line-height:1.12;display:block}.pf-root.is-short:not(.is-wide) .pf-course{grid-template-columns:132px minmax(0,1fr);gap:8px;padding:4px 8px}.pf-root.is-wide.is-short .pf-tile-name,.pf-root.is-wide.is-short .pf-blurb{display:none}.pf-root.is-wide.is-short .pf-tile{min-height:46px}.pf-root[data-mode=side] .pf-orders{padding:4px}.pf-root[data-mode=side] .pf-sheet{border-radius:14px;grid-template-rows:repeat(3,auto);grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch;gap:5px;max-width:none;min-height:100%;padding:5px 6px;display:grid}.pf-root[data-mode=side] .pf-courses{display:contents}.pf-root[data-mode=side] .pf-sheet-top{border:1px dashed #8a5a2b73;border-radius:12px;grid-area:3/2;align-items:center;gap:10px;margin:0;padding:4px 8px}.pf-root[data-mode=side] .pf-sheet-heading h2{font-size:19px}.pf-root[data-mode=side] .pf-sheet-heading p{font-size:12.5px}.pf-root[data-mode=side] .pf-sheet-note{display:block}.pf-root[data-mode=side] .pf-course{flex-direction:column;justify-content:center;padding:3px 6px 5px;display:flex}.pf-root[data-mode=side] .pf-course-head{gap:5px;margin-bottom:3px}.pf-root[data-mode=side] .pf-thumb{width:20px;height:20px}.pf-root[data-mode=side] .pf-course-text h3{font-size:14px;line-height:20px}.pf-root[data-mode=side] .pf-lock{display:none}.pf-root[data-mode=side] .pf-tiles{gap:4px}.pf-root[data-mode=side] .pf-tile{gap:2px;min-height:46px;padding:2px 1px}.pf-root[data-mode=side] .pf-tile-num{min-width:21px;height:21px;font-size:12.5px}.pf-root[data-mode=side] .pf-tile-stars{font-size:13px}.pf-root[data-mode=side] .pf-course.is-locked .pf-tile-stars{font-size:11px}@media (height<=340px){.pf-root[data-mode=side] .pf-sheet-note{display:none}}.pf-live{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pf-root.is-narrow .pf-btn{white-space:nowrap;padding:4px 3px;font-size:13.5px}.pf-root.is-narrow .pf-btn.pf-primary{flex-grow:1.3}.pf-root.is-narrow .pf-hud-rule{font-size:12px}@media (height<=520px){.pf-card{padding:12px 16px}.pf-logo{font-size:32px}.pf-lede{margin-bottom:6px;font-size:13.5px}.pf-stats{margin-bottom:8px}.pf-actions{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){.pf-btn:active{transform:none}.pf-star{animation:none}}.pf-root[data-screen=title] .pf-msg,.pf-root[data-screen=orders] .pf-msg{visibility:hidden}
