#onvels-keykel-help,
#onvels-keykel-help * {
    box-sizing: border-box;
    letter-spacing: 0;
}

#onvels-keykel-help {
    --onvels-keykel-reserve-bottom: 96px;
    position: relative;
    width: min(336px, calc(100% - 32px));
    margin: 16px 16px 16px auto;
    color: #24282b;
    font: 14px/1.5 Arial, sans-serif;
    text-align: left;
    direction: ltr;
}

#onvels-keykel-help [hidden],
#onvels-keykel-help:not([open]) > [data-onvels-keykel-panel] {
    display: none !important;
}

#onvels-keykel-help > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 124px;
    max-width: 100%;
    min-height: 44px;
    margin: 0 0 0 auto;
    padding: 10px 12px;
    border: 1px solid #8b9590;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(0 0 0 / 10%);
    color: #24282b;
    font: 600 15px/22px Arial, sans-serif;
    list-style: none;
    cursor: pointer;
}

#onvels-keykel-help > summary::marker { content: ""; }
#onvels-keykel-help > summary::-webkit-details-marker { display: none; }

#onvels-keykel-help .material-symbols-outlined {
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    overflow: hidden;
    font-family: "Material Symbols Outlined";
    font-size: 22px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    font-feature-settings: "liga";
}

#onvels-keykel-help [data-onvels-keykel-panel] {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #c6ceca;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(0 0 0 / 13%);
    overflow-wrap: anywhere;
}

#onvels-keykel-help .onvels-keykel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
}

#onvels-keykel-help h2 {
    margin: 0;
    color: #24282b;
    font: 700 18px/1.3 Arial, sans-serif;
}

#onvels-keykel-help [data-onvels-keykel-close] {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #fff;
    color: #424a46;
    cursor: pointer;
}

#onvels-keykel-help p { margin: 0; font: 14px/1.5 Arial, sans-serif; }
#onvels-keykel-help .onvels-keykel-available { margin-top: 4px; color: #176a47; font-weight: 600; }
#onvels-keykel-help .onvels-keykel-notice { margin: 6px 0 14px; color: #505853; }
#onvels-keykel-help nav { display: block; }

#onvels-keykel-help nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 10px 4px;
    border-top: 1px solid #e0e5e2;
    background: #fff;
    color: #24282b;
    font: 400 14px/1.5 Arial, sans-serif;
    text-decoration: none;
}

#onvels-keykel-help nav a > span:last-child { min-width: 0; }
#onvels-keykel-help nav a:hover { text-decoration: underline; }
#onvels-keykel-help > summary:hover,
#onvels-keykel-help [data-onvels-keykel-close]:hover,
#onvels-keykel-help nav a:hover { background: #f0f5f2; }
#onvels-keykel-help :focus-visible { outline: 3px solid #146b48; outline-offset: 2px; }

#onvels-keykel-help[data-onvels-keykel-floating="true"] {
    position: fixed;
    z-index: 1025;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(var(--onvels-keykel-bottom, 96px) + env(safe-area-inset-bottom, 0px));
    width: 124px;
    max-width: calc(100vw - 32px);
    margin: 0;
}

#onvels-keykel-help[data-onvels-keykel-floating="true"] [data-onvels-keykel-panel] {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 336px;
    max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-height: var(--onvels-keykel-panel-height, calc(100vh - 172px));
    max-height: min(var(--onvels-keykel-panel-height), calc(100dvh - var(--onvels-keykel-bottom) - env(safe-area-inset-bottom, 0px) - 76px));
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
    #onvels-keykel-help [data-onvels-keykel-panel] { scroll-behavior: auto; }
}

@media (forced-colors: active) {
    #onvels-keykel-help > summary,
    #onvels-keykel-help [data-onvels-keykel-panel],
    #onvels-keykel-help [data-onvels-keykel-close] { border-color: ButtonText; box-shadow: none; }
    #onvels-keykel-help :focus-visible { outline-color: Highlight; }
}
