*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}html{overflow:hidden}body{font-family:Noto Sans JP,Hiragino Sans,sans-serif;font-size:13px;color:#222;background:#f1f2f4;overflow:hidden;overscroll-behavior:none}html{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img{-webkit-user-drag:none}.tap{cursor:pointer;transition:opacity .1s;user-select:none;-webkit-user-select:none}.tap:active{opacity:.6}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .18s ease}@keyframes popIn{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.pop-in{animation:popIn .2s cubic-bezier(.2,0,0,1)}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:spin 1s linear infinite;display:inline-block}input[type=range]{cursor:pointer;accent-color:#1a1a2e;height:4px;width:100%}input[type=text]{font-family:inherit;width:100%;border:1.5px solid #d1d5db;border-radius:7px;padding:7px 10px;font-size:13px;color:#111;outline:none}input[type=text]:focus{border-color:#3b82f6}.code-input::placeholder{color:#0000004d;font-style:italic;font-weight:700}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#0000002e;border-radius:3px}.font-select-list{scrollbar-width:none}.font-select-list::-webkit-scrollbar{display:none}.hide-edit-ui [data-edit-ui]{visibility:hidden}.screen{height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative;background:#fff}.portrait-screen{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;width:100dvw;height:100dvh;max-width:430px;margin-inline:auto;overflow:hidden}.force-landscape{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;width:100dvw;height:100dvh;overflow:hidden}@media screen and (orientation: portrait) and (pointer: coarse){.force-landscape{top:0;left:100%;width:100vh;height:100vw;width:100dvh;height:100dvw;transform-origin:left top;transform:rotate(90deg)}}.portrait-screen.turn-cw,.portrait-screen.turn-ccw{inset:auto;width:100vh;height:100vw;width:100dvh;height:100dvw;max-width:none;margin:0;transform-origin:left top}.portrait-screen.turn-cw{top:0;left:100%;transform:rotate(90deg)}.portrait-screen.turn-ccw{top:100%;left:0;transform:rotate(-90deg)}.force-landscape,.portrait-screen{--safe-top: 0px;--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: 0px;--safe-left: env(safe-area-inset-left, 0px)}@media screen and (orientation: portrait){.portrait-screen{--safe-bottom: env(safe-area-inset-bottom, 0px)}}@media screen and (orientation: portrait) and (pointer: coarse){.force-landscape{--safe-top: env(safe-area-inset-right, 0px);--safe-right: env(safe-area-inset-bottom, 0px);--safe-bottom: env(safe-area-inset-left, 0px);--safe-left: 0px}}.portrait-screen.turn-cw{--safe-top: env(safe-area-inset-right, 0px);--safe-right: 0px;--safe-bottom: env(safe-area-inset-left, 0px);--safe-left: 0px}.portrait-screen.turn-ccw{--safe-top: env(safe-area-inset-left, 0px);--safe-right: 0px;--safe-bottom: env(safe-area-inset-right, 0px);--safe-left: 0px}.screen{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}@media (hover: none) and (pointer: coarse){html.allow-toolbar-collapse{overflow:visible}html.allow-toolbar-collapse body{overflow:visible;height:calc(100lvh + 1px)}}
