.journey-entry{min-height:270px;padding-right:185px;background:#f0e7da}.journey-entry .symbol{width:135px;height:135px;right:25px;top:55px}.journey-entry .symbol svg{width:100%;height:100%}.journey-entry p{max-width:100%}.journey-lobby{max-width:none;margin:0}.journey-prologue{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;padding:27px 15px 35px}.journey-prologue h2{font:32px/1.55 var(--serif);letter-spacing:2px;margin:15px 0}.journey-prologue p{font-size:12px;line-height:2;color:#977f63;max-width:570px}.prologue-patterns{height:200px;position:relative}.prologue-patterns svg{position:absolute;width:160px;height:160px;filter:drop-shadow(0 10px 9px #452d2422)}.prologue-patterns svg:nth-child(1){left:0;top:25px;transform:rotate(-14deg)}.prologue-patterns svg:nth-child(2){left:27%;top:0;transform:rotate(5deg)}.prologue-patterns svg:nth-child(3){right:0;top:40px;transform:rotate(18deg)}.journey-how{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:22px;border-radius:8px;background:#f2ecdf}.journey-how b{font:16px var(--serif)}.journey-how p{font-size:11px;color:#9a8569;line-height:1.9;margin-bottom:0}.journey-color-key{display:flex;flex-wrap:wrap;gap:12px 24px;margin:20px 0;color:#9b8260;font-size:11px;justify-content:center}.journey-color-key i{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--wool);margin-right:6px}.chapter-map{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.chapter-card{background:#f9f4e9;border:1px solid #e7d9c0;border-radius:9px;padding:13px 16px;text-align:left;transition:transform .2s,border-color .2s}.chapter-card:hover{transform:translateY(-3px)}.chapter-card.selected{border:2px solid #a94b35;padding:12px 15px;background:#f6ead6}.chapter-card svg{width:100%;max-height:135px}.chapter-card.locked svg{opacity:.65}.chapter-number{display:block;font-size:9px;color:#b08f64;margin:6px 0}.chapter-card h3{font:17px var(--serif);margin:9px 0}.chapter-card p{font-size:10px;color:#a38967;margin:9px 0}.chapter-stars{color:#bc944e;font-size:13px;letter-spacing:2px}.chapter-prelude{margin-top:25px;background:#eee3cf;padding:25px 32px;border-radius:10px;display:grid;grid-template-columns:180px 1fr;align-items:center;gap:30px}.chapter-art-large svg{width:100%;filter:drop-shadow(0 10px 12px #492b1625)}.chapter-prelude h2{font:25px var(--serif);margin:13px 0}.chapter-prelude p{font-size:12px;line-height:2;color:#93734d}.chapter-objective{font-size:11px;color:#9c6a33;border-left:3px solid #b8935b;padding:4px 12px;margin:15px 0 20px}.journey-playing{max-width:710px;margin:auto}.playing-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 18px}.playing-caption>span{font:16px var(--serif);color:#8c6740}.playing-objective{text-align:center;font-size:11px;background:#f2e9d7;border:1px solid #e1cfac;border-radius:20px;padding:9px;color:#aa8559;max-width:480px;margin:0 auto 10px}.quilt-object{max-width:560px}.quilt-tile{cursor:pointer}.quilt-tile:focus{outline:none}.quilt-tile:focus-visible>rect:first-child{stroke:#fff;stroke-width:3}.quilt-tile.covered>rect:first-child{filter:brightness(.74)}.quilt-tile.covered{cursor:help}.quilt-tile.hinted .yarn-pin{animation:pin-glow .5s ease infinite alternate}.quilt-tile.unravelling{animation:wool-unravel .34s ease-in forwards;transform-box:fill-box;transform-origin:center}.quilt-tile.available:hover .yarn-pin>circle{fill:#fff9db;stroke:#fff;stroke-width:3}.journey-playing .yarn-buffer>div{gap:7px}.journey-playing .buffer-slot{width:28px;height:28px}.chapter-victory{display:grid;grid-template-columns:155px 1fr;gap:25px;align-items:center;border-radius:10px;padding:28px;background:#efe4cd;margin-top:25px}.chapter-victory svg{width:100%}.chapter-victory h2{font:24px var(--serif)}.chapter-victory p{font-size:12px;line-height:1.9;color:#937551}.victory-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:20px}.story-pattern{max-width:200px;margin:auto}.story-pattern svg{width:100%}.yarn-loss{padding:24px;border:1px solid #d6b797;border-radius:8px;background:#f4e8d6;margin-top:20px}.yarn-loss h3{font:20px var(--serif)}.yarn-loss p{font-size:12px;color:#a08059}.atelier-intro{display:flex;flex-wrap:wrap;gap:12px;color:#a8875d;font-size:11px;margin-bottom:26px}.atelier-intro span{border:1px solid #e1d2b9;border-radius:5px;padding:8px 12px;background:#f3ecdf}.atelier-preset-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.atelier-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;max-height:465px;overflow:auto;padding:3px 4px 18px;scrollbar-width:thin;scrollbar-color:#ccb68e #eee4d2}.atelier-preset{background:#f9f4e8;border:1px solid #e2d3ba;border-radius:8px;padding:12px;text-align:left;color:#755a3e}.atelier-preset:hover{border-color:#ad7954;transform:translateY(-3px)}.atelier-preset svg{display:block;width:100%;height:auto;box-shadow:0 4px 9px #30172712}.atelier-preset h3{font:14px var(--serif);margin:12px 0 5px}.atelier-preset span{font-size:9px;color:#a58b66}.atelier-workspace{display:grid;grid-template-columns:1.15fr 1fr;gap:25px;align-items:start}.atelier-preview{min-height:510px}.atelier-preview #studio-art{width:83%;max-width:460px}.atelier-preview #studio-art>svg{width:100%;height:auto}.application-switch{display:flex;gap:8px;margin-bottom:12px}.application-switch button{font-size:11px;padding:9px 14px;background:#f6efe1;border:1px solid #e4d4b9;border-radius:6px;color:#a2835b}.application-switch button.active{background:#a73e2d;color:white;border-color:#a73e2d}.atelier-controls{padding:22px}.atelier-controls label small{font-size:9px;color:#a79275;margin-left:8px}.motif-category-tabs{display:flex;gap:5px;margin-bottom:10px;flex-wrap:wrap}.motif-category-tabs button{border:1px solid #e0d2b8;background:#f9f4e9;font-size:9px;color:#a58c68;padding:5px 7px;border-radius:20px}.motif-category-tabs button.active{background:#d7c39f;color:#634a30}.atelier-motifs{max-height:238px;overflow:auto;padding:3px;grid-template-columns:repeat(6,1fr);scrollbar-width:thin}.atelier-motifs span{font-size:9px}.atelier-motifs svg{height:42px}.layout-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.layout-picker button{font-size:10px;border:1px solid #e1d3b9;border-radius:5px;padding:9px 4px;color:#9c7e55;background:#f7f0e2}.layout-picker button.active{background:#a73e2d;color:white;border-color:#a73e2d}.custom-colors{display:flex;gap:16px;margin-top:15px}.custom-colors label{font-size:10px!important;color:#9a7f58;display:flex!important;gap:7px;align-items:center;margin:0}.custom-colors input{width:25px;padding:0;height:25px;border:0;background:none;cursor:pointer}.atelier-controls .control-pair{gap:12px}.atelier-controls .form-row{margin-bottom:19px}.atelier-controls .form-row input[type=range]{padding:0}.atelier-preview .preview-note{font-size:9px}.corner-model{display:block;width:118px;height:157px;position:relative;z-index:3;touch-action:none}.corner-model canvas{display:block;width:100%;height:100%;touch-action:none}.companion-orb.is-3d{width:130px;height:190px}.companion-orb.is-3d .orb-name{margin-top:4px}.companion-orb.is-3d .pet-halo{left:33px;bottom:27px}.is-3d~.companion-greeting{right:124px;bottom:42px}.companion-chat{bottom:198px}.spirit-action-row{display:flex;justify-content:center;gap:6px;padding:4px 12px 8px}.spirit-action-row button{font-size:9px;background:#f2e5d0;border:1px solid #e0c89f;border-radius:20px;color:#997543;padding:6px 10px}.model-stage{height:370px;width:100%;border-radius:12px;background:radial-gradient(ellipse at 50% 65%,#f1dec0,#ede5d6 70%);touch-action:none}.model-stage canvas{display:block;width:100%;height:100%;touch-action:none}.model-color-picker{display:flex;justify-content:center;gap:10px;margin:18px 0}.model-color-picker button{border:1px solid #d8c5a7;background:#f6eedf;color:#9c7d52;border-radius:30px;padding:7px 13px;font-size:11px}.model-color-picker button:before{content:'';display:inline-block;width:8px;height:8px;background:var(--model-color);border-radius:50%;margin-right:6px}.model-color-picker button.active{border-color:var(--model-color);color:var(--model-color)}.model-action-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.model-action-buttons .btn{font-size:11px;padding:10px 18px}.companion-chat.open .corner-messages{height:185px}.companion-greeting{max-width:220px;overflow:hidden;text-overflow:ellipsis}.companion-orb.is-3d.happy .corner-model,.companion-orb.is-3d.charging .corner-model{animation:none}
@media(max-width:1200px){.atelier-presets{grid-template-columns:repeat(4,1fr)}.atelier-workspace{grid-template-columns:1fr}.atelier-controls .atelier-motifs{grid-template-columns:repeat(8,1fr)}.journey-prologue{gap:20px}.prologue-patterns svg{width:130px;height:130px}.chapter-map{gap:10px}.chapter-card{padding:12px}.chapter-card.selected{padding:11px}}
@media(max-width:900px){.journey-prologue{grid-template-columns:1fr}.prologue-patterns{height:160px;max-width:440px;width:100%;margin:auto}.journey-prologue h2{font-size:28px}.chapter-map{grid-template-columns:repeat(4,1fr)}.chapter-card h3{font-size:14px}.chapter-card p{font-size:9px}.chapter-prelude{grid-template-columns:135px 1fr;padding:22px;gap:20px}.chapter-victory{grid-template-columns:130px 1fr}.atelier-controls .atelier-motifs{grid-template-columns:repeat(6,1fr)}}
@media(max-width:600px){.journey-entry{padding-right:125px}.journey-entry .symbol{width:94px;height:94px;right:16px;top:60px}.journey-entry h3{font-size:18px!important;line-height:1.5}.journey-prologue{padding:8px 0 20px;gap:14px}.journey-prologue h2{font-size:25px}.journey-prologue p{font-size:11px}.prologue-patterns{height:145px}.prologue-patterns svg{width:130px;height:130px}.journey-how{grid-template-columns:1fr;padding:18px;gap:15px}.journey-how b{font-size:14px}.journey-how p{font-size:10px;margin:6px 0 0}.journey-color-key{font-size:9px;gap:10px 15px}.chapter-map{grid-template-columns:repeat(2,1fr);gap:10px}.chapter-card svg{max-height:120px}.chapter-card h3{font-size:16px}.chapter-card p{font-size:9px}.chapter-number{font-size:8px}.chapter-stars{font-size:11px}.chapter-prelude{grid-template-columns:1fr;padding:20px;gap:14px}.chapter-art-large{width:160px;margin:auto}.chapter-prelude h2{font-size:24px}.chapter-prelude p{font-size:11px}.playing-caption>span{font-size:12px}.playing-caption .text-btn{font-size:9px}.playing-objective{font-size:9px}.journey-playing .yarn-buffer>div{gap:4px}.journey-playing .buffer-slot{width:24px;height:24px}.journey-playing .yarn-buffer{gap:6px}.journey-playing .yarn-buffer>span{font-size:9px}.journey-playing .yarn-ball{width:18px;height:18px}.chapter-victory{grid-template-columns:1fr;padding:22px}.chapter-victory>div:first-child{width:150px;margin:auto}.chapter-victory h2{font-size:22px}.victory-actions{gap:15px}.atelier-intro{gap:7px;font-size:9px}.atelier-intro span{padding:7px 8px}.atelier-presets{grid-template-columns:repeat(3,1fr);gap:8px;max-height:410px}.atelier-preset{padding:8px}.atelier-preset h3{font-size:12px;line-height:1.5;margin:7px 0 4px}.atelier-preset span{font-size:8px}.atelier-preset-tabs{gap:6px}.atelier-preset-tabs .chip{font-size:10px;padding:7px 12px}.atelier-controls{padding:19px 15px}.atelier-controls .atelier-motifs{grid-template-columns:repeat(4,1fr);max-height:245px}.atelier-motifs svg{height:44px}.layout-picker{gap:5px}.layout-picker button{font-size:9px;padding:8px 3px}.custom-colors{gap:11px}.custom-colors label{font-size:9px!important;gap:4px}.custom-colors input{width:22px;height:22px}.atelier-preview{min-height:380px}.application-switch{gap:6px}.application-switch button{font-size:10px;padding:8px 10px}.atelier-preview .badge{font-size:8px}.atelier-preview .preview-note{font-size:8px}.atelier-controls .studio-buttons{gap:7px}.atelier-controls .studio-buttons .btn{font-size:11px;padding:10px 14px}.companion-orb.is-3d{width:98px;height:142px}.corner-model{height:116px;width:90px}.companion-orb.is-3d .pet-halo{left:24px;bottom:22px}.is-3d~.companion-greeting{right:90px;bottom:36px}.companion-chat{bottom:147px;max-height:calc(100dvh - 235px)}.companion-chat.open .corner-messages{height:156px;min-height:60px}.spirit-action-row{padding:3px 8px 7px;gap:5px}.spirit-action-row button{padding:5px 9px;font-size:8px}.model-stage{height:300px}.model-color-picker{gap:6px}.model-color-picker button{padding:7px 10px;font-size:10px}.model-action-buttons{gap:8px}.model-action-buttons .btn{font-size:10px;padding:9px 14px}}
