










.osk { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; direction: ltr; transform: translateY(100%); transition: transform 400ms cubic-bezier(.2, .8, .2, 1); font-family: 'Rubik', 'Assistant', Arial, sans-serif; }
.osk.is-open { transform: none; }
.osk--fade { transform: none; opacity: 0; transition: opacity 200ms; }
.osk--fade.is-open { opacity: 1; }
.osk__group { position: relative; display: flex; flex-direction: column; background: #F5F7FA; border-block-start: 1px solid #CCCCEF; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.osk__row { display: flex; }
.osk__cell { flex-basis: 0; min-width: 0; display: flex; cursor: pointer; box-sizing: border-box; }
.osk__key { position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; background: #fff; color: #0E0E28; box-shadow: -1.5px 1.5px .15px rgba(0, 0, 176, .2); line-height: 1; white-space: nowrap; cursor: pointer; }
.osk__key svg { width: 1em; height: 1em; font-size: 1.36em; pointer-events: none; }
.osk__key--shift, .osk__key--back, .osk__key--mode { background: rgba(0, 0, 176, .1); }
.osk__key--mode { font-size: 15px !important; font-weight: 500; }
.osk__key--space { font-size: 14px !important; color: #6A6A7A; }
.osk__key--enter { background: #0000B0; color: #fff; font-size: 16px !important; font-weight: 500; }
.osk__key--enter.is-long { font-size: 13px !important; }
.osk__key--shift.is-on { background: #0000B0; color: #fff; }
.osk__lock { position: absolute; inset-block-end: 7px; inset-inline: 0; margin-inline: auto; width: 14px; height: 2px; border-radius: 1px; background: currentColor; }
.osk__key.is-down { background: #E6E6F7; }
.osk__key--shift.is-down, .osk__key--back.is-down, .osk__key--mode.is-down { background: rgba(0, 0, 176, .2); }
.osk__key--enter.is-down { background: color-mix(in srgb, #0000B0 80%, #fff); }
.osk__key--shift.is-on.is-down { background: #0000B0; }
.osk__preview { position: absolute; z-index: 1; display: flex; justify-content: center; pointer-events: none; background: #fff; color: #0E0E28; box-shadow: -1.5px 1.5px .15px rgba(0, 0, 176, .2), 0 4px 12px rgba(14, 14, 40, .18); line-height: 1; box-sizing: border-box; }
.osk__preview--ios { align-items: flex-start; padding-top: 12px; border-radius: 12px 12px 6px 6px; }
.osk__preview--android { align-items: center; border-radius: 16px; }

html.osk-open body { padding-bottom: var(--osk-h, 0px); }
@media (prefers-reduced-motion: reduce) { .osk { transition: opacity 200ms; } }
