:root{color-scheme:dark;--ink:#17182b;--paper:#eee8dd;--muted:#9c9ba9;--gold:#dfc39b;--blue:#a9d9ed;--pink:#efaec6;--line:#ffffff12;--ghost:#b4deee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0,#302237 0,transparent 52%),radial-gradient(ellipse at 0 80%,#202d3c,transparent 50%),var(--ink);color:var(--paper);min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{opacity:.3;cursor:not-allowed}button{touch-action:manipulation}a{color:inherit;text-decoration:none}.topbar{max-width:1180px;padding:25px 30px 18px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.club{display:flex;align-items:center;gap:10px;font-size:9px;line-height:1.4;letter-spacing:2px;font-weight:700}.club-mark{font-family:Georgia,serif;font-size:26px;border:1px solid #dfc39b66;width:35px;height:39px;border-radius:50% 50% 10px 10px;text-align:center;line-height:37px;color:var(--gold)}.season{font-size:10px;letter-spacing:3px;color:var(--muted)}nav{display:flex;gap:8px;align-items:center}.round,.lang{height:34px;min-width:34px;border:1px solid #ffffff1a;background:#ffffff03;border-radius:50%;font-size:17px}.lang{border-radius:20px;padding:0 12px;font-size:11px}main{max-width:1120px;margin:0 auto;padding:31px 20px 20px}.title-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 27px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:var(--gold);font-weight:650;margin:0 0 12px}h1{font-family:Georgia,"Times New Roman",serif;letter-spacing:-2px;font-size:clamp(38px,5.1vw,63px);font-weight:400;margin:0;line-height:1.05}h1 em{font-weight:400;color:var(--pink)}.title-star{font-size:36px;vertical-align:super;color:var(--gold);margin-left:16px}.intro{font-size:13px;color:var(--muted);margin:13px 0 0;letter-spacing:.1px}.chapter{border-left:1px solid #dfc39b33;padding:10px 0 10px 23px}.chapter>span{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-bottom:6px}.chapter strong{font:33px Georgia,serif;color:var(--gold)}.chapter small{font:15px Georgia,serif;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px;align-items:start}.play-panel{border:1px solid #887f961f;border-radius:21px;background:linear-gradient(140deg,#292a4077,#1b203366);box-shadow:0 24px 60px #090e1a44;overflow:hidden;padding:24px 27px 17px}.room-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}.room-head>div:first-child{flex:1}.room-label{font-size:8px;color:var(--muted);letter-spacing:2px}h2{font-family:Georgia,serif;font-weight:400;font-size:24px;letter-spacing:-.5px;margin:5px 0 0}.moves{text-align:center;border-left:1px solid var(--line);padding-left:18px}.moves strong{font:27px Georgia,serif;display:block;line-height:1}.moves>span{font-size:7px;letter-spacing:1px;color:var(--muted)}.hearts{display:flex;gap:5px}.hearts svg{width:18px;height:18px;opacity:.2}.hearts .collected svg{opacity:1;filter:drop-shadow(0 0 5px #e5adbc77)}.board-wrap{padding:12px;border-radius:14px;background:#0b1423;box-shadow:inset 0 0 28px #02070fa6,0 1px 0 #ffffff1a;border:1px solid #8d7e9d26}.board{display:grid;gap:3px;max-width:100%;margin:auto;outline:none;position:relative}.tile{aspect-ratio:1;border:0;border-radius:5px;background:linear-gradient(135deg,#314252,#273746);position:relative;padding:0;display:flex;align-items:center;justify-content:center;min-width:0;isolation:isolate}.tile:after{content:"";position:absolute;inset:3px;border:1px solid #ffffff04;border-radius:3px;pointer-events:none}.tile svg{width:70%;height:70%;overflow:visible}.tile.wall{background:linear-gradient(0deg,#141e30 0,#1c2838 92%);box-shadow:inset 0 -3px 0 #090f1f88,inset 0 1px 0 #6d6d861c}.tile.wall:before{content:"";position:absolute;inset:28% 0 0;border-top:1px solid #080f1b55;background:linear-gradient(90deg,transparent 48%,#0d182b66 49%,#0d182b66 51%,transparent 52%)}.tile.floor:hover{background:#3a4a59}.tile.u{background:#2d485b}.tile.v{background:#57404d}.tile.fog{background:radial-gradient(ellipse at 60% 40%,#aa9dc750,#564b6f66);box-shadow:inset 0 0 15px #c3b6e322}.tile.plate{background:#474154}.tile.gate{background:#39333d}.tile.gate.open{background:#384942}.tile.gate svg{transition:opacity .2s}.tile.gate.open svg{opacity:.24}.tile .ghost{position:absolute;width:87%;height:87%;z-index:4;filter:drop-shadow(0 4px 3px #0b102660);animation:arrive .16s ease-out}.tile.active{box-shadow:inset 0 0 0 2px var(--gold),0 0 15px #f1cb8455;z-index:3}.tile .ghost.rose{--ghost:var(--pink)}.tile .ghost.luna{--ghost:var(--blue)}.tile .heart{width:36%;height:36%;position:absolute;z-index:1;filter:drop-shadow(0 0 6px #eeabc966)}.tile .held{position:absolute;width:38%;height:42%;bottom:0;right:-3px;z-index:6;filter:drop-shadow(0 0 5px #f6c478)}.tile .floor-symbol{opacity:.45;width:35%;height:35%}.tile .arch{width:84%;height:90%;opacity:.7}.tile.exit.luna{box-shadow:inset 0 0 0 1px #96cce077}.tile.exit.rose{box-shadow:inset 0 0 0 1px #eda3bd66}.game-tools{display:flex;justify-content:space-between;padding:16px 4px 0;gap:10px}.tool{border:0;background:none;color:#b6b5c2;padding:4px;font-size:11px;display:flex;align-items:center;gap:7px}.tool>span:first-child{font-size:20px;color:var(--gold)}.status{font-size:11px;color:var(--gold);min-height:29px;padding-top:13px;line-height:1.5}.partners-card{border:1px solid #dfc39b26;border-radius:18px;padding:23px 23px 18px;background:linear-gradient(150deg,#35304744,#24263b33);text-align:center}.partner-buttons{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:15px}.partner{position:relative;padding:8px 4px 11px;width:104px;border-radius:13px;background:transparent;border:1px solid transparent;display:flex;align-items:center;flex-direction:column}.partner.active{background:#ffffff06;border-color:#dec19a77}.partner.active:after{content:"";position:absolute;bottom:-4px;width:7px;height:7px;background:var(--gold);transform:rotate(45deg)}.portrait svg{height:72px;width:72px;filter:drop-shadow(0 6px 8px #0003)}.portrait .rose{--ghost:var(--pink)}.portrait .luna{--ghost:var(--blue)}.partner strong{font:19px Georgia,serif;color:var(--blue);margin-top:3px}.partner.rose strong{color:var(--pink)}.partner small{font-size:8px;color:var(--muted);margin-top:5px}.between{font:italic 28px Georgia,serif;color:#dfc39b88;align-self:flex-start;margin-top:35px;padding:0 5px}.tip{font-size:10px;color:var(--muted);line-height:1.7;margin:16px 0}.dpad{display:grid;grid-template-columns:repeat(3,39px);grid-template-rows:32px 32px;gap:5px;justify-content:center;margin:10px auto 11px}.dpad button{border-radius:7px;background:#ffffff07;border:1px solid #ffffff19;font-size:20px;color:var(--paper)}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-row:2;grid-column:1}.dpad button:nth-child(3){grid-row:2;grid-column:2}.dpad button:nth-child(4){grid-row:2;grid-column:3}.dpad button:hover{background:#dfc39b22}.keys{font-size:7px;color:var(--muted);letter-spacing:.6px}.pass{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;border:1px solid #d9b78044;background:#dfbc8010;border-radius:9px;font-size:11px;color:var(--gold);padding:9px;margin-top:15px}.pass svg{width:23px;height:23px}.note-card{position:relative;padding:25px 22px 22px;margin-top:18px;border:1px solid #a392b21f;border-radius:15px;background:#ffffff03}.note-card>.eyebrow{font-size:8px;color:#bbb3c4}.note-card>p:not(.eyebrow){font:italic 17px/1.6 Georgia,serif;color:#d2cbd7;margin:11px 0 19px}.note-stamp{position:absolute;right:18px;top:16px;color:#ba91ab;font-size:24px}.legend{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:15px;font-size:9px;color:var(--muted)}.legend>span{display:flex;align-items:center;gap:9px}.blue-dot,.pink-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--blue)}.pink-dot{background:var(--pink)}.journey{margin:26px 0 20px}.journey-head{display:flex;justify-content:space-between;align-items:center}.journey-head .eyebrow{font-size:8px;color:var(--muted);margin:0}.journey-head>span{font-size:10px;color:var(--gold)}.levels{display:grid;grid-template-columns:repeat(8,1fr);gap:9px;margin-top:13px}.level{border:1px solid #ffffff13;background:#ffffff03;border-radius:9px;min-height:48px;color:#9693a6;font:20px Georgia,serif;position:relative}.level.active{border-color:#dfc39b88;background:#dfc39b0a;color:var(--gold)}.level.done:after{content:"✧";font-size:11px;color:var(--pink);position:absolute;top:3px;right:7px}.level small{font:7px system-ui;position:absolute;bottom:4px;right:6px;color:var(--muted)}footer{display:flex;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line);font:italic 11px Georgia,serif;color:#858493}footer a{font:8px system-ui;letter-spacing:1.5px}dialog{border:1px solid #d1b59066;border-radius:22px;background:linear-gradient(145deg,#343045,#202439);color:var(--paper);max-width:450px;width:calc(100% - 32px);padding:33px;box-shadow:0 25px 130px #0009}dialog::backdrop{background:#070d1dcc;backdrop-filter:blur(6px)}dialog h2{font-size:34px;line-height:1.2;margin:8px 0 17px}.close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:26px;color:var(--muted)}#help-content{font-size:13px;line-height:1.8;color:#ccc5d4}#help-content ul{padding-left:19px}.primary,.secondary{display:block;width:100%;padding:13px 18px;border:0;border-radius:10px;background:var(--gold);color:#262333;font-weight:650;font-size:12px;margin-top:18px}.secondary{border:1px solid #dfc39b44;background:none;color:var(--gold);margin-top:10px}.text-button{display:block;margin:15px auto 0;background:none;border:0;color:var(--muted);font-size:11px}.win-art{text-align:center}.win-art svg{height:90px;width:90px}.win-art .rose{--ghost:var(--pink)}.win-art .luna{--ghost:var(--blue)}#win-dialog{text-align:center}#win-copy{font-size:13px;line-height:1.7;color:var(--muted)}#share-status{font-size:11px;color:var(--gold);word-break:break-word}.sky{position:absolute;inset:0 0 auto;height:340px;overflow:hidden;pointer-events:none;z-index:-1}.sky i{position:absolute;top:12%;left:5%;width:2px;height:2px;background:#d6c49b;border-radius:50%;box-shadow:80px 80px #c5adbd77,150px 15px #c5adbd88,270px 105px #c5adbd55,380px 45px #c5adbd33,550px 85px #c5adbd44,800px 50px #c5adbd77,1000px 85px #c5adbd55}.sky i:nth-child(2){left:21%;top:80%}.sky i:nth-child(3){left:54%;top:32%}@keyframes arrive{from{transform:scale(.83);opacity:.5}to{transform:scale(1);opacity:1}}@media(max-width:760px){.topbar{padding:18px 18px 15px}.season{display:none}main{padding:25px 15px 20px}.title-row{margin-bottom:22px}.chapter{padding-left:13px}.chapter strong{font-size:26px}.title-star{font-size:22px;margin-left:7px}.intro{font-size:11px}.layout{grid-template-columns:1fr;gap:15px}.play-panel{padding:19px 15px 13px}.board-wrap{padding:8px}.room-head{margin-bottom:14px}.room-head h2{font-size:22px}.tile{border-radius:4px}.board{gap:2px}aside{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.partners-card{padding:15px 10px 12px}.partners-card .eyebrow{font-size:7px;letter-spacing:1px}.partner{width:70px;padding:3px 0 7px}.portrait svg{width:49px;height:49px}.partner strong{font-size:16px}.partner small{font-size:6px}.between{font-size:20px;padding:0;margin-top:21px}.partner-buttons{gap:1px;margin-top:9px}.tip{font-size:8px;margin:10px 0}.dpad{grid-template-columns:repeat(3,34px);grid-template-rows:31px 31px}.keys{display:none}.note-card{margin-top:0;padding:19px 14px 17px}.note-card>.eyebrow{font-size:7px;letter-spacing:1.2px;max-width:110px;line-height:1.5}.note-stamp{right:11px;top:12px;font-size:18px}.note-card>p:not(.eyebrow){font-size:14px;line-height:1.6;margin:10px 0 15px}.legend{font-size:8px;line-height:1.5;padding-top:11px;gap:7px}.pass{font-size:9px;padding:7px 3px;gap:5px;margin-top:11px}.pass svg{width:19px;height:19px}.journey{margin-top:22px}.levels{gap:5px}.level{min-height:43px;font-size:17px}footer{font-size:9px;gap:15px;line-height:1.7}footer a{font-size:7px;min-width:98px}.game-tools .tool{font-size:10px}.title-row .eyebrow{font-size:7px;letter-spacing:1.8px}.status{font-size:10px}.chapter>span{font-size:7px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.pass[hidden]{display:none}
/* Embedded game: the host owns the page chrome; the game owns one fixed viewport. */
.embed-toolbar{display:none}
html.embed,html.embed body{height:100%;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
.embed .topbar,.embed .title-row,.embed .journey,.embed footer,.embed .sky{display:none}
.embed .embed-toolbar{height:38px;display:flex;align-items:center;gap:6px;padding:4px 10px;border-bottom:1px solid var(--line);background:#171c2ee8;flex-shrink:0}
.embed-toolbar .embed-brand{font:italic 16px Georgia,serif;color:var(--pink);margin-right:6px;white-space:nowrap}
.embed-toolbar select{min-width:0;width:160px;max-width:25vw;background:#ffffff08;border:1px solid #dfc39b33;color:var(--paper);border-radius:7px;height:28px;padding:0 7px;font:10px system-ui}
.embed-toolbar select option{background:#202638;color:var(--paper)}
.embed-toolbar .embed-score{font:11px system-ui;color:var(--gold);white-space:nowrap;margin-left:auto;margin-right:5px}
.embed-toolbar button{width:29px;height:29px;min-width:0;flex-shrink:0;border:1px solid #dfc39b26;border-radius:7px;background:#ffffff04;color:var(--paper);font:16px system-ui;padding:0}
.embed-toolbar .embed-language{font-size:9px;width:32px}
.embed main{height:calc(100dvh - 38px);max-width:none;padding:8px;margin:0;overflow:hidden}
.embed .layout{height:100%;grid-template-columns:minmax(0,1fr) 226px;gap:10px;align-items:stretch;min-height:0}
.embed .play-panel{height:100%;min-height:0;display:flex;flex-direction:column;padding:12px;border-radius:12px;overflow:hidden}
.embed .room-head{flex:0 0 29px;min-height:0;margin:0 0 7px;gap:10px}
.embed .room-head h2{font-size:19px;margin:0}.embed .room-label,.embed .moves{display:none}
.embed .hearts svg{height:16px;width:16px}
.embed .board-wrap{flex:1 1 0;min-height:0;display:flex;justify-content:center;align-items:center;padding:7px;overflow:hidden;border-radius:9px}
.embed .board{max-width:100%;max-height:100%;flex:none;gap:2px;margin:0}
.embed .tile{min-height:0;aspect-ratio:auto}.embed .tile svg{max-width:100%;max-height:100%}
.embed .game-tools{flex:0 0 30px;padding:6px 2px 0;min-height:0}.embed .tool{font-size:10px;padding:0 3px}
.embed .status{flex:0 0 21px;min-height:0;height:21px;padding:4px 0 0;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.embed aside{min-height:0;display:block}.embed .note-card{display:none}
.embed .partners-card{padding:15px 11px;border-radius:12px;height:100%;display:flex;flex-direction:column;justify-content:center;min-height:0;overflow:hidden}
.embed .partners-card>.eyebrow{font-size:7px;margin-bottom:3px;letter-spacing:1.3px}
.embed .partner-buttons{margin:8px 0 0;gap:3px}.embed .partner{width:82px;padding:4px 0 9px}
.embed .portrait svg{width:57px;height:57px}.embed .partner strong{font-size:17px}.embed .partner small{font-size:7px}
.embed .between{font-size:23px;margin-top:27px}.embed .tip{font-size:9px;margin:12px 0 6px;line-height:1.6}
.embed .dpad{grid-template-columns:repeat(3,43px);grid-template-rows:40px 40px;gap:5px;margin:7px auto}
.embed .keys{font-size:6px;margin:4px 0}.embed .pass{margin-top:10px;padding:8px 5px;font-size:10px}
.embed dialog{max-height:calc(100dvh - 20px);overflow:auto;overscroll-behavior:contain;padding:24px}
.embed dialog h2{font-size:27px}.embed #help-content{font-size:12px}.embed .win-art svg{width:60px;height:60px}
@media(max-width:650px) and (min-height:361px){
 .embed .embed-toolbar{gap:4px;padding:4px 6px}.embed-toolbar .embed-brand{display:none}.embed-toolbar select{width:95px;max-width:25vw}.embed-toolbar .embed-score{font-size:10px;margin-right:0}.embed-toolbar button{width:27px;height:28px}.embed-toolbar .embed-language{width:29px}
 .embed main{padding:6px}.embed .layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 104px;gap:7px}
 .embed .play-panel{padding:8px}.embed .room-head{flex-basis:25px;margin-bottom:5px}.embed .room-head h2{font-size:18px}.embed .board-wrap{padding:5px}.embed .status{font-size:9px;flex-basis:19px;height:19px}.embed .game-tools{flex-basis:27px}
 .embed aside{display:block;min-height:0}.embed .partners-card{padding:6px 9px;display:grid;grid-template-columns:minmax(0,1fr) 135px;grid-template-rows:minmax(0,1fr) 28px;column-gap:7px;row-gap:2px;align-items:center;justify-content:normal}
 .embed .partners-card>.eyebrow,.embed .tip,.embed .keys,.embed .between,.embed .partner small{display:none}
 .embed .partner-buttons{grid-row:1;grid-column:1;margin:0;justify-content:space-evenly;gap:2px}.embed .partner{width:59px;min-height:56px;padding:2px 0 4px}.embed .portrait svg{height:34px;width:34px}.embed .partner strong{font-size:12px;margin:0}.embed .partner.active:after{bottom:-3px;width:5px;height:5px}
 .embed .dpad{grid-row:1 / 3;grid-column:2;grid-template-columns:repeat(3,40px);grid-template-rows:39px 39px;gap:4px;margin:0;justify-content:center}
 .embed .pass{grid-row:2;grid-column:1;height:27px;padding:2px 4px;margin:0;font-size:9px}.embed .pass svg{height:19px;width:19px}
}
@media(max-height:430px) and (min-width:651px){
 .embed .embed-toolbar{height:32px}.embed main{height:calc(100dvh - 32px);padding:5px}.embed .layout{grid-template-columns:minmax(0,1fr) 168px;gap:6px}.embed .play-panel{padding:7px}.embed .room-head{flex-basis:20px;margin-bottom:4px}.embed .room-head h2{font-size:16px}.embed .board-wrap{padding:4px}.embed .game-tools{flex-basis:24px;padding-top:3px}.embed .status{flex-basis:17px;height:17px;font-size:9px;padding-top:1px;line-height:15px}
 .embed .partners-card{padding:8px}.embed .partners-card>.eyebrow,.embed .tip,.embed .keys,.embed .partner small,.embed .between{display:none}.embed .partner-buttons{margin:0}.embed .partner{width:65px;padding:3px 0 6px}.embed .portrait svg{width:42px;height:42px}.embed .partner strong{font-size:13px}.embed .dpad{grid-template-columns:repeat(3,39px);grid-template-rows:37px 37px;gap:4px;margin:8px auto 0}.embed .pass{height:29px;padding:3px;font-size:9px;margin-top:9px}.embed .pass svg{height:20px;width:20px}
 .embed dialog h2{font-size:23px}.embed .win-art svg{height:43px;width:43px}.embed .primary,.embed .secondary{padding:9px;margin-top:9px}.embed #win-copy{font-size:11px;margin:8px 0}
}
@media(max-width:650px) and (max-height:360px){
 .embed .embed-toolbar{height:31px;gap:3px;padding:3px 4px}.embed-toolbar .embed-brand{display:none}.embed-toolbar select{width:57px;max-width:18vw;height:25px;font-size:9px;padding:0 2px}.embed-toolbar .embed-score{font-size:9px;margin-left:auto;margin-right:0}.embed-toolbar button{width:25px;height:25px;font-size:14px}.embed-toolbar .embed-language{width:27px;font-size:8px}
 .embed main{height:calc(100dvh - 31px);padding:3px 4px}.embed .layout{display:flex;flex-direction:column;gap:3px}.embed .play-panel{flex:1 1 0;min-height:0;height:auto;border:0;background:none;box-shadow:none;padding:0;overflow:hidden}.embed .room-head,.embed .game-tools{display:none}.embed .board-wrap{padding:3px;border-radius:6px}.embed .board{gap:1px}.embed .tile{border-radius:3px}.embed .tile:after{inset:1px}.embed .status{flex:0 0 15px;height:15px;font-size:8px;line-height:13px;padding:1px 2px 0}
 .embed aside{flex:0 0 43px;min-height:0;height:43px}.embed .partners-card{height:43px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:2px 3px;border-radius:7px;overflow:hidden}.embed .partners-card>.eyebrow,.embed .tip,.embed .keys,.embed .between,.embed .partner small,.embed .portrait{display:none}.embed .partner-buttons{margin:0;gap:3px}.embed .partner{width:39px;height:36px;min-height:0;padding:0;display:flex;justify-content:center}.embed .partner strong{font:10px system-ui;margin:0}.embed .partner.active:after{display:none}.embed .dpad{display:flex;gap:3px;margin:0;justify-content:center}.embed .dpad button{width:36px;height:36px;font-size:19px;flex-shrink:0}.embed .pass{width:31px;min-width:31px;height:36px;margin:0;padding:3px;gap:0}.embed .pass>span:last-child{display:none}.embed .pass svg{height:23px;width:23px}
 .embed dialog{padding:15px;max-height:calc(100dvh - 10px)}.embed dialog h2{font-size:20px;margin:5px 0 9px}.embed .win-art svg{height:32px;width:32px}.embed #win-copy{font-size:10px;margin:6px 0}.embed .primary,.embed .secondary{padding:7px;margin-top:7px;font-size:10px}.embed .text-button{margin-top:7px;font-size:9px}.embed #share-status{font-size:9px;margin:5px 0}.embed #help-content{font-size:11px}
}
