body:has(.drawer-game){margin:0;background:#fdfaf6}.drawer-game{--dj-ink:#514b57;--dj-muted:#766c77;--dj-mint:#dcece2;max-width:1080px;margin:auto;padding:18px 24px 52px;color:var(--dj-ink);font-family:var(--ui2-font-family);line-height:1.5}.drawer-game *{box-sizing:border-box}.drawer-game [hidden]{display:none!important}.drawer-game button{font:inherit;cursor:pointer;min-height:46px;border:1px solid #d8ccd9;border-radius:14px;color:var(--dj-ink);background:#fffaf8;font-weight:700;line-height:1.3;touch-action:manipulation;transition:background-color .15s,box-shadow .15s}.drawer-game button:disabled{opacity:.45;cursor:default}.drawer-game button:hover:not(:disabled){background:#f1e9f3}.drawer-game button:focus-visible,.drawer-game a:focus-visible,.drawer-game summary:focus-visible{outline:3px solid #79568e;outline-offset:3px}.dj-skip{position:fixed;left:12px;top:-100px;z-index:10000;padding:14px;background:#fff;color:#514b57}.dj-skip:focus{top:12px}.dj-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.dj-top a{display:inline-flex;align-items:center;min-height:44px;color:var(--dj-ink);text-decoration:none}.dj-top>span{background:#eee6ef;color:#745e7d;padding:7px 12px;border-radius:20px;font-size:12px}.dj-heading{margin:20px 0 26px}.dj-eyebrow{font-size:11px;font-weight:800;letter-spacing:.1em;color:#826686;margin:0 0 9px}.dj-heading h1{font-size:clamp(33px,5vw,47px);line-height:1.2;letter-spacing:-.035em;margin:0}.dj-heading>p:last-child{margin:12px 0 0;color:var(--dj-muted);font-size:16px}.dj-home{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;padding:22px;background:#faf5f4;border:1px solid #e4d8d9;border-radius:30px;box-shadow:0 12px 32px #8d78900a}.dj-cover{position:relative;align-self:center;background:#f2eceb;overflow:hidden;border-radius:23px}.dj-cover img{display:block;width:100%;height:auto}.dj-cover>span{position:absolute;top:14px;left:14px;font-size:10px;letter-spacing:.04em;font-weight:750;background:#fffaf1ed;border:1px solid #ddd0c5;border-radius:20px;padding:7px 11px;color:#78627b}.dj-intro{align-self:center;padding:7px 7px 7px 0}.dj-dialogue{font-size:15px;line-height:1.9;margin:0 0 18px}.dj-example{display:flex;gap:12px;align-items:center;margin-bottom:14px}.dj-example>svg{width:80px;flex-shrink:0}.dj-example strong{font-size:14px}.dj-example p{font-size:12px;line-height:1.7;color:var(--dj-muted);margin:5px 0 0}.dj-how{font-size:13px;padding-left:18px;margin:0 0 23px;display:grid;gap:9px}.dj-how li::marker{color:#af91bb}.drawer-game .dj-primary{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;background:#e7cad7;color:#604358;border-color:#cba8be;padding:14px 20px;box-shadow:0 4px 0 #c8a5b8}.drawer-game .dj-primary:hover:not(:disabled){background:#e1bfd0}.dj-note{font-size:11px;color:var(--dj-muted);margin:14px 0 0}.dj-level{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 10px;font-size:12px;color:#776980}.dj-level ol{display:flex;gap:7px;list-style:none;margin:0;padding:0}.dj-level li{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #d7c8df;background:#faf7fc;color:#786482;font-size:12px;font-weight:750}.dj-level li[aria-current]{border:2px solid #9976ac;background:#e8ddf0;color:#634a76}.dj-level li.is-done{background:#deeee4;color:#52705e;border-color:#b8d3c4}#dj-title{font-size:24px;line-height:1.3;margin:0 0 12px;letter-spacing:-.02em}.dj-workspace{display:grid;grid-template-columns:minmax(0,500px) minmax(270px,1fr);gap:36px;align-items:start}.dj-play{min-width:0}.dj-scorebar{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:416px;margin:0 auto 10px;font-size:13px}.dj-scorebar b{font-size:24px;line-height:1.2;margin:0 3px;font-variant-numeric:tabular-nums}.dj-scorebar>span:last-child{color:#795d83}.dj-drawer{max-width:440px;margin:auto;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.dj-drawer-label{display:flex;justify-content:space-between;align-items:center;padding:0 12px 8px;font-size:10px;letter-spacing:.06em;color:#856c62}.dj-drawer-label strong{color:#507a67;font-size:10px}.dj-rim{position:relative;background:#e9d7bf;border:1px solid #cbb49a;border-radius:20px 20px 12px 12px;padding:11px;box-shadow:inset 0 2px 0 #fff4e3,0 3px 0 #c6ad9460}.dj-board{position:relative;overflow:hidden;aspect-ratio:1;background-color:#fcf7ec;background-image:linear-gradient(#d4c6b533 1px,transparent 1px),linear-gradient(90deg,#d4c6b533 1px,transparent 1px);background-size:calc(100% / 6) calc(100% / 6);border-radius:8px;box-shadow:inset 0 1px 6px #957b6620;touch-action:none}.dj-exit{position:absolute;right:-1px;top:calc(11px + (100% - 22px) / 3);height:calc((100% - 22px) / 6);width:12px;background:#dcece2;border-top:1px solid #8fb49f;border-bottom:1px solid #8fb49f;display:grid;place-items:center;color:#527761;font-size:23px;line-height:1}.dj-drawer-front{height:30px;background:linear-gradient(#e8d3bb,#f1dfc9);border:1px solid #cbb49a;border-top:0;border-radius:0 0 18px 18px;margin:0 2px;display:flex;justify-content:center;align-items:center;box-shadow:0 5px 0 #c8b5a22c}.dj-drawer-front i{display:block;width:72px;height:9px;background:#ae8e78;border-radius:10px;box-shadow:inset 0 2px 1px #93766033,0 1px 0 #fff6e6}.drawer-game .dj-piece{position:absolute;top:0;left:0;min-width:44px;min-height:44px;padding:3px;border:0;border-radius:13px;background:transparent!important;touch-action:none;transition:transform .13s ease-out;will-change:auto;cursor:grab;-webkit-tap-highlight-color:transparent}.dj-piece-surface{position:relative;display:block;width:100%;height:100%;border:1px solid var(--edge);border-radius:11px;background:var(--fill);box-shadow:inset 0 2px 0 #ffffff9c,0 2px 0 #b9a39540;pointer-events:none}.dj-piece-surface>svg{width:100%;height:100%;display:block;pointer-events:none}.dj-piece-id{position:absolute;top:3px;left:4px;font-size:9px;line-height:1;font-weight:750;color:#665b69}.dj-axis{position:absolute;right:3px;bottom:3px;font-size:11px;line-height:1;color:#6c636c;font-weight:500}.dj-piece.is-target .dj-piece-surface{border:2px solid #6c9b84;background:#d8ebdf}.dj-piece.is-target .dj-piece-id{color:#65836d}.dj-piece.tone-0{--fill:#d8ebdf;--edge:#8db09a}.dj-piece.tone-1{--fill:#f6dfe3;--edge:#cda7b4}.dj-piece.tone-2{--fill:#e9e1f3;--edge:#b9a8cb}.dj-piece.tone-3{--fill:#dcebf4;--edge:#9fb9ca}.dj-piece.tone-4{--fill:#f8eaca;--edge:#c9b183}.dj-piece.tone-5{--fill:#ebe1dc;--edge:#bda99e}.dj-piece.is-selected .dj-piece-surface{outline:2.5px solid #80618d;outline-offset:0}.drawer-game .dj-piece.is-dragging{z-index:5;transition:none;cursor:grabbing}.dj-piece.is-dragging .dj-piece-surface{box-shadow:0 6px 14px #5b46652b,inset 0 2px 0 #fff9}.drawer-game .dj-piece:disabled{opacity:1;cursor:default}.dj-feedback{min-height:40px;font-size:13px;text-align:center;margin:17px 0 0;color:#746079;line-height:1.6}.dj-choice{background:#f0ebf6;border:1px solid #e3d8e9;border-radius:20px;padding:17px;margin:0 0 15px}.dj-selection{display:flex;justify-content:space-between;align-items:center;gap:9px;font-weight:750;font-size:15px}.dj-selection small{font-size:9px;font-weight:600;color:#806b88;letter-spacing:.05em}.dj-destinations{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.drawer-game .dj-destinations button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:54px;padding:8px 11px;background:#fffafc}.dj-direction-note,#dj-direction-note{color:#75677e;font-size:12px;line-height:1.7;margin:10px 0 0}.dj-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dj-tools button{padding:10px 7px;font-size:13px}.dj-help{margin-top:18px;padding-top:15px;border-top:1px solid #dfd3e1;font-size:12px;line-height:1.8}.dj-help summary{cursor:pointer;min-height:44px;font-weight:700;display:list-item;padding:10px 0}.dj-help p{color:var(--dj-muted);margin:0 0 12px}.dj-clear{margin:18px 0 0;padding:20px;border:1px solid #b8cfc1;border-radius:22px;background:#e7f0e9}.dj-clear>strong{display:block;font-size:22px;color:#4b705a}.dj-clear>p{font-size:13px;line-height:1.7;margin:9px 0 18px}.dj-clear .dj-primary{background:#cde0d3;border-color:#a8c3b0;box-shadow:0 4px 0 #a7c4b0;color:#47624e}.dj-results{max-width:560px;margin:25px auto 0;text-align:center;padding:30px;background:#faf5f6;border:1px solid #e2d5dc;border-radius:28px}.dj-prize{max-width:210px;margin:0 auto 15px;padding:15px;background:#e0ece3;border-radius:45%}.dj-prize svg{width:100%;display:block}.dj-results h2{font-size:28px;line-height:1.35;margin:15px 0 8px}.dj-results>p:not(.dj-eyebrow){font-size:14px;color:var(--dj-muted)}.dj-results ol{list-style:none;margin:25px 0;padding:0;text-align:left}.dj-results li{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e2d6dd;padding:12px 0;font-size:14px}.dj-results li b{white-space:nowrap;color:#775c82;font-variant-numeric:tabular-nums}.dj-results .dj-primary{margin-top:25px}
@media(max-width:700px){.drawer-game{padding:12px 16px 34px}.dj-heading{margin:14px 0 22px}.dj-heading h1{font-size:33px}.dj-heading>p:last-child{font-size:14px}.dj-home{display:block;padding:12px;border-radius:26px}.dj-cover{border-radius:20px}.dj-cover>span{font-size:9px;top:10px;left:10px}.dj-intro{padding:18px 7px 6px}.dj-dialogue{font-size:14px}.dj-example>svg{width:65px}.dj-example strong{font-size:13px}.dj-example p{font-size:11px}.dj-how{font-size:12px;gap:8px;margin-bottom:20px}.dj-note{font-size:10px}.dj-workspace{display:block}.dj-level{font-size:10px;margin:6px 0 10px;gap:6px}.dj-level ol{gap:6px}.dj-level li{width:24px;height:24px;font-size:11px}#dj-title{font-size:21px;margin-bottom:12px}.dj-scorebar{padding:0 8px;margin-bottom:9px}.dj-scorebar b{font-size:23px}.dj-side{max-width:440px;margin:0 auto}.dj-choice{padding:13px 15px;margin-bottom:12px}.dj-feedback{font-size:12px;min-height:37px;margin:14px 0 7px}.dj-selection{font-size:14px}.dj-results{padding:23px 18px;margin-top:18px}.dj-results h2{font-size:24px}.dj-results li{font-size:12px}.dj-results>p:not(.dj-eyebrow){font-size:12px}.dj-prize{max-width:170px}.dj-results .dj-eyebrow{font-size:10px}.dj-rim{padding:11px}.dj-drawer-label{font-size:9px}.dj-drawer-label strong{font-size:9px}}
@media(max-width:700px) and (max-height:650px){.dj-drawer{max-width:288px}.dj-scorebar{max-width:288px}.dj-feedback{margin-top:12px}.dj-drawer-front{height:23px}.dj-piece-id{font-size:8px;left:3px;top:3px}.dj-axis{font-size:10px;right:2px;bottom:2px}#dj-title{margin-bottom:8px}.dj-drawer-label{padding-bottom:6px}.dj-scorebar{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.drawer-game *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#dj-game[data-phase="complete"] .dj-help{display:none}

#dj-continue{display:block;margin-top:12px;width:100%;min-height:44px;background:#eef5ed;color:#425846}
@media(max-width:700px){
  .dj-level{flex-wrap:wrap}
  .dj-level ol{gap:clamp(2px,1vw,6px)}
  .dj-level li{width:clamp(20px,6vw,24px);height:clamp(20px,6vw,24px)}
}
