@media (orientation:portrait) and (width<=700px){body.play-theme-shell-sort-cove .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-shell-sort-cove .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(460px,min(100svh - 108px,190vw));min-height:0}}@media (orientation:landscape) and (height<=520px){body.play-theme-shell-sort-cove .play-shell[data-game-shell]{--game-width-from-height:100vw}body.play-theme-shell-sort-cove .play-shell[data-game-shell] .game-stage{aspect-ratio:auto;height:max(220px,100svh - 108px);min-height:0}}body.play-theme-shell-sort-cove .play-shell[data-game-shell]:fullscreen{--game-shell-max-width:100vw;--fullscreen-game-width:100vw}body.play-theme-shell-sort-cove .play-shell[data-game-shell]:fullscreen .game-stage{aspect-ratio:auto;height:calc(100dvh - 56px);min-height:0}.ssc{--ink:#3a2a1c;--paper:#fff8ea;--sea:#1f7d8c;--sea-dark:#155b67;--sand:#f3dfb4;--coral:#e2683f;--gold:#ffd36b;width:100%;height:100%;color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#e7c98f;font-family:ui-rounded,Trebuchet MS,Segoe UI,sans-serif;position:relative;overflow:hidden;container:ssc/size}.ssc *,.ssc :before,.ssc :after{box-sizing:border-box}.ssc-board{touch-action:none;cursor:pointer;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.ssc-board:focus-visible{box-shadow:inset 0 0 0 3px var(--sea)}.ssc-fx{pointer-events:none;z-index:4;width:100%;height:100%;position:absolute;inset:0}.ssc-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.ssc-pearl,.ssc-inline-pearl{vertical-align:-3px;width:18px;height:18px}.ssc-icon{flex:none;width:22px;height:22px}.ssc-btn{min-height:44px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;background:linear-gradient(#fffaf0,#f6e6c6);border:2px solid #b98a52;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:16px;font-weight:800;line-height:1.1;display:inline-flex;box-shadow:0 3px #b98a52,0 4px 10px #5032142e}.ssc-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #b98a52}.ssc-btn:focus-visible{outline:3px solid var(--sea);outline-offset:2px}.ssc-btn:disabled{opacity:.45;cursor:default}.ssc-btn[hidden]{display:none}.ssc-primary{color:#fff;text-shadow:0 1px #00000040;background:linear-gradient(#2fa0ad,#1a7480);border-color:#11515a;box-shadow:0 3px #11515a,0 4px 12px #0a3c464d}.ssc-small{min-height:40px;padding:6px 12px;font-size:15px}.ssc-hud{pointer-events:none;z-index:2;font-variant-numeric:tabular-nums;position:absolute;inset:0}.ssc-hud[hidden]{display:none}.ssc-hud>*{pointer-events:auto}.ssc-top{background:linear-gradient(#fff9eaf7,#faeccdf2);border-bottom:2px solid #d2ad74;align-items:center;gap:8px;height:50px;padding:4px 8px;display:flex;position:absolute;top:0;left:0;right:0}.ssc-map-btn{border-radius:12px;flex:none;width:42px;height:42px;min-height:42px;padding:0}.ssc-name{flex:1;min-width:0;line-height:1.15;display:grid}.ssc-name strong{white-space:nowrap;text-overflow:ellipsis;font-size:16px;overflow:hidden}.ssc-name span{color:#7a5a3a;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.ssc-moves{background:var(--sea);color:#fff;border-radius:12px;flex:none;justify-items:center;min-width:54px;padding:2px 8px;line-height:1.05;display:grid;box-shadow:inset 0 -2px #0003}.ssc-moves strong{font-size:20px;font-weight:900}.ssc-moves span{opacity:.92;font-size:12px;font-weight:800}.ssc-moves.is-over{background:#b0603a}.ssc-reach{background:#2b6f78;border-radius:999px;flex:none;gap:1px;padding:3px 5px;display:flex;box-shadow:inset 0 -2px #0003}.ssc-reach-pearl{width:19px;height:19px}.ssc-sets{background:#fff6e1c7;border-bottom:1px solid #b48c5a59;justify-content:center;align-items:center;gap:6px;height:32px;margin:0;padding:2px 8px;list-style:none;display:flex;position:absolute;top:50px;left:0;right:0}.ssc-set{background:#ffffff8c;border:1.5px dashed #966e468c;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:relative}.ssc-set-shell{object-fit:contain;opacity:.55;filter:saturate(.7);width:22px;height:22px}.ssc-set-star{object-fit:contain;width:15px;height:15px;position:absolute;top:-5px;right:-6px}.ssc-set-pearl{opacity:0;width:16px;height:16px;transition:opacity .2s,transform .25s;position:absolute;bottom:-4px;right:-4px;transform:scale(.3)}.ssc-set.is-filled{background:#fff5df;border-style:solid;border-color:#b9935a;box-shadow:0 0 10px #ffecaaf2}.ssc-set.is-filled .ssc-set-shell{opacity:1;filter:none}.ssc-set.is-filled .ssc-set-pearl{opacity:1;transform:scale(1)}.ssc-set.is-bump{animation:.35s ease-out ssc-bump}@keyframes ssc-bump{40%{transform:scale(1.25)}}.ssc-actions{background:linear-gradient(#faeccdf0,#fff9eaf7);border-top:2px solid #d2ad74;justify-content:center;align-items:center;gap:10px;height:58px;padding:6px 8px;display:flex;position:absolute;bottom:0;left:0;right:0}.ssc-actions .ssc-btn{flex:1;max-width:150px;padding:6px 8px}.ssc-btn.is-glow{border-color:#e0a12b;animation:1s ease-in-out infinite ssc-glow}@keyframes ssc-glow{50%{box-shadow:0 3px #b98a52,0 0 16px 4px #ffd25af2}}.ssc-note{color:#fff6e3;text-align:center;background:#482c18eb;border-radius:12px;margin:0;padding:8px 12px;font-size:14px;font-weight:700;position:absolute;bottom:64px;left:8px;right:8px}.ssc-note[hidden]{display:none}.ssc-banner{z-index:3;background:#fffaeef7;border:2px solid #c79a5d;border-radius:16px;grid-template-columns:48px 1fr;align-items:center;gap:4px 10px;width:min(92%,420px);padding:10px 12px;animation:.3s ease-out ssc-in;display:grid;position:absolute;top:90px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #46280f4d}.ssc-banner[hidden]{display:none}.ssc-banner-icon{object-fit:contain;width:48px;height:48px}.ssc-banner-body strong{font-size:17px;display:block}.ssc-banner-body p{margin:2px 0 0;font-size:14px;line-height:1.3}.ssc-banner .ssc-btn{grid-column:1/-1;justify-self:end}@keyframes ssc-in{0%{opacity:0;transform:translate(-50%,-8px)}}.ssc-toast{z-index:3;color:#fff;text-align:center;pointer-events:none;background:#28464bf0;border-radius:999px;max-width:92%;padding:8px 14px;font-size:14px;font-weight:700;position:absolute;bottom:70px;left:50%;transform:translate(-50%)}.ssc-toast[hidden]{display:none}.ssc-toast.is-in{animation:.25s ease-out ssc-toast}@keyframes ssc-toast{0%{opacity:0;transform:translate(-50%,6px)}}.ssc.is-wide .ssc-top{background:0 0;border-bottom:0;border-right:2px solid #d2ad74;flex-wrap:wrap;row-gap:4px;width:196px;height:auto;padding:6px 8px;bottom:auto;right:auto}.ssc.is-wide .ssc-name{flex:120px}.ssc.is-wide .ssc-moves{margin-left:auto}.ssc.is-wide .ssc-sets{border-top:0;border-bottom:1px solid #b48c5a59;border-left:1px solid #b48c5a59;border-right:0;border-radius:0 0 0 14px;width:auto;height:34px;top:0;left:auto;right:0}.ssc.is-wide .ssc-actions{background:0 0;border-top:0;border-right:2px solid #d2ad74;flex-direction:column;align-items:stretch;gap:6px;width:196px;height:auto;padding:6px 8px;right:auto}.ssc.is-wide .ssc-actions .ssc-btn{max-width:none;min-height:40px}.ssc.is-wide .ssc-hud:before{content:"";pointer-events:none;background:#faeccdf0;border-right:2px solid #d2ad74;width:196px;position:absolute;top:0;bottom:0;left:0}.ssc.is-wide .ssc-note{bottom:8px;left:204px}.ssc.is-wide .ssc-toast{bottom:12px;left:calc(50% + 98px)}.ssc.is-wide .ssc-banner{width:min(60%,420px);top:40px;left:calc(50% + 98px)}.ssc-screen{z-index:5;position:absolute;inset:0;overflow:hidden}.ssc-screen[hidden]{display:none}.ssc-title{background:#e7c98f}.ssc-title-art{object-fit:cover;object-position:50% 0;width:100%;height:100%;position:absolute;inset:0}.ssc-title-card{text-align:center;background:#fffaeef2;border:2px solid #c79a5d;border-radius:20px;gap:10px;width:min(94%,400px);padding:14px;display:grid;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #46280f59}.ssc-lede{margin:0;font-size:15px;font-weight:700;line-height:1.35}.ssc-play{min-height:52px;font-size:20px}.ssc-row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.ssc-row .ssc-btn{flex:120px}.ssc-stats,.ssc-save-note{color:#6b4d2f;margin:0;font-size:13px;font-weight:700}.ssc-save-note{color:#8a3b1c}.ssc-save-note[hidden]{display:none}.ssc-demo{justify-content:center;align-items:flex-end;gap:22px;height:70px;display:flex}.ssc-demo-tray{background:linear-gradient(#a3e7e3,#3aa3b2);border:4px solid #e5c690;border-radius:14px;width:46px;height:66px;position:relative;box-shadow:0 2px 4px #5032144d}.ssc-demo-shell{object-fit:contain;width:34px;height:30px;position:absolute;left:50%;transform:translate(-50%)}.ssc-demo-shell.d0{bottom:2px}.ssc-demo-shell.d1{bottom:15px}.ssc-demo-shell.d2{bottom:28px}.ssc-demo-fly{animation:2.6s ease-in-out infinite ssc-demo;bottom:41px}@keyframes ssc-demo{0%,15%{opacity:1;transform:translate(calc(-50% - 68px),-14px)}45%{transform:translate(calc(-50% - 34px),-40px)}70%,82%{opacity:1;transform:translate(-50%)}92%{opacity:0}to{opacity:0;transform:translate(-50%)}}.ssc-map{background:linear-gradient(#bfe8e7,#f1dcae 40%);flex-direction:column;display:flex}.ssc-map-head{background:#fffaeef2;border-bottom:2px solid #d2ad74;flex:none;align-items:center;gap:10px;padding:8px 10px;display:flex}.ssc-map-head h2{flex:1;margin:0;font-size:19px}.ssc-map-pearls{white-space:nowrap;font-weight:800}.ssc-map-list{overscroll-behavior:contain;flex:1;align-content:start;gap:10px;padding:10px 10px 18px;display:grid;overflow-y:auto}.ssc-daily-card{text-align:left;background:linear-gradient(#fff3d6,#ffe2a8);justify-content:flex-start;gap:10px}.ssc-daily-icon{object-fit:contain;width:40px;height:40px}.ssc-daily-text{display:grid}.ssc-daily-text span{color:#6b4d2f;font-size:13px;font-weight:700}.ssc-stage{background:#fffaeee6;border:2px solid #d9b77f;border-radius:16px;padding:8px}.ssc-stage.is-locked{opacity:.65}.ssc-stage-head{align-items:center;gap:8px;margin-bottom:6px;display:flex}.ssc-stage-icon{object-fit:contain;flex:none;width:34px;height:34px}.ssc-stage-text{flex:1;min-width:0;line-height:1.2;display:grid}.ssc-stage-text strong{font-size:15px}.ssc-stage-text span{color:#6b4d2f;font-size:12px;font-weight:600}.ssc-stage-count{color:#6b4d2f;font-size:13px;font-weight:800}.ssc-tiles{grid-template-columns:repeat(6,1fr);gap:5px;display:grid}.ssc-tile{min-height:50px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;background:#fffaf0;border:2px solid #c9a46c;border-radius:12px;align-content:center;justify-items:center;gap:2px;padding:4px 0;display:grid}.ssc-tile:disabled{cursor:default;color:#8a7458;background:#eadcc1;border-style:dashed}.ssc-tile.is-done{background:#fff3dc}.ssc-tile[data-current]{border-color:var(--sea);box-shadow:0 0 0 2px var(--sea)}.ssc-tile:focus-visible{outline:3px solid var(--sea);outline-offset:1px}.ssc-tile-num{font-size:15px;font-weight:900}.ssc-tile-pearls{display:flex}.ssc-tile-pearl{width:12px;height:12px}.ssc-tile-lock{width:16px;height:16px}.ssc-book{background:#fffaeee6;border:2px solid #d9b77f;border-radius:16px;padding:8px}.ssc-book-title{margin-bottom:4px;font-size:14px;display:block}.ssc-book-list{text-align:center;grid-template-columns:repeat(6,1fr);gap:4px;margin:0;padding:0;font-size:13px;font-weight:800;list-style:none;display:grid}.ssc-book-list li{justify-items:center;display:grid}.ssc-book-list li.is-empty{opacity:.45}.ssc-book-shell{object-fit:contain;width:30px;height:30px}.ssc-results{background:#28464b73;place-items:center;padding:10px;display:grid}.ssc-card{text-align:center;background:#fffaeefa;border:2px solid #c79a5d;border-radius:20px;justify-items:center;gap:8px;width:min(100%,380px);max-height:100%;padding:14px;display:grid;overflow-y:auto;box-shadow:0 10px 30px #1e140a66}.ssc-card h2{margin:0;font-size:22px}.ssc-res-art{object-fit:contain;width:64px;height:48px}.ssc-res-pearls{gap:6px;display:flex}.ssc-res-pearl{width:40px;height:40px}.ssc-res-pearl.is-wait{opacity:.15;transform:scale(.5)}.ssc-res-pearl.is-pop{animation:.4s ease-out ssc-pop}@keyframes ssc-pop{0%{transform:scale(.4)}60%{transform:scale(1.25)}to{transform:scale(1)}}.ssc-tally{grid-template-columns:auto auto;gap:2px 14px;margin:0;font-size:14px;display:grid}.ssc-tally dt{text-align:left;color:#6b4d2f;font-weight:700}.ssc-tally dd{text-align:right;margin:0;font-weight:900}.ssc-res-note{color:var(--sea-dark);margin:0;font-size:14px;font-weight:700}.ssc-card .ssc-row{width:100%}@container ssc (width<=380px){.ssc-btn-label{font-size:14px}.ssc-name strong{font-size:15px}.ssc-reach-pearl{width:16px;height:16px}}@container ssc (height<=560px){.ssc-demo{display:none}.ssc-title-card{gap:7px;padding:10px}}@container ssc (aspect-ratio>=11/10){.ssc-title-art{object-fit:cover;object-position:50% 0;width:46%}.ssc-title-card{width:min(52%,420px);max-height:96%;inset:50% 2% auto auto;overflow-y:auto;transform:translateY(-50%)}}@media (prefers-reduced-motion:reduce){.ssc-demo-fly,.ssc-btn.is-glow,.ssc-set.is-bump,.ssc-res-pearl.is-pop{animation:none}}.ssc-reach .ssc-reach-pearl:not(.is-on) circle{stroke:#fff9}@container ssc (height<=440px){.ssc-results{padding:6px}.ssc-card{grid-template-columns:1fr 1fr;grid-template-areas:"title tally""pearls tally""note actions";align-items:center;gap:6px 16px;width:min(100%,660px);padding:10px 14px}.ssc-res-art{display:none}.ssc-card h2{grid-area:title;font-size:19px}.ssc-res-pearls{grid-area:pearls;justify-self:center}.ssc-res-pearl{width:34px;height:34px}.ssc-tally{grid-area:tally}.ssc-res-note{grid-area:note}.ssc-card .ssc-row{grid-area:actions}.ssc-card .ssc-row .ssc-btn{flex:90px;min-height:42px;padding:6px 8px;font-size:15px}}
