@media (orientation:portrait) and (width<=900px){body.play-theme-ornament-match .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-ornament-match .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(460px,100svh - 112px)}}@media (orientation:landscape) and (height<=520px){body.play-theme-ornament-match .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-ornament-match .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(230px,100svh - 108px)}}body.play-theme-ornament-match .play-shell[data-game-shell]:fullscreen{--game-shell-max-width:100vw;--fullscreen-game-width:100vw}body.play-theme-ornament-match .play-shell[data-game-shell]:fullscreen .game-stage{aspect-ratio:auto;height:calc(100dvh - 56px)}body.play-theme-ornament-match{--player-surface:#fbf3e4;--player-ink:#4a3326;--player-line:#4a332624}@font-face{font-family:OM Fredoka;src:url(/assets/games/cottage-word-search/fredoka-latin.woff2)format("woff2");font-weight:300 700;font-style:normal;font-display:swap}.om-root{--om-ink:#4a3326;--om-paper:#fbf3e4;--om-red:#c7342f;--om-red-dark:#8f231f;--om-green:#2e7b48;--om-gold:#f0b32e;--om-edge:#dcc29a;color:var(--om-ink);-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#6e4428;outline:none;font-family:ui-rounded,Nunito,Trebuchet MS,system-ui,sans-serif;position:absolute;inset:0;overflow:hidden}.om-root [hidden]{display:none!important}.om-root button{-webkit-tap-highlight-color:transparent}.om-canvas{z-index:0;touch-action:none;display:block;position:absolute;inset:0}.om-root.is-pointer-free .om-canvas{cursor:pointer}.om-hud,.om-tip,.om-controls{z-index:1;box-sizing:border-box;position:absolute}.om-root.is-idle>:is(.om-hud,.om-tip,.om-controls),.om-root.has-card>:is(.om-tip,.om-controls){visibility:hidden}.om-tip,.om-card-inner{background-color:var(--om-paper);background-image:var(--om-paper-tex);background-size:96px 96px}.om-hud{align-items:stretch;gap:6px;display:flex}.om-where,.om-chip{background:linear-gradient(#fffdf8,#f3e6cf);border:2px solid #4a332638;border-radius:12px;box-shadow:0 2px #4a332626,0 3px 8px #2a160a40}.om-where{min-width:0;min-height:38px;color:inherit;line-height:1.15;font:inherit;cursor:pointer;text-align:left;flex-direction:column;flex:auto;justify-content:center;align-items:flex-start;padding:1px 10px 1px 9px;display:flex}.om-where:focus-visible{outline:3px solid var(--om-gold);outline-offset:2px}.om-where:active{transform:translateY(1px)}.om-where strong{white-space:nowrap;font-size:15px}.om-where>span{opacity:.8;white-space:nowrap;align-items:center;gap:3px;font-size:12px;font-weight:700;display:inline-flex}.om-where svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;width:13px;height:13px}.om-chip{font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;gap:3px;padding:1px 7px;display:flex}.om-left{font-size:13px}.om-left b{font-size:17px;font-weight:800}.om-box-icon{flex:none;width:20px;height:20px}.om-ribbons{gap:0;padding:1px 5px}.om-rib{flex:none;width:19px;height:19px}.om-rib-tail{fill:#d9d2c4;stroke:#aaa08c;stroke-width:1.1px;stroke-linejoin:round}.om-rib-rose{fill:#ece6da;stroke:#aaa08c;stroke-width:1.3px}.om-rib-pleat{fill:none;stroke:#c9c0ad;stroke-width:1.2px;stroke-dasharray:1.6 1.4}.om-rib-mid{fill:#f6f2ea;stroke:#aaa08c;stroke-width:1px}.om-rib.is-on .om-rib-tail{fill:#a8261f;stroke:#5e1612}.om-rib.is-on .om-rib-rose{fill:var(--om-red);stroke:#5e1612}.om-rib.is-on .om-rib-pleat{stroke:#f08a7e}.om-rib.is-on .om-rib-mid{fill:var(--om-gold);stroke:#8a5a14}.om-root.is-wide .om-where strong{font-size:17px}.om-root.is-wide .om-chip{padding:1px 12px}.om-root.is-wide .om-hud .om-rib{width:24px;height:24px}.om-tip{border:2px solid var(--om-edge);border-radius:14px;align-items:center;padding:4px 10px;display:flex;overflow:hidden;box-shadow:0 3px 10px #2a160a40}.om-tip-text{flex:auto;min-width:0;max-height:100%;margin:0;font-size:14px;font-weight:650;line-height:1.25;overflow:hidden}.om-controls{gap:8px;display:flex}.om-root.is-wide:not(.is-short) .om-controls{flex-direction:column}.om-btn{min-height:44px;color:var(--om-ink);font:inherit;cursor:pointer;background:linear-gradient(#fffdf8,#f0e3c9);border:2px solid #5e3f2a55;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:15px;font-weight:750;display:inline-flex;position:relative;box-shadow:0 3px #4a332633,0 4px 10px #2a160a33}.om-btn svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.om-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #4a332633}.om-btn:focus-visible{outline:3px solid var(--om-gold);outline-offset:2px}.om-btn:disabled{opacity:.55;cursor:default}.om-controls .om-btn{white-space:nowrap;flex:1 1 0;min-width:0}.om-count{box-sizing:border-box;background:var(--om-green);color:#fff;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:13px;font-style:normal;font-weight:800;line-height:1;display:inline-grid}.om-btn:disabled .om-count{background:#9c8f7c}.om-primary{color:#fffaf0;text-shadow:0 1px #6e1a16;background:linear-gradient(#d4473f,#a8261f);border-color:#6e1a16;box-shadow:0 3px #5a1612,0 4px 10px #2a160a33}.om-controls .om-count{min-width:19px;height:19px;font-size:12px;position:absolute;top:-7px;right:3px;box-shadow:0 0 0 2px #fffaf0}.om-root:not(.is-wide) .om-controls .om-btn,.om-root.is-short .om-controls .om-btn{flex-direction:column;gap:0;padding:2px 6px;font-size:13px;line-height:1.1}.om-root:not(.is-wide) .om-controls .om-btn svg,.om-root.is-short .om-controls .om-btn svg{width:18px;height:18px}.om-root.is-wide:not(.is-short) .om-controls .om-btn{justify-content:flex-start;gap:6px;padding:6px 8px;font-size:15px}.om-card{z-index:3;pointer-events:none;position:absolute;inset:0}.om-card-inner{box-sizing:border-box;pointer-events:auto;border:3px solid var(--om-edge);border-radius:18px;flex-direction:column;padding:12px 14px;display:flex;position:absolute;overflow:hidden;box-shadow:0 12px 30px #2a160a66}.om-card h2{color:var(--om-red-dark);margin:0 0 4px;font-size:22px;line-height:1.12}.om-actions{flex-wrap:wrap;gap:8px;display:flex}.om-actions .om-btn{flex:120px;padding:6px 8px;line-height:1.1}:is(.om-title,.om-results) .om-actions .om-primary:first-child:nth-last-child(n+3){flex-basis:100%}.om-small{opacity:.85;margin:8px 0 0;font-size:12px}.om-note{background:#fbe2c4;border:1px solid #e0a872;border-radius:12px;margin:0 0 8px;padding:6px 9px;font-size:13px;line-height:1.3}.om-grow{flex:auto;min-height:0}.om-title{justify-content:space-between}.om-banner{border-bottom:2px solid var(--om-edge);border-radius:15px 15px 0 0;flex:auto;justify-content:center;align-items:flex-end;min-height:96px;margin:-12px -14px 8px;padding:0 12px 8px;display:flex;position:relative;overflow:hidden}.om-banner-art{width:100%;height:100%;display:block;position:absolute;inset:0}.om-banner>:not(canvas){position:relative}.om-banner .om-logo{text-align:center;letter-spacing:.01em;color:#fff6e2;text-shadow:3px 0 #7a1c18,-3px 0 #7a1c18,0 3px #7a1c18,0 -3px #7a1c18,2px 2px #7a1c18,-2px 2px #7a1c18,2px -2px #7a1c18,-2px -2px #7a1c18,3px 1.5px #7a1c18,-3px 1.5px #7a1c18,1.5px 3px #7a1c18,-1.5px 3px #7a1c18,1.5px -3px #7a1c18,-1.5px -3px #7a1c18,0 6px #7a1c18,2px 5px #7a1c18,-2px 5px #7a1c18,0 9px 12px #2a160a88;margin:0;font-family:OM Fredoka,ui-rounded,Nunito,system-ui,sans-serif;font-size:38px;font-weight:700;line-height:.98}.om-logo span{white-space:nowrap}.om-title .om-sub{margin:0 0 4px;font-size:15px;font-weight:750;line-height:1.25}.om-how{margin:0 0 10px;padding-left:20px;font-size:14px;line-height:1.3}.om-how li::marker{color:var(--om-red)}.om-how li+li{margin-top:2px}@media (hover:none) and (pointer:coarse){.om-keys{display:none}}.om-results{text-align:center;justify-content:center;gap:6px}.om-results h2{margin:0}.om-big{justify-content:center;gap:4px;display:flex}.om-big .om-rib{width:42px;height:42px}.om-criteria{gap:2px;margin:0;padding:0;font-size:13px;line-height:1.3;list-style:none;display:grid}.om-criteria li{opacity:.6;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:1px 6px;display:flex}.om-criteria li.is-on{opacity:1;background:#f8e3b4;font-weight:800}.om-criteria .om-rib{width:15px;height:15px}.om-results p{margin:0;font-size:13px;line-height:1.3}.om-results .om-tree-line{color:var(--om-green);font-weight:750}.om-results .om-actions{margin-top:4px}.om-tangled{justify-content:center;gap:6px}.om-tangled p{margin:0;font-size:14px;line-height:1.3}.om-tangled .om-actions{flex-flow:column;margin-top:4px}.om-tangled .om-actions .om-btn{flex-wrap:wrap;flex:none;gap:0 6px;min-height:44px}.om-tangled .om-btn small{opacity:.85;font-size:12px;font-weight:650}.om-tangled .om-primary small{opacity:.95}.om-tree{gap:6px}.om-tree-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;display:flex}.om-tree-head h2,.om-tree-head .om-small{margin:0}.om-tree-body{flex:auto;grid-template-columns:minmax(60px,1fr) minmax(236px,2.6fr);align-items:start;gap:8px;min-height:0;display:grid}.om-tree-art{aspect-ratio:3/5;border:2px solid var(--om-edge);border-radius:12px;min-height:0;max-height:100%;position:relative;overflow:hidden}.om-tree-art canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.om-tree-side{flex-direction:column;gap:6px;min-width:0;display:flex}.om-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.om-tab{min-height:44px;color:inherit;font:inherit;cursor:pointer;background:linear-gradient(#fffdf8,#efe2c8);border:2px solid #4a332633;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:2px 4px;font-size:12px;font-weight:750;line-height:1.1;display:flex}.om-tab small{opacity:.75;font-size:12px;font-weight:700}.om-tab[aria-pressed=true]{border-color:var(--om-red);background:linear-gradient(#fff6e4,#f6d9a4);box-shadow:inset 0 -3px #c7342f55}.om-tab:focus-visible,.om-chipbtn:focus-visible{outline:3px solid var(--om-gold);outline-offset:2px}.om-chips{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.om-chipbtn{min-height:44px;color:inherit;font:inherit;cursor:pointer;background:radial-gradient(circle at 50% 40%,#fffaf0 0 36%,#0000 38%),linear-gradient(#e3efe2,#cfe3cf);border:2px solid #4a332633;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:2px;display:flex;position:relative;box-shadow:inset 0 0 0 3px #2e7b4844,0 2px #4a332626}.om-chipbtn strong{font-size:15px;line-height:1}.om-mini{min-height:12px;color:var(--om-red-dark);gap:0;font-size:12px;font-weight:800;line-height:1;display:flex}.om-mini .om-rib{width:11px;height:11px}.om-chipbtn.is-next{border-color:var(--om-red);box-shadow:inset 0 0 0 3px #f0b32e88,0 2px #4a332626}.om-chipbtn.is-here{outline:3px solid var(--om-gold);outline-offset:1px}.om-chipbtn.is-open:after{content:"";background:var(--om-gold);border-radius:50%;width:7px;height:7px;position:absolute;top:3px;right:3px;box-shadow:0 0 0 1.5px #8a5a14}.om-chipbtn.is-locked{cursor:help;color:#5e4330;background:var(--om-wood-tex) center / 160px 60px, #b88a5e;border-color:#8f6a48;box-shadow:inset 0 2px #fff5e04d,inset 0 -3px #6b4a3055,0 2px #4a332626}.om-chipbtn.is-locked strong{color:#fff3dc;text-shadow:0 1px #5e4330;font-size:13px}.om-lock{fill:none;stroke:#fff3dc;stroke-width:2.4px;stroke-linejoin:round;width:13px;height:13px}.om-tree-note{min-height:1.3em;margin:0;font-size:12px;line-height:1.25}.om-tonight{background:linear-gradient(#e8f1fb,#c9daf0);flex-direction:column;gap:0;line-height:1.15}.om-tonight span{opacity:.85;align-items:center;gap:2px;font-size:12px;font-weight:700;display:inline-flex}.om-tonight .om-rib{width:13px;height:13px}.om-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.om-root.is-narrow .om-where strong{font-size:14px}.om-root.is-narrow .om-hud .om-rib{width:16px;height:16px}.om-root.is-narrow .om-chip{padding:1px 5px}.om-root.is-narrow .om-banner .om-logo{font-size:32px}.om-root.is-narrow .om-card-inner{padding:10px 11px}.om-root.is-narrow .om-banner{min-height:84px;margin:-10px -11px 6px}.om-root.is-narrow .om-how{margin-bottom:8px;font-size:13.5px}.om-root.is-narrow .om-sub{font-size:14px}.om-root.is-narrow .om-tree-body{grid-template-columns:minmax(0,1fr)}.om-root.is-narrow .om-tree-art{display:none}.om-root.card-slim .om-banner{min-height:76px;padding-top:6px}.om-root.card-slim .om-banner .om-logo{font-size:29px}.om-root.card-slim .om-actions{gap:6px}.om-root.card-slim :is(.om-title,.om-results) .om-actions .om-btn:not(.om-primary){flex-basis:80px}.om-root.card-slim .om-actions .om-btn{padding:4px 6px}.om-root.card-slim .om-how{margin-bottom:6px}.om-root.card-compact .om-card-inner{padding:10px 14px}.om-root.card-compact .om-banner{flex:none;min-height:58px;margin:-10px -14px 6px;padding-bottom:6px}.om-root.card-compact .om-banner .om-logo{font-size:31px}.om-root.card-compact .om-how{margin-bottom:6px}.om-root.card-compact .om-actions{gap:6px}.om-root.card-compact :is(.om-title,.om-results) .om-actions .om-btn:not(.om-primary){flex-basis:80px}.om-root.is-wide:not(.is-short) .om-banner .om-logo{font-size:clamp(38px,4.6vw,52px)}.om-root.is-short .om-card-inner{padding:8px 12px}.om-root.is-short .om-card h2{font-size:19px}.om-root.is-short .om-title{grid-template-rows:1fr auto auto auto auto 1fr;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:0 14px;display:grid}.om-root.is-short .om-title .om-banner{border-bottom:0;border-right:2px solid var(--om-edge);border-radius:15px 0 0 15px;grid-area:1/1/-1;align-items:center;min-height:100%;margin:-8px 0 -8px -12px}.om-root.is-short .om-title>:not(.om-banner){grid-column:2}.om-root.is-short .om-title>.om-sub{grid-row:2}.om-root.is-short .om-title>.om-how{grid-row:3;margin-bottom:6px;font-size:13px}.om-root.is-short .om-title>.om-note{grid-row:4}.om-root.is-short .om-title>.om-actions{grid-row:5}.om-root.is-short .om-title .om-keys{display:none}.om-root.is-short .om-banner .om-logo{font-size:32px}.om-root.is-short .om-chips{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.om-root.is-short .om-tree-body{grid-template-columns:minmax(60px,1fr) minmax(476px,4fr)}.om-root.is-short .om-chipbtn strong{font-size:13px}.om-root.is-short .om-mini .om-rib{width:9px;height:9px}.om-root.is-short .om-results{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;gap:4px 12px;display:grid}.om-root.is-short .om-results>:is(h2,.om-big,.om-criteria){grid-column:1}.om-root.is-short .om-results>.om-criteria{align-self:start}.om-root.is-short .om-results>:not(h2,.om-big,.om-criteria){grid-column:2}.om-root.is-short .om-results>h2{grid-row:1}.om-root.is-short .om-results>.om-big{grid-row:2}.om-root.is-short .om-results>.om-criteria{grid-row:3/span 3}.om-root.is-short .om-big .om-rib{width:34px;height:34px}.om-root.is-short .om-tangled .om-actions .om-btn{min-height:44px;padding:2px 8px}.om-root.card-over-hud>.om-hud{visibility:hidden}
