:root{color-scheme:light;--bg:#fff0f3;--mint:#55bca6;--gold:#e5aa50;--text:#795977;--muted:#a88a9f}body{font-family:'Microsoft YaHei','Segoe UI',sans-serif;background:var(--bg)}.ambient{background:radial-gradient(circle,#fff 2px,transparent 3px) 0 0/30px 30px,radial-gradient(ellipse at 10% 20%,#ffdce7,transparent 55%),radial-gradient(ellipse at 100% 90%,#d4f4f2,transparent 60%)}.topbar{max-width:980px;padding:24px 30px 18px;border:0}.brand{font-family:inherit;font-weight:900;color:#d66893;font-size:27px;letter-spacing:3px;text-shadow:0 2px #fff}.brand-mark{display:grid;place-items:center;width:49px;height:49px;font-size:40px;background:white;border:3px solid #ffc5d8;border-radius:18px;transform:rotate(-10deg);box-shadow:0 4px #efbed1;color:#f1a443}.brand small{font-weight:700;color:#c496af;font-size:9px}.edition{color:#b286a2;font-size:12px;background:#ffffffa6;border-radius:20px;padding:8px 13px;letter-spacing:0}.icon-button{border:2px solid white;background:#f5acc9;color:white;font-weight:900;box-shadow:0 3px #d98bad}.game-layout{max-width:940px;padding:0 25px;margin:10px auto 25px;grid-template-columns:minmax(340px,560px) 240px;grid-template-areas:'journey companion' 'play companion';gap:16px 30px;justify-content:center}.journey{grid-area:journey;min-height:90px;border:3px solid #fff;border-radius:25px;background:#fffbfd;box-shadow:0 5px #f1ccdc;display:flex;align-items:center;padding:14px 20px;gap:13px}.journey>.eyebrow,.chapter-copy,.chapter-rule,.journey>.muted,.score-block,.prototype-note,.journey h1{display:none}.level-label{font-size:12px;font-weight:700;line-height:1.3;color:#a987a2;display:flex;flex-direction:column;gap:4px;text-align:center;letter-spacing:0}.level-label span{font-size:29px;color:#e27ba4;font-weight:900;margin:0}.journey h2{font:800 19px 'Microsoft YaHei',sans-serif;line-height:1.5;color:#86617f;letter-spacing:1px;margin:0}.goals{margin:0 0 0 auto;gap:10px}.goal{display:flex;flex-direction:column;align-items:center;min-width:59px;width:auto;background:#f9eff6;border:0;border-radius:16px;padding:3px 9px 7px}.goal .symbol{font-size:29px;line-height:34px;text-shadow:0 1px #fff}.goal-count{font-size:14px;font-weight:800;margin:0}.goal-count span{font-size:11px;color:#b297b0;font-weight:400}.goal.done{background:#d8f5ea}.goal.done .goal-count{color:#389d81}.play-area{grid-area:play;min-width:0}.board-top{align-items:center;padding:0 12px 12px;height:57px}.board-top .eyebrow{display:none}.moves{flex-direction:row-reverse;gap:9px}.moves strong{font-size:31px;font-weight:900;color:#dd729e;background:#fff;width:57px;text-align:center;padding:7px 4px;border-radius:15px;box-shadow:0 3px #edccdc;line-height:1}.moves span{color:#a47e96;font-size:13px;font-weight:700}.board-status{color:#ad819c;margin:0}.small-star{color:#efae49}.board-frame{padding:13px;background:#c9e7f0;border:5px solid white;border-radius:28px;box-shadow:0 8px #a6cbd9,0 13px 0 2px #e8d7e1,0 18px 35px #b7779620}.corner{display:none}.board{gap:7px}.tile{border:2px solid #ffffffc9;border-radius:17px;background:linear-gradient(150deg,var(--light),var(--tile));color:var(--ink)!important;box-shadow:0 4px 0 var(--shadow),inset 0 2px 3px #ffffffa8}.tile .symbol{font-size:clamp(25px,3.4vw,37px);font-weight:900;text-shadow:0 2px #ffffffa8}.tile:hover{transform:translateY(-2px) rotate(-3deg);filter:brightness(1.06)}.tile.selected{outline:3px solid #f08cbb;outline-offset:2px;transform:translateY(-4px) rotate(5deg)}.tile.hint{animation:wiggle .8s infinite}.tile.clearing{transform:scale(1.25);opacity:0}.tile.preview{outline:3px solid #e78ab9;outline-offset:1px;filter:brightness(1.15);background:linear-gradient(150deg,var(--light),var(--tile));box-shadow:0 4px var(--shadow)}.tile.special:after{right:-3px;bottom:-4px;background:#fff6cd;color:#ba8637;border:1px solid #f0c36f;border-radius:50%;font-size:16px;width:22px;height:22px;line-height:20px;box-shadow:0 2px #bbab9255;text-shadow:none}.combo{transform:translate(-50%,-50%) rotate(-7deg);font:900 34px 'Microsoft YaHei',sans-serif;color:#f582ad;-webkit-text-stroke:1px white;text-shadow:0 4px #b2649877}.board-bottom{margin:24px 4px 0;font-size:11px;color:#ad8ca6}.board-bottom>div{gap:8px}.text-button{padding:7px 11px;border:2px solid #fff;background:#ffffff99;border-radius:15px;font-size:12px;color:#a4789c;box-shadow:0 3px #e8cddd}.text-button:hover{background:white;color:#b16b98}.text-button:disabled{opacity:.5}.companion{grid-area:companion;margin-top:20px;border:0;padding:0;display:flex;flex-direction:column;align-items:stretch}.companion-top{justify-content:center;transform:rotate(4deg);position:relative;z-index:1}.companion-top .eyebrow{display:none}.tag{color:#c5819f;font-size:12px;font-weight:700;background:#fff8cc;border:2px solid white;padding:7px 18px;border-radius:9px;box-shadow:0 3px #efdab4}.portrait{height:215px;background:#fff9fc;border:4px solid white;border-radius:100px 100px 35px 35px;box-shadow:0 7px #f0cfde;transform:rotate(3deg);margin:0 15px;overflow:visible}.orbit{display:none}.portrait-placeholder{margin-bottom:26px}.portrait-placeholder>span{display:inline-grid;place-items:center;background:#daf4eb;border:4px solid white;border-radius:30px;width:94px;height:94px;font-size:60px;color:#6cbda3;transform:rotate(-9deg);box-shadow:0 5px #b1ddce;opacity:1}.portrait-placeholder small{font-size:11px;color:#c5a4b8;margin-top:14px;letter-spacing:1px}.portrait-caption{bottom:16px;font-size:8px;letter-spacing:3px;color:#c293ac}.portrait-caption span{font:900 21px 'Microsoft YaHei',sans-serif;color:#a37299;letter-spacing:2px;margin-top:4px}.dialogue{background:#fff;border:3px solid #f3cddd;border-radius:23px 23px 23px 5px;margin-top:22px;padding:16px 17px;min-height:119px;box-shadow:0 5px #f1d9e5;transform:rotate(-2deg)}.dialogue:before{content:'';position:absolute;top:-11px;left:35px;width:16px;height:16px;background:white;border-left:3px solid #f3cddd;border-top:3px solid #f3cddd;transform:rotate(45deg)}.speaker{font-weight:800;color:#d985ab}.dialogue p{color:#8e718d}.dialogue-dots{color:#efb6cd}.skill-panel{margin-top:24px;padding:18px;background:#fff8df;border:3px solid white;border-radius:23px;box-shadow:0 5px #ead9b4}.skill-heading{gap:10px}.skill-icon{color:#d69d41;background:#ffedb2;border:2px solid white;border-radius:15px;transform:rotate(-8deg)}.skill-heading h2{font:900 17px 'Microsoft YaHei',sans-serif;color:#a78356;letter-spacing:1px}.skill-heading div>span{font-size:10px;color:#baa483}.skill-panel>p{font-size:11px;color:#ad967b;margin:12px 0 15px}.energy-label{color:#b39671;font-weight:700;margin-bottom:8px}.energy-track{height:13px;border:2px solid white;border-radius:20px;background:#eadfc1}.energy-track i{background:repeating-linear-gradient(120deg,#f4b56d 0 10px,#fac782 10px 20px);border-radius:20px}.skill-button,.primary{border:2px solid #fff;border-radius:16px;background:#ec8bb4;box-shadow:0 4px #ca7299;color:white;font-weight:800;letter-spacing:1px}.skill-button:disabled{background:#e8decb;border-color:white;box-shadow:0 4px #d6cbb6;color:#b6a78e}#skill-confirm .text-button{margin-top:11px;width:100%}footer{max-width:890px;margin:28px auto;padding:0 0 15px;color:#bd9fb6;font-size:10px;border:0}dialog{background:#fffbfd;border:5px solid white;border-radius:30px;box-shadow:0 9px #e2a4c0,0 25px 90px #91597044;color:var(--text)}dialog::backdrop{background:#97708a77;backdrop-filter:blur(5px)}dialog h2{font:900 26px 'Microsoft YaHei',sans-serif;color:#d97da5}dialog p{color:#9d7d95}.close{background:#f9e1ec;border-radius:50%;width:30px;height:30px;color:#b985a4}.result-symbol{color:#eeb766;text-shadow:0 4px #ffe4ab}.tile[data-type='0']{--light:#cef5dc;--tile:#8cdbbc;--shadow:#69b9a0;--ink:#368f78}.tile[data-type='1']{--light:#fff0b4;--tile:#f3cc73;--shadow:#d3a755;--ink:#c18b36}.tile[data-type='2']{--light:#d2efff;--tile:#96cbee;--shadow:#76a9d3;--ink:#528dbd}.tile[data-type='3']{--light:#ffdaeb;--tile:#f2a3c4;--shadow:#d781a9;--ink:#bc648e}.tile[data-type='4']{--light:#e9dfff;--tile:#bfabe9;--shadow:#9e85c8;--ink:#8766b9}.symbol[data-type='0']{color:#57ac90}.symbol[data-type='1']{color:#d9a24c}.symbol[data-type='2']{color:#669ecb}.symbol[data-type='3']{color:#d887ab}.symbol[data-type='4']{color:#a28acb}@keyframes wiggle{0%,100%{transform:rotate(-5deg) translateY(-2px)}50%{transform:rotate(5deg) translateY(-4px)}}@media(max-width:900px){.journey{grid-column:auto;flex-wrap:nowrap}.journey h2,.level-label{display:flex}.goals{margin-left:auto}.companion{padding:0}.game-layout{grid-template-columns:minmax(320px,1fr) 200px;gap:14px 19px;padding:0 18px}.journey{padding:10px 13px;gap:8px}.journey h2{font-size:16px}.goals{gap:6px}.goal{min-width:49px;padding:2px 5px 6px}.board{gap:5px}.board-frame{padding:9px;border-width:4px;border-radius:24px}.tile{border-radius:12px}.tile .symbol{font-size:29px}.portrait{margin:0 6px;height:205px}.skill-panel{padding:12px}.dialogue{padding:12px}.board-bottom{flex-wrap:wrap}footer{margin:26px 22px}}@media(max-width:620px){.topbar{padding:17px 20px}.brand{font-size:23px}.brand-mark{width:43px;height:43px;font-size:34px}.edition{display:none}.icon-button{margin-left:auto}.game-layout{display:flex;flex-direction:column;gap:15px;padding:0 14px;margin:9px auto 0;max-width:470px}.journey{width:100%;min-height:83px;padding:10px 15px}.journey h2{font-size:18px}.goal{min-width:55px}.play-area{width:100%}.board-top{padding:0 5px 12px;height:52px}.moves strong{font-size:27px;width:47px;padding:5px}.board-status{font-size:11px}.board-frame{padding:9px;border-radius:23px}.board{gap:5px}.tile{border-radius:12px;border-width:2px}.tile .symbol{font-size:29px}.tile.special:after{font-size:13px;width:18px;height:18px;line-height:16px}.board-bottom{margin-top:21px;gap:6px;font-size:10px}.text-button{padding:6px 10px;font-size:11px}.companion{width:100%;display:grid;grid-template-columns:98px 1fr;gap:13px;margin-top:12px}.companion-top{display:none}.portrait{height:128px;width:98px;margin:0;border-radius:35px 35px 20px 20px;box-shadow:0 4px #f0cfde}.portrait-placeholder{margin-bottom:20px}.portrait-placeholder>span{font-size:36px;width:58px;height:58px;border-radius:20px}.portrait-placeholder small{display:none}.portrait-caption{bottom:9px;font-size:6px;letter-spacing:1px}.portrait-caption span{font-size:15px;letter-spacing:1px}.dialogue{margin:0;min-height:128px;transform:rotate(-1deg)}.dialogue:before{left:-10px;top:29px;transform:rotate(-45deg)}.skill-panel{grid-column:1/-1;margin-top:5px;display:grid;grid-template-columns:1fr 1fr;gap:10px 15px;padding:15px}.skill-heading{grid-column:1}.skill-panel>p{grid-column:1;margin:0;font-size:10px}.energy-label{grid-column:2;grid-row:1;align-self:start;margin-top:4px}.energy-track{grid-column:2;grid-row:1;align-self:end;margin-bottom:6px}.skill-button{grid-column:2;grid-row:2;margin:0;padding:9px 6px;font-size:12px;align-self:center}#skill-confirm{grid-column:1/-1}#skill-confirm .skill-button{margin-top:3px}footer{max-width:440px;margin:22px auto;padding:0 15px 15px;line-height:1.7;font-size:9px}.skill-heading h2{font-size:15px}.skill-icon{width:36px;height:36px;font-size:26px}.skill-heading div>span{font-size:9px}}
