@layer ui-sdk;.keyboard-room{color:#eeece8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101011;align-content:center;min-height:100svh;display:grid}.keyboard-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.keyboard-instrument{min-width:0}.keyboard-room[data-compact] .keyboard-scroll{max-height:var(--keyboard-available-height);overflow-y:auto}.keyboard-room[data-compact] .mechanical-key{touch-action:pan-x pan-y}.keyboard-room[data-overview] .keyboard-stage{zoom:var(--keyboard-preview-scale);width:1120px}.keyboard-room[data-overview] .keyboard-scroll{overflow:hidden}.keyboard-size-controls{padding:12px 20px max(24px, env(safe-area-inset-bottom));background:#101011;justify-items:center;gap:12px;display:grid}.keyboard-size-button{color:#f2dfcf;touch-action:manipulation;background:#242122;border:1px solid #77665a;border-radius:6px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:10px 18px;font-size:13px;display:inline-flex}.keyboard-size-button:active{background:#363030}.keyboard-size-controls p{color:#b5aca7;margin:0;font-size:12px}.keyboard-room :focus-visible{outline-color:#f2b78a}.keyboard-scroll{scrollbar-width:thin;scrollbar-color:#5d4b40 #171616;overflow:auto hidden}.keyboard-stage{perspective:1800px;width:min(1240px,100%);min-width:1120px;margin:0 auto;padding:48px 28px 72px}.keyboard-case{transform-style:preserve-3d;transform-origin:50% 55%;background:linear-gradient(165deg,#343437 0%,#141416 12%,#09090b 65%,#212124);border:1px solid #4d4d50;border-bottom-color:#2a2a2d;border-radius:16px;padding:16px 18px 60px;transition:transform .24s cubic-bezier(.77,0,.175,1);position:relative;transform:rotateX(0);box-shadow:inset 0 1px #b8b8bd30,inset 0 -1px #000,0 4px #151517,0 5px #454549,0 9px #0a0a0c,0 11px #252528,0 20px 24px #000b,0 35px 65px #0007}.keyboard-room[data-view=perspective] .keyboard-case{transform:rotateX(var(--keyboard-angle,28deg))}.keyboard-deck{transform-style:preserve-3d;background:#050506;border-radius:8px;padding:5px 5px 7px;box-shadow:0 0 0 1px #ffffff0a,inset 0 3px 6px #000}.keyboard-row{transform-style:preserve-3d;gap:5px;margin-bottom:7px;display:flex}.keyboard-row:last-child{margin-bottom:0}.mechanical-key{transform-style:preserve-3d;flex:var(--key-units) 0 0;color:#bfc0c3;touch-action:pan-x;-webkit-user-select:none;user-select:none;background:linear-gradient(110deg,#424245,#28282b 9%,#0d0d0f 28%,#09090b 80%,#333336);border:0;border-radius:9px 9px 8px 8px;min-width:0;height:54px;padding:0;position:relative;transform:translateZ(1px);box-shadow:0 3px #020203,0 5px 5px #000c,0 0 0 1px #000}.key-face{pointer-events:none;background:radial-gradient(at 50% 14%,#111113 0%,#222224 65%,#39393d 110%),#202023;border:1px solid #ffffff04;border-color:#ffffff19 #ffffff04 #ffffff04 #ffffff0d;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex;position:absolute;inset:1px 4px 6px;transform:translate3d(0,-3px,5px);box-shadow:inset 0 1px 1px #ffffff0d,inset 2px 0 3px #ffffff06,inset 0 -1px 2px #0009,0 3px 3px #0004}.key-face:before{content:"";border-radius:inherit;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.055' d='M0 0h64v64H0z'/%3E%3C/svg%3E"),linear-gradient(110deg,#ffffff05,#0000 22% 80%,#0002);position:absolute;inset:0}.mechanical-key[data-code=Escape] .key-face:after{content:"";background:radial-gradient(#bcbcc322 .6px,#0000 .9px) 0 0/4px 4px;border-radius:4px;position:absolute;inset:4px}.mechanical-key[data-code=ShiftLeft] .key-face,.mechanical-key[data-code=ShiftRight] .key-face{background:repeating-linear-gradient(45deg,#ffffff03 0 1px,#0000 1px 6px),radial-gradient(at 50% 18%,#121214,#29292b)}.key-label{z-index:1;text-shadow:0 1px 1px #0008;font-size:15px;font-weight:500;line-height:1;position:relative}.key-legend{z-index:1;color:#aaabaf;font-size:11px;line-height:1;position:relative}.mechanical-key[data-wide] .key-label{font-size:11px}.mechanical-key[data-function]{height:44px}.mechanical-key[data-function] .key-label{font-size:11px}.mechanical-key[data-function] .key-legend{color:#da9476;font-size:13px}.key-icon{flex-shrink:0;width:16px;height:16px}.mechanical-key[data-code=Space] .key-label{color:#b2b2b6;letter-spacing:.3em;font-size:11px}.mechanical-key[data-code=ArrowUp],.mechanical-key[data-code=ArrowLeft],.mechanical-key[data-code=ArrowDown],.mechanical-key[data-code=ArrowRight]{color:#c7c8cb}.mechanical-key[data-accent]{color:#fff2e7;background:linear-gradient(110deg,#d6754b,#6c2414 12%,#49160b 85%,#ab4724);box-shadow:0 3px #260b05,0 5px 5px #000c}.mechanical-key[data-accent] .key-face{background:radial-gradient(at 50% 18%,#9c3418 0%,#ad4120 75%,#b34c2b);border-top-color:#ffbc8c55;border-left-color:#ffb48626}.key-homing{background:#88827a;border-radius:1px;width:10px;height:2px;position:absolute;bottom:6px;box-shadow:0 1px #000}.mechanical-key[data-down] .key-face{filter:brightness(1.18);color:#fff2e7;border-color:#d79a71;transform:translateY(2px);box-shadow:inset 0 1px 2px #0009,0 0 9px #cb6e3220}.mechanical-key[data-down]{box-shadow:0 1px #050505}.mechanical-key[data-accent][data-down] .key-face{filter:none}.mechanical-key:focus-visible{outline-offset:3px;z-index:2;outline:2px solid #f2b78a}.keyboard-knob{background:0 0;border:0;flex:1.35 0 0;place-items:center;min-width:48px;height:44px;padding:0;display:grid;transform:translateZ(1px)}.keyboard-knob>span{background:repeating-conic-gradient(#171719 0deg 3deg,#454549 3deg 6deg);border:3px solid #141416;border-radius:50%;width:42px;height:42px;position:relative;box-shadow:inset 0 1px 1px #c9aa85a0,0 3px #070707,0 5px 5px #000}.keyboard-knob>span:before{content:"";background:linear-gradient(130deg,#e78049,#ab4020 70%,#63200d);border-radius:50%;position:absolute;inset:5px;box-shadow:inset 0 1px #ffc09390,inset 0 -2px 2px #4a140d88}.keyboard-knob>span:after{content:"";transform-origin:1px 14px;background:#271b15;border-radius:2px;width:3px;height:11px;position:absolute;top:8px;left:18px;transform:rotate(35deg)}.keyboard-knob:not([data-checked])>span:after{transform:rotate(-45deg)}.keyboard-light{background:repeating-linear-gradient(#f5bea0 0 2px,#7f3b29 2px 4px);border-radius:2px;width:3px;height:38px;position:absolute;top:30px;box-shadow:0 0 7px #eb805477}.keyboard-light-left{left:9px}.keyboard-light-right{right:9px}.keyboard-room[data-backlight=false] .keyboard-light{box-shadow:none;background:#6c5b50}.keyboard-room[data-backlight=false] .mechanical-key[data-down] .key-face{border-color:#c4c4c8;box-shadow:inset 0 1px 2px #0009}.keyboard-angle,.keyboard-sound{z-index:2;width:44px;height:64px;position:absolute}.keyboard-angle{top:64px;right:-22px}.keyboard-angle [data-slot=slider-control],.keyboard-angle [data-slot=slider-track]{touch-action:none;cursor:ns-resize;width:44px;height:64px;position:relative}.keyboard-angle[data-scrubbing] [data-slot=slider-control]{cursor:grabbing}.keyboard-angle [data-slot=slider-track]:before{content:"";background:repeating-linear-gradient(#77777c 0 2px,#29292c 2px 4px);border:1px solid #88888d;border-radius:4px;position:absolute;inset:12px 14px;box-shadow:0 1px 2px #0009}.keyboard-angle [data-slot=slider-thumb]{width:1px;height:1px}.keyboard-sound{touch-action:manipulation;background:0 0;border:0;padding:0;top:64%;left:-22px}.keyboard-sound:before{content:"";background:#101012;border:1px solid #737378;border-radius:4px;position:absolute;inset:8px 14px;box-shadow:inset 0 2px 3px #0009}.keyboard-sound:focus-visible{outline-offset:2px;outline:2px solid #f2b78a}.keyboard-angle:has(:focus-visible){outline-offset:2px;outline:2px solid #f2b78a}.keyboard-sound [data-slot=switch-thumb]{background:repeating-linear-gradient(#a7a7ac 0 1px,#747479 1px 2px);border:1px solid #c2c2c5;border-radius:2px;width:10px;height:16px;transition:transform .14s;position:absolute;top:14px;left:17px;box-shadow:0 1px 2px #000a}.keyboard-sound [data-slot=switch-thumb][data-checked]{background:#d58c5b;transform:translateY(20px)}.keyboard-control-hint{color:#eee7de;pointer-events:none;opacity:0;background:#1d1c1b;border:1px solid #5b5550;border-radius:4px;width:max-content;padding:5px 7px;font-size:11px;line-height:1.4;position:absolute;bottom:calc(100% + 6px);right:0}.keyboard-sound .keyboard-control-hint{left:0;right:auto}.keyboard-angle:focus-within .keyboard-control-hint,.keyboard-angle[data-scrubbing] .keyboard-control-hint,.keyboard-sound:focus-visible .keyboard-control-hint{opacity:1}.keyboard-case>canvas{pointer-events:none;width:100%;height:100%;display:none;position:absolute;inset:0}.keyboard-room .keyboard-case[data-rendered]{height:540px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;transition:none;transform:none}.keyboard-case[data-rendered]>canvas{display:block}.keyboard-case[data-rendered] .keyboard-deck,.keyboard-case[data-rendered] .keyboard-row{display:contents}.keyboard-case[data-rendered] .mechanical-key{z-index:1;left:var(--hit-left);top:var(--hit-top);width:var(--hit-width);height:max(44px, var(--hit-height));box-shadow:none;background:0 0;position:absolute;transform:none}.keyboard-case[data-rendered] .key-face,.keyboard-case[data-rendered] .keyboard-light,.keyboard-case[data-rendered] .keyboard-knob>span{display:none}.keyboard-case[data-rendered] .keyboard-knob{left:var(--hit-left);top:var(--hit-top);z-index:1;border-radius:50%;width:44px;min-width:44px;position:absolute;transform:none}.keyboard-case[data-rendered] .keyboard-angle,.keyboard-case[data-rendered] .keyboard-sound{top:var(--hit-top);left:var(--hit-left);bottom:auto;right:auto;transform:none}.keyboard-case[data-rendered] .keyboard-angle [data-slot=slider-track]:before,.keyboard-case[data-rendered] .keyboard-sound:before,.keyboard-case[data-rendered] .keyboard-sound [data-slot=switch-thumb]{display:none}@media (hover:hover) and (pointer:fine){.mechanical-key:hover .key-face{color:#fff2e7;border-color:#8f7560}.keyboard-angle:hover .keyboard-control-hint,.keyboard-sound:hover .keyboard-control-hint{opacity:1}}@media (width<=600px){.keyboard-stage{padding-inline:20px}}@media (prefers-reduced-motion:reduce){.keyboard-case,.keyboard-sound [data-slot=switch-thumb]{transition:none}.mechanical-key[data-down] .key-face{transform:translate3d(0,-3px,5px)}}
