:root{color-scheme:light;--paper:#f6f0df;--card:#fffbef;--ink:#332b43;--muted:#8c7b67;--line:#ddd0b8;--orange:#eb9855;--orange-dark:#a95c32;--mono:"Courier New",Courier,monospace;--sans:ui-rounded,"Avenir Next",Avenir,"Trebuchet MS",system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html{min-width:280px;background:var(--paper)}body{margin:0;font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #71628f;outline-offset:4px}button:disabled{cursor:default}::selection{color:#332b43;background:#efc995}.home-view{min-height:100svh;background:radial-gradient(ellipse at 95% 1%,#ecdcbc55,transparent 35%),var(--paper)}.home-shell{width:min(1190px,calc(100% - 80px));margin:0 auto;padding-top:env(safe-area-inset-top)}.arcade-header{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:117px;border-bottom:1px solid var(--line)}.arcade-brand{display:inline-flex;align-items:center;gap:14px;text-decoration:none}.arcade-mark{width:49px;height:51px;display:grid;grid-template-columns:repeat(2,10px);grid-template-rows:repeat(2,10px);gap:5px;align-content:center;justify-content:center;background:var(--ink);border-radius:12px;box-shadow:0 3px 0 #d4c5aa;transform:rotate(-5deg)}.arcade-mark i{display:block;background:#f5bf76;box-shadow:1px 1px 0 #ffffff20}.arcade-mark i:nth-child(2){background:#e99264}.arcade-mark i:nth-child(3){background:#c4b4da}.arcade-mark i:nth-child(4){background:#bdd09a}.brand-copy{display:flex;flex-direction:column;gap:4px}.brand-copy strong{font-size:30px;line-height:1;letter-spacing:-1.2px;font-weight:900}.brand-period{color:#c77742}.brand-copy>span{font-size:11px;color:#927e68;letter-spacing:.15px}.header-note{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:9px;letter-spacing:1.3px;color:#8d785f;border:1px solid #d8c8ab;border-radius:999px;padding:10px 14px;white-space:nowrap}.header-note i{height:6px;width:6px;border-radius:50%;background:#aab984;box-shadow:0 0 0 3px #aab98420}.room-intro{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:41px 0 29px}.eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 12px;color:#a17954;font:bold 9px var(--mono);letter-spacing:1.25px}.eyebrow>span{font-size:15px;color:#d89759;line-height:.6}.room-intro h1{font-size:40px;letter-spacing:-1.5px;line-height:1.12;margin:0 0 11px;font-weight:900}.room-intro p:last-child{font-size:14px;line-height:1.6;color:#8b7964;margin:0}.intro-spark{position:relative;display:grid;place-items:center;width:89px;height:89px;transform:rotate(9deg);margin:0 17px 0 0;flex-shrink:0}.intro-spark i{position:absolute;inset:0;background:#eac694;clip-path:polygon(50% 0,60% 14%,77% 5%,80% 24%,98% 25%,90% 43%,100% 57%,82% 65%,84% 84%,65% 83%,56% 100%,44% 86%,25% 95%,22% 76%,4% 75%,11% 57%,0 43%,18% 35%,16% 16%,35% 17%)}.intro-spark b{position:relative;text-align:center;color:#8a5b35;font:bold 11px/1.45 var(--mono);letter-spacing:.4px;transform:rotate(-9deg)}.continue-card{display:flex;align-items:center;gap:16px;margin:0 0 23px;padding:14px 17px;border:1px solid #dac6a6;border-radius:13px;background:#eee3cc;box-shadow:0 2px 0 #e5d9c1}.continue-card img,.continue-card .continue-icon{display:block;object-fit:cover;width:58px;height:47px;border-radius:6px;image-rendering:pixelated;flex-shrink:0}.continue-copy{flex:1;min-width:0}.continue-card h2{font-size:15px;margin:0 0 4px;letter-spacing:-.3px}.continue-card p{font-size:11px;line-height:1.4;color:#927455;margin:0}.continue-card .continue-eyebrow{font:bold 8px var(--mono);letter-spacing:.7px;color:#a57949;margin-bottom:4px}.continue-card a,.continue-card button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #c79760;border-bottom-width:3px;border-radius:8px;background:#edbe81;font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap}.continue-card a:hover,.continue-card button:hover{background:#f4cb95}.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}.game-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.game-filters button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;background:#faf5e8;border:1px solid #dfd2bb;border-radius:9px;color:#8c765e;font-size:12px;font-weight:750;line-height:1.3;transition:background .15s,color .15s}.game-filters button:hover{background:#eee0c9}.game-filters button[aria-pressed=true],.game-filters button.is-active{background:var(--ink);color:#fff1d3;border-color:var(--ink);box-shadow:0 2px 0 #c9b9a1}.library-note{display:flex;align-items:center;gap:6px;line-height:1.3;color:#a38c72;font-size:10px;margin:0}.library-note>span{font-size:17px;color:#b39875}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 22px;align-items:stretch}.game-tile{--tile-accent:#e29c64;--tile-dark:#975d35;--tile-soft:#f6e5cd;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--card);border:1px solid #ddcdb3;border-radius:15px;box-shadow:0 4px 0 #e3d6be;transition:transform .18s,box-shadow .18s,border-color .18s}.game-tile[data-category=everyday]{--tile-accent:#aaba88;--tile-dark:#647643;--tile-soft:#e9eedb}.game-tile[data-category=seasonal]{--tile-accent:#e29c64;--tile-dark:#975d35;--tile-soft:#f6e5cd}.game-tile[data-theme=halloween]{--tile-accent:#b296c7;--tile-dark:#76608b;--tile-soft:#ede4f2}.game-tile[data-theme=thanksgiving]{--tile-accent:#c8a05c;--tile-dark:#8f6632;--tile-soft:#f3e6ca}.game-tile[data-theme=christmas]{--tile-accent:#82b49c;--tile-dark:#4b7e68;--tile-soft:#e2efe5}.game-tile[data-theme=space]{--tile-accent:#969bcc;--tile-dark:#606790;--tile-soft:#e9eaf7}.game-tile:has(.tile-play):hover{transform:translateY(-4px);box-shadow:0 8px 0 #e3d6be;border-color:#c4a57b}.tile-art{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#e7d9bd;border-bottom:1px solid #d9c6a8}.tile-art img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated;transition:transform .28s}.game-tile:has(.tile-play):hover .tile-art img{transform:scale(1.025)}.tile-art:after{content:"";position:absolute;inset:0;box-shadow:inset 0 -1px 0 #3b263412;pointer-events:none}.tile-content,.tile-copy,.tile-body{display:flex;flex-direction:column;flex:1;padding:19px 21px 20px;min-width:0}.tile-category{display:flex;align-items:center;gap:6px;align-self:flex-start;color:var(--tile-dark);font:bold 8px/1.3 var(--mono);letter-spacing:.8px;text-transform:uppercase;margin:0 0 8px}.tile-category:before{content:"";width:5px;height:5px;background:var(--tile-accent);box-shadow:0 0 0 2px var(--tile-soft);border-radius:1px}.game-tile h2{font-size:23px;line-height:1.1;letter-spacing:-.7px;margin:0 0 9px;font-weight:850}.tile-description{font-size:12px;color:#8f7c66;line-height:1.55;margin:0 0 19px;flex:1}.tile-play{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:11px 14px;border:1px solid #c88b4e;border-bottom-width:3px;border-radius:8px;background:#edb575;color:#553b30;font-size:12px;font-weight:850;text-decoration:none;line-height:1.35;transition:background .15s,transform .15s}.tile-play:hover{background:#f4c48a}.tile-play:active{transform:translateY(1px);border-bottom-width:1px}.tile-play>span:last-child,.tile-play>i{font-size:20px;line-height:1;font-style:normal;font-weight:500}.tile-status{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 14px;border:1px dashed #d8c7ac;border-radius:8px;background:#f6eddb;color:#967e60;font:bold 9px/1.35 var(--mono);letter-spacing:.6px;text-align:center;text-transform:uppercase}.game-tile[data-status=coming-soon],.game-tile[data-status=planned],.game-tile[data-status=idea]{box-shadow:0 3px 0 #e8ddc7}.game-tile[data-status=coming-soon] .tile-art,.game-tile[data-status=planned] .tile-art,.game-tile[data-status=idea] .tile-art{filter:saturate(.72)}.game-tile>.tile-category{margin:18px 21px 8px}.game-tile>h2{margin:0 21px 9px}.game-tile>.tile-description{margin:0 21px 19px}.game-tile>.tile-play,.game-tile>.tile-status{margin:0 21px 20px}.empty-message{grid-column:1/-1;border:1px dashed #d6c7ae;border-radius:12px;padding:34px 24px;background:#faf5e8;color:#968067;text-align:center;font-size:14px;line-height:1.6}.arcade-footer{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:37px;padding:21px 0 29px;border-top:1px solid var(--line);padding-bottom:max(29px,env(safe-area-inset-bottom))}.arcade-footer p{font-size:10px;color:#a18c72;line-height:1.6;margin:0}.arcade-footer p:first-child>span{font-family:Georgia,serif;color:#ba9872;font-size:13px;margin:0 2px}#save-note{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:8px;letter-spacing:.1px}.save-dot{display:block;flex-shrink:0;width:5px;height:5px;border-radius:50%;background:#a4ae86}.player{min-height:100svh;background:var(--paper);padding-top:env(safe-area-inset-top);display:flex;flex-direction:column}.player-header{display:flex;align-items:center;gap:21px;min-height:77px;padding:13px max(22px,env(safe-area-inset-right)) 13px max(22px,env(safe-area-inset-left));border-bottom:1px solid #d7c8ad;box-shadow:0 2px 0 #e7dcc6;z-index:1;background:var(--paper)}.back-to-arcade{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid #d0bc9c;border-bottom-width:3px;border-radius:9px;background:#fff9ec;color:#816143;font-size:12px;font-weight:800;white-space:nowrap}.back-to-arcade:hover{background:#edddc2}.back-to-arcade>span:first-child{font-size:20px;line-height:1}.player-heading{min-width:0;flex:1}.player-label{display:block;margin:0 0 5px;color:#a58969;font:bold 7px var(--mono);letter-spacing:1.1px}.player-heading h1{font-size:19px;letter-spacing:-.6px;line-height:1.2;margin:0}.player-mark{color:#d4af79;font-size:24px;line-height:1;margin-right:7px}.game-host{width:100%;flex:1;background:var(--paper)}.game-host iframe{display:block;width:100%;height:calc(100dvh - 77px - env(safe-area-inset-top));min-height:520px;border:0;background:var(--paper)}.game-host>.loading-message,.game-host>.empty-message{margin:40px auto;max-width:560px;padding:30px}.player:fullscreen{padding-top:0}.player:fullscreen .game-host iframe{height:calc(100dvh - 77px)}
@media(min-width:1600px){.home-shell{width:min(1270px,calc(100% - 120px))}.arcade-header{min-height:129px}.room-intro{padding-top:47px;padding-bottom:35px}.room-intro h1{font-size:45px}.game-grid{gap:27px}.tile-content,.tile-copy,.tile-body{padding:22px 24px}.game-tile h2{font-size:25px}.tile-description{font-size:13px}.tile-play,.tile-status{min-height:48px}.arcade-footer{margin-top:42px}}
@media(max-width:1000px){.home-shell{width:calc(100% - 52px)}.arcade-header{min-height:104px}.brand-copy strong{font-size:27px}.room-intro{padding:33px 0 26px}.room-intro h1{font-size:35px}.room-intro p:last-child{font-size:13px}.intro-spark{width:77px;height:77px;margin-right:9px}.intro-spark b{font-size:9px}.library-note{font-size:9px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 20px}.tile-content,.tile-copy,.tile-body{padding:19px 22px 21px}.game-tile h2{font-size:25px}.tile-description{font-size:12px;min-height:38px}.arcade-footer{margin-top:31px}}
@media(max-width:650px){.home-shell{width:calc(100% - 34px)}.arcade-header{min-height:98px}.arcade-brand{gap:11px}.arcade-mark{width:41px;height:44px;grid-template-columns:repeat(2,8px);grid-template-rows:repeat(2,8px);gap:5px;border-radius:10px}.brand-copy strong{font-size:25px;letter-spacing:-.8px}.brand-copy>span{font-size:9px}.header-note{font-size:6px;letter-spacing:.7px;padding:8px 9px;gap:6px}.header-note i{height:4px;width:4px}.room-intro{padding:28px 0 24px;gap:15px}.room-intro h1{font-size:32px;letter-spacing:-1.2px;max-width:310px}.room-intro p:last-child{font-size:12px;line-height:1.55;max-width:370px}.eyebrow{font-size:7px;letter-spacing:.8px;margin-bottom:11px}.eyebrow>span{font-size:12px}.intro-spark{display:none}.library-toolbar{margin-bottom:17px;gap:10px}.library-note{display:none}.game-filters{gap:6px}.game-filters button{padding:10px 14px;font-size:11px;min-height:44px}.game-grid{gap:19px 15px}.game-tile{border-radius:12px}.tile-content,.tile-copy,.tile-body{padding:16px 16px 17px}.game-tile h2{font-size:20px;line-height:1.13;letter-spacing:-.6px}.tile-description{font-size:11px;line-height:1.5;margin-bottom:15px;min-height:0}.tile-category{font-size:7px;letter-spacing:.4px;margin-bottom:7px}.tile-play{font-size:11px;padding:10px 11px;min-height:44px}.tile-status{font-size:8px;padding:10px 8px;min-height:44px;letter-spacing:.3px}.continue-card{padding:12px;gap:11px;margin-bottom:20px}.continue-card img,.continue-card .continue-icon{width:44px;height:42px}.continue-card h2{font-size:13px}.continue-card p{font-size:10px}.continue-card a,.continue-card button{font-size:11px;padding:9px 11px}.continue-card .continue-eyebrow{font-size:6px;letter-spacing:.5px}.arcade-footer{align-items:flex-start;flex-direction:column;gap:9px;margin-top:27px;padding-top:20px;padding-bottom:24px}.arcade-footer p{font-size:9px}#save-note{font-size:7px}.player-header{min-height:69px;padding:11px max(13px,env(safe-area-inset-right)) 11px max(13px,env(safe-area-inset-left));gap:12px}.back-to-arcade{min-height:44px;gap:6px;padding:9px 10px;font-size:10px;border-radius:8px}.back-to-arcade>span:first-child{font-size:17px}.player-heading h1{font-size:16px;letter-spacing:-.4px}.player-label{font-size:6px;letter-spacing:.7px;margin-bottom:4px}.player-mark{font-size:19px;margin-right:0}.game-host iframe{height:calc(100dvh - 69px - env(safe-area-inset-top));min-height:420px}.player:fullscreen .game-host iframe{height:calc(100dvh - 69px)}}
@media(max-width:470px){.header-note{display:none}.arcade-header{min-height:91px}.room-intro{padding-top:26px;padding-bottom:21px}.room-intro h1{font-size:31px;max-width:none}.room-intro p:last-child{font-size:12px;max-width:340px}.game-grid{grid-template-columns:minmax(0,1fr);gap:21px}.tile-art{aspect-ratio:1.95}.tile-content,.tile-copy,.tile-body{padding:19px 21px 20px}.game-tile h2{font-size:25px;letter-spacing:-.8px}.tile-description{font-size:12px;line-height:1.55;margin-bottom:17px}.tile-category{font-size:8px;letter-spacing:.7px;margin-bottom:8px}.tile-play{font-size:12px;min-height:46px;padding:10px 14px}.tile-status{min-height:46px;font-size:9px}.continue-card{flex-wrap:wrap;gap:11px}.continue-card .continue-copy{flex:1;min-width:150px}.continue-card a,.continue-card button{margin-left:auto}.player-mark{display:none}.player-heading h1{font-size:14px}.player-header{gap:10px}.arcade-footer{margin-top:28px}.game-tile>.tile-category{margin:19px 21px 8px}.game-tile>h2{margin:0 21px 9px}.game-tile>.tile-description{margin:0 21px 17px}.game-tile>.tile-play,.game-tile>.tile-status{margin:0 21px 20px}}
@media(max-width:360px){.home-shell{width:calc(100% - 28px)}.room-intro h1{font-size:28px}.room-intro p:last-child{font-size:11px}.eyebrow{font-size:6px;letter-spacing:.7px}.game-filters button{padding:10px 12px;font-size:10px}.tile-content,.tile-copy,.tile-body{padding:17px 18px 19px}.game-tile h2{font-size:23px}.tile-description{font-size:11px}.continue-card img,.continue-card .continue-icon{display:none}.player-heading h1{font-size:13px}.player-label{font-size:5px}.back-to-arcade{padding:9px 8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* One scroll surface while playing: the game owns the space below this bar. */
.player{position:relative;height:100dvh;min-height:0;overflow:hidden}.player-header{flex-shrink:0}.game-host{position:relative;min-height:0;overflow:hidden}.game-host iframe,.player:fullscreen .game-host iframe{height:100%;min-height:0}.player-status{position:absolute;z-index:3;top:calc(87px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);padding:11px 17px;border:1px solid #d6bf99;border-radius:8px;background:#fff7e7f5;box-shadow:0 3px 10px #332b4320;font-size:12px;line-height:1.5;color:#886447;text-align:center;margin:0}.player-status a{font-weight:800;text-underline-offset:3px}.library-note #collection-count{font-size:10px;color:#a38c72}
@media(max-width:650px){.player-status{top:calc(79px + env(safe-area-inset-top));font-size:11px;padding:10px 13px}}

.continue-kicker{display:block;font:bold 8px/1.3 var(--mono);letter-spacing:.7px;color:#a57949;margin-bottom:5px}.continue-copy>strong{display:block;font-size:15px;line-height:1.3;letter-spacing:-.3px}.tile-progress{font:bold 8px/1.5 var(--mono);color:#7e805e;letter-spacing:.1px;margin:-8px 0 13px}.continue-link{flex-shrink:0}
@media(max-width:650px){.continue-kicker{font-size:6px;letter-spacing:.5px;margin-bottom:4px}.continue-copy>strong{font-size:13px}.tile-progress{font-size:7px;margin:-5px 0 12px}}

/* Small arcade controls, with each game's own world left intact. */
.options-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:10px 13px;border:1px solid #d8c8ad;border-radius:9px;background:#faf5e7;color:#8c7356;font-size:11px;font-weight:750;flex-shrink:0}.options-button:hover{background:#eee0c8}.options-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.home-status{margin:0 0 21px;padding:12px 15px;border:1px solid #d6bf96;border-radius:9px;background:#f0e3c8;color:#80633e;font-size:12px;line-height:1.55}.home-status:empty{display:none}.player{--player-bar-height:77px}.player-header{position:relative;z-index:5}.player-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.player-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid #d7c5a6;border-bottom-width:2px;border-radius:8px;background:#fff8e9;color:#84694e;font-size:10px;font-weight:750;line-height:1.2;white-space:nowrap}.player-control:hover{background:#ead8b8}.player-control:active{transform:translateY(1px)}.player-control[aria-pressed=true]{background:#eddfc2;border-color:#c2a774;color:#6f583a}.player-control:disabled{opacity:.48;transform:none}.player-control svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}#pause-game svg{stroke-width:3}#sound-game[aria-pressed=false] .sound-waves,#sound-game[aria-pressed=true] .sound-slash{display:none}.player-status{top:calc(var(--player-bar-height) + 10px + env(safe-area-inset-top))}.player.is-expanded{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;z-index:1000}.player.is-expanded .game-host iframe{height:100%;min-height:0}.orientation-hint{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 28px);padding:9px 13px;margin:0;background:#fff7e6e8;border:1px solid #dac59f;border-radius:999px;box-shadow:0 2px 8px #332b4310;font-size:10px;font-weight:650;line-height:1.4;color:#8f7451;z-index:3;pointer-events:none;white-space:nowrap}.orientation-hint>span{font-size:18px;line-height:.8;color:#ad8753}.pause-overlay{position:absolute;inset:calc(var(--player-bar-height) + env(safe-area-inset-top)) 0 0;z-index:4;display:grid;place-items:center;padding:20px;background:#332b4375;backdrop-filter:blur(4px);overflow:auto;overscroll-behavior:contain}.pause-card{width:min(365px,100%);padding:25px 27px 24px;border:1px solid #fff9ed;border-radius:15px;background:#fff9ec;box-shadow:0 4px 0 #21152936,0 14px 42px #20172b28;text-align:center}.pause-badge{display:grid;place-items:center;width:41px;height:41px;margin:0 auto 13px;border:1px solid #dec39b;border-radius:11px;background:#f3dfba;color:#b38751;font-size:25px;line-height:1;transform:rotate(-5deg)}.pause-card h2{font-size:30px;font-weight:850;letter-spacing:-1.1px;line-height:1.1;margin:0 0 10px}.pause-card p{font-size:12px;color:#92775b;line-height:1.5;margin:0 0 21px}.arcade-primary,.arcade-secondary{display:flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:11px 16px;border-radius:8px;font-size:12px;line-height:1.35;font-weight:800;touch-action:manipulation}.arcade-primary{border:1px solid #c78b51;border-bottom-width:3px;background:#edb575;color:#594034}.arcade-primary:hover{background:#f3c58d}.arcade-primary:active{transform:translateY(1px);border-bottom-width:1px}.arcade-primary>span{font-size:19px;font-weight:500;line-height:1}.arcade-secondary{border:1px solid #d8c5a4;border-bottom-width:2px;background:#fbf3e2;color:#8c6e4e}.arcade-secondary:hover{background:#ebdcc0}.arcade-primary:disabled,.arcade-secondary:disabled{opacity:.55;cursor:default;transform:none}.pause-card .arcade-primary,.pause-card .arcade-secondary{width:100%}.pause-card .arcade-secondary{margin-top:8px}.options-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;border:1px solid #fff8e5;border-radius:15px;background:#fff9ec;color:#332b43;box-shadow:0 5px 0 #21152936,0 18px 70px #20172b45;overflow:auto;overscroll-behavior:contain}.options-dialog::backdrop{background:#332b4385;backdrop-filter:blur(3px)}.options-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 25px 0}.options-heading .eyebrow{font-size:7px;letter-spacing:.9px;margin-bottom:8px}.options-heading h2{font-size:32px;line-height:1.1;font-weight:850;letter-spacing:-1px;margin:0}.dialog-close{display:grid;place-items:center;flex-shrink:0;min-width:44px;min-height:44px;padding:0;border:1px solid #d7c4a3;border-radius:9px;background:#f1e4ce;color:#96724e;font-size:25px;line-height:1}.dialog-close:hover{background:#e7d1ad}.options-body{padding:14px 25px 23px}.options-body>p:first-child{font-size:13px;line-height:1.6;color:#8d765d;margin:0 0 20px}.backup-actions{display:flex;gap:9px}.backup-actions>button{flex:1;min-width:0;padding-left:9px;padding-right:9px;gap:8px;font-size:11px}.backup-status{font-size:11px;line-height:1.5;margin:14px 0 0;padding:10px 12px;border-radius:7px;background:#efe4cc;color:#8a6d47;overflow-wrap:anywhere;white-space:pre-line}.backup-status:empty{display:none}.restore-preview{margin-top:16px;padding:16px;background:#f2e7d0;border:1px solid #d7bd91;border-radius:10px}.restore-preview h3{font-size:17px;letter-spacing:-.4px;line-height:1.2;margin:0 0 10px}.restore-preview p{font-size:12px;line-height:1.55;margin:0 0 12px;color:#896e4e}.restore-preview #restore-summary{white-space:pre-line;color:#72543d;font-weight:650}.restore-preview .restore-warning{font-size:11px;color:#947048}.restore-actions{display:flex;gap:8px}.restore-actions .arcade-primary{flex:1;font-size:11px;padding-left:9px;padding-right:9px}.restore-actions .arcade-secondary{font-size:11px;padding-left:14px;padding-right:14px}.options-footnote{font:8px/1.5 var(--mono);color:#a18b70;text-align:center;letter-spacing:.1px;margin:18px 0 0}.options-dialog button:focus-visible{outline-offset:3px}
@media(max-width:800px){.player-controls{gap:5px}.player-control{padding:9px 10px}.player-control>[data-control-label]{display:none}.player-header{gap:14px}.player-heading h1{font-size:17px}}
@media(max-width:650px){.player{--player-bar-height:69px}.options-button{min-height:44px;min-width:44px;padding:9px 11px;font-size:10px;gap:6px}.player-header{gap:10px}.player-heading h1{font-size:15px}.player-control{padding:9px;min-width:44px}.pause-overlay{padding:16px}.pause-card{padding:22px 22px 21px}.pause-card h2{font-size:28px}.pause-card p{font-size:11px}.options-dialog{width:calc(100% - 30px);max-width:460px}.options-heading{padding:20px 20px 0}.options-heading h2{font-size:29px}.options-body{padding:13px 20px 20px}.options-body>p:first-child{font-size:12px;margin-bottom:17px}.backup-actions>button{font-size:10px}.restore-preview{padding:14px}.restore-preview p{font-size:11px}.restore-actions .arcade-primary,.restore-actions .arcade-secondary{font-size:10px}.options-footnote{font-size:7px}}
@media(max-width:470px){.player{--player-bar-height:109px}.player-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;min-height:109px;padding:7px max(12px,env(safe-area-inset-right)) 7px max(12px,env(safe-area-inset-left));align-content:center}.player-heading h1{font-size:16px}.player-label{font-size:6px}.back-to-arcade{min-height:44px;padding:9px 12px;font-size:10px;gap:7px}.player-controls{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.player-control{min-height:44px;padding:8px 5px;gap:6px;font-size:9px}.player-control>[data-control-label]{display:inline}.player-control svg{width:17px;height:17px}.options-heading{gap:10px}.options-heading .eyebrow{font-size:6px;letter-spacing:.7px}.options-heading h2{font-size:28px}.backup-actions{flex-direction:column;gap:8px}.backup-actions>button{font-size:11px}.restore-actions{flex-direction:column;gap:7px}.restore-actions>button{width:100%}.restore-actions .arcade-primary,.restore-actions .arcade-secondary{font-size:11px}.options-footnote{font-size:7px}.pause-overlay{padding:14px}.pause-card{padding:23px 20px 21px}.pause-card h2{font-size:28px}.orientation-hint{font-size:9px;padding:8px 11px;gap:6px}.orientation-hint>span{font-size:16px}}
@media(max-width:360px){.options-button{width:44px;padding:9px}.options-button>span{display:none}.arcade-header{gap:12px}.options-heading{padding:18px 17px 0}.options-body{padding:13px 17px 18px}.options-heading h2{font-size:27px}.player-heading h1{font-size:14px}.player-control{font-size:8px;gap:5px}.player-control svg{width:16px;height:16px}.pause-card h2{font-size:26px}.restore-preview{padding:12px}.restore-preview .restore-warning{font-size:10px}}
@media(max-height:500px) and (orientation:landscape){.player{--player-bar-height:57px}.player-header{min-height:57px;padding-top:6px;padding-bottom:6px;gap:12px;display:flex}.player-heading h1{font-size:15px}.player-label{font-size:5px;margin-bottom:3px}.player-controls{display:flex;gap:5px}.player-control{min-height:44px;padding:9px 10px}.player-control>[data-control-label]{display:none}.back-to-arcade{min-height:44px}.pause-overlay{padding:10px}.pause-card{padding:15px 22px;width:min(370px,100%)}.pause-badge{display:none}.pause-card h2{font-size:25px;margin-bottom:7px}.pause-card p{font-size:11px;margin-bottom:13px}.pause-card .arcade-primary,.pause-card .arcade-secondary{min-height:44px;padding:9px 12px}.pause-card .arcade-secondary{margin-top:7px}.options-dialog{max-height:calc(100dvh - 20px)}.options-heading{padding-top:16px}.options-heading h2{font-size:27px}.options-body{padding-top:11px}.orientation-hint{bottom:9px;font-size:9px;padding:7px 11px}}

.player-control>[data-control-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:19px;height:20px;font-size:21px;line-height:1;font-family:Arial,sans-serif;font-weight:400}.recovery-backup{width:100%;margin-top:10px;font-size:11px;line-height:1.4}#pause-game>[data-control-icon]{font-size:20px;font-weight:bold}
@media(max-width:470px){.player-control>[data-control-icon]{width:17px;font-size:20px}}

#restore-summary{font-size:12px;line-height:1.5;margin:0 0 12px}#restore-summary>p{display:flex;flex-direction:column;gap:2px;margin:0 0 10px;line-height:1.45}#restore-summary>p:last-child{margin-bottom:0}#restore-summary strong{font-size:12px;color:#6f523d}#restore-summary span{font-size:11px;font-weight:400;color:#96754f}.player:fullscreen{padding-top:env(safe-area-inset-top)}body.is-playing{overflow:hidden;overscroll-behavior:none}
@media(max-width:470px){#restore-summary strong{font-size:11px}#restore-summary span{font-size:10px}}

/* Phone browsers without element fullscreen gain more play room with one compact row. */
.player.is-expanded{--player-bar-height:57px}.player.is-expanded .player-header{display:flex;align-items:center;gap:10px;min-height:57px;height:57px;padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left))}.player.is-expanded .back-to-arcade{width:44px;min-width:44px;min-height:44px;height:44px;justify-content:center;padding:8px;gap:0}.player.is-expanded .back-to-arcade>span:last-child{display:none}.player.is-expanded .player-heading{flex:1;min-width:0}.player.is-expanded .player-heading h1{font-size:14px;letter-spacing:-.35px;line-height:1.2}.player.is-expanded .player-label{font-size:5px;letter-spacing:.65px;margin-bottom:3px}.player.is-expanded .player-controls{display:flex;gap:5px;flex-shrink:0}.player.is-expanded .player-control{width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;gap:0}.player.is-expanded .player-control>[data-control-label]{display:none}.player.is-expanded .player-control>[data-control-icon]{width:19px;font-size:21px}
/* Keep touch controls clear of a phone's home indicator and landscape cutouts. */
.player{padding-bottom:env(safe-area-inset-bottom)}
.game-host{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.orientation-hint{bottom:calc(98px + env(safe-area-inset-bottom))}

/* Most families only need to know that their adventures are saved. */
.options-dialog .options-heading{align-items:flex-start}.options-dialog .options-heading h2{font-size:30px;letter-spacing:-1px;line-height:1.12}.options-dialog .options-heading .dialog-close{margin-top:1px}.options-dialog .options-body>p:first-child{margin-bottom:13px}.device-status{font-size:11px;line-height:1.5;color:#758255;background:#eceddc;border:1px solid #d6dabb;border-radius:8px;padding:10px 12px;margin:0 0 15px}.device-status[data-state=offline],.device-status[data-state=unavailable],.device-status[data-state=error],.device-status[data-state=conflict]{color:#917145;background:#f3e6cd;border-color:#dfcba7}.device-actions{display:flex;flex-direction:column;gap:8px}.device-actions .arcade-primary,.device-actions .arcade-secondary{width:100%}.quiet-button{display:block;min-height:44px;padding:10px 7px;border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#937454;font-size:10px;line-height:1.4;margin:7px auto 0}.quiet-button:hover{color:#704e33}.device-flow{padding:16px;margin-top:12px;background:#f4ead7;border:1px solid #dcc6a1;border-radius:10px}.device-flow h3{font-size:20px;letter-spacing:-.6px;line-height:1.2;margin:0 0 10px}.device-flow>p{font-size:12px;line-height:1.55;color:#90724e;margin:0 0 14px}.device-flow strong{font-weight:750}.device-flow-actions{display:flex;gap:8px;margin-top:14px}.device-flow-actions>.arcade-primary{flex:1}.device-flow-actions>.arcade-secondary{min-width:82px}.device-flow-actions button{font-size:11px;min-height:46px}.generated-device-code{display:block;width:100%;border:1px solid #d5b682;border-radius:8px;padding:16px 10px;background:#fff9ec;color:#604332;font:bold 28px/1.2 var(--mono);letter-spacing:2.5px;text-align:center;min-height:66px;outline-offset:3px}.device-flow>.code-expiry{font:9px/1.5 var(--mono);letter-spacing:.1px;text-align:center;margin:10px 0 0;color:#9f8159}.device-code-form label,#device-code-form label{display:block;font:bold 8px/1.4 var(--mono);letter-spacing:.7px;color:#9c7d56;margin-bottom:7px;text-transform:uppercase}#join-device-code{width:100%;min-height:52px;border:1px solid #c9ac7b;border-radius:8px;background:#fffaf0;color:#674b34;font:bold 23px/1.2 var(--mono);letter-spacing:2px;padding:12px;text-align:center;text-transform:uppercase}#join-device-code::placeholder{color:#b7a186;opacity:1}.generated-device-code:focus-visible,#join-device-code:focus-visible{outline:3px solid #827095;outline-offset:3px}.device-feedback{font-size:11px;line-height:1.5;color:#8e704a;margin:13px 0 0;padding:10px 12px;background:#f2e7d2;border-radius:7px;overflow-wrap:anywhere}.device-feedback:empty{display:none}.device-review-summary{margin:0 0 15px}.device-review-summary article{padding:12px 0;border-bottom:1px dashed #d5c0a0}.device-review-summary article:first-child{padding-top:0}.device-review-summary article:last-child{border-bottom:0;padding-bottom:0}.device-review-summary h4{font-size:13px;line-height:1.3;margin:0 0 8px;letter-spacing:-.2px;color:#654b3c}.device-review-summary article p{display:flex;flex-direction:column;gap:2px;margin:0 0 8px}.device-review-summary article p:last-child{margin-bottom:0}.device-review-summary span{font-size:9px;line-height:1.4;color:#a38a69}.device-review-summary strong{font-size:11px;line-height:1.4;color:#846643;font-weight:650}.device-review-summary>p{font-size:12px;line-height:1.5;color:#937653;margin:0}.device-flow>.device-replace-note{font-size:10px;line-height:1.55;color:#a0835a;margin-bottom:0}.device-conflict h3{font-size:20px}.device-conflict>p{margin-bottom:11px}.device-conflict ul{padding:0 0 0 18px;margin:0 0 14px;color:#7e5c3b;font-size:11px;line-height:1.65;font-weight:700}.conflict-actions{display:flex;flex-direction:column;gap:8px}.conflict-actions button{font-size:11px;line-height:1.4}.device-flow>.device-small-note{font-size:9px;line-height:1.5;color:#a1845f;margin:12px 0 0}.backup-details{border-top:1px solid #e0d3bc;margin-top:21px}.backup-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 1px 12px;color:#9a8063;font-size:10px;font-weight:700;list-style:none;touch-action:manipulation}.backup-details>summary::-webkit-details-marker{display:none}.backup-details>summary:after{content:"+";font-size:18px;font-family:var(--mono);font-weight:400;color:#aa8d6a;line-height:1}.backup-details[open]>summary:after{content:"−"}.backup-details>summary:focus-visible{outline:3px solid #827095;outline-offset:3px;border-radius:5px}.backup-details-body{padding:0 0 3px}.backup-intro{font-size:11px;color:#9b8162;line-height:1.5;margin:0 0 13px}.backup-details .backup-actions>button{font-size:10px}.backup-details .backup-status{font-size:10px}.options-dialog .options-footnote{margin-top:10px;color:#ac997f}
@media(max-width:470px){.options-dialog .options-heading h2{font-size:27px;letter-spacing:-.8px;max-width:220px}.device-status{font-size:10px;padding:9px 10px;margin-bottom:12px}.device-actions button{font-size:11px}.device-flow{padding:14px;margin-top:10px}.device-flow h3{font-size:20px}.device-flow>p{font-size:11px;line-height:1.5;margin-bottom:12px}.device-flow-actions{gap:7px;margin-top:12px}.device-flow-actions button{font-size:10px;padding:10px 9px;min-height:46px}.device-flow-actions>.arcade-secondary{min-width:70px}.generated-device-code{font-size:24px;letter-spacing:1px;min-height:62px;padding:14px 6px}.device-flow>.code-expiry{font-size:8px}#join-device-code{font-size:22px;letter-spacing:1px;min-height:52px}.device-feedback{font-size:10px;padding:9px 10px}.device-review-summary h4{font-size:12px}.device-review-summary strong{font-size:10px}.device-review-summary span{font-size:8px}.device-flow>.device-replace-note{font-size:9px}.conflict-actions button{font-size:10px;padding:10px}.device-flow>.device-small-note{font-size:8px}.backup-details{margin-top:18px}.backup-details>summary{font-size:9px}.backup-intro{font-size:10px}.backup-details .backup-actions{flex-direction:row;gap:7px}.backup-details .backup-actions>button{font-size:9px;padding:10px 7px;gap:5px}.backup-details .backup-actions .arcade-primary>span{font-size:15px}}
@media(max-width:360px){.options-dialog .options-heading h2{font-size:26px}.device-flow{padding:12px}.device-flow h3{font-size:19px}.generated-device-code{font-size:22px;letter-spacing:.6px}.device-flow-actions button{font-size:9px}.device-flow-actions>.arcade-secondary{min-width:63px}.device-review-summary h4{font-size:11px}.backup-details .backup-actions>button{font-size:8px;padding:10px 5px}.device-actions .arcade-primary{font-size:11px;gap:8px}}

.device-status[data-state=pending]{color:#917145;background:#f3e6cd;border-color:#dfcba7}

/* Opening the spare-copy tools gives that task the space previously used by link choices. */
.options-body:has(#backup-details[open]) #device-actions,.options-body:has(#backup-details[open]) #disconnect-device{display:none}
