html, body {
    margin: 0;
    padding: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background: #0b0b0f;
    color: #e8ecf3;
    font-family: "SamsungOne", "Samsung Sans", Arial, sans-serif;
}

.shell {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    z-index: 1000;
    background: #0b0b0f;
    text-align: center;
}

.shell-gone {
    display: none;
}

.shell-hidden {
    display: none;
}

.shell-brand {
    padding-top: 340px;
}

.shell-brand img {
    height: 140px;
}

.shell-spinner {
    width: 72px;
    height: 72px;
    margin: 60px auto 0;
    border: 8px solid rgba(255, 255, 255, 0.15);
    border-top-color: #B8F34A;
    border-radius: 50%;
    -webkit-animation: shell-spin 0.9s linear infinite;
    animation: shell-spin 0.9s linear infinite;
}

@-webkit-keyframes shell-spin {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes shell-spin {
    to { transform: rotate(360deg); }
}

.shell-error {
    margin-top: 60px;
}

.shell-error-text {
    font-size: 36px;
    line-height: 1.4;
    max-width: 1200px;
    margin: 0 auto 50px;
}

/* Botão igual aos do app: fundo na cor da marca quando focado. */
.shell-button {
    display: inline-block;
    padding: 20px 56px;
    font-size: 32px;
    font-weight: 700;
    border-radius: 14px;
    background: #23232d;
}

.shell-focused {
    background: #B8F34A;
    color: #0b0b0f;
}

/* Dicas de teclas no mesmo desenho do app (ui/keyHints.js): a tecla como o botão do controle. */
.shell-hints {
    margin-top: 44px;
    white-space: nowrap;
}

.kh {
    display: inline-block;
    margin: 0 14px;
    vertical-align: middle;
}

.kh-key {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 9px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

.kh-icon {
    width: 18px;
    height: 18px;
    margin-top: 6px;
    vertical-align: top;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* OK: botão redondo do meio do controle, na cor da marca. */
.kh-ok {
    width: 34px;
    padding: 0;
    border-radius: 50%;
    border-color: #B8F34A;
    background: #B8F34A;
    color: #0b0b0f;
    font-size: 12px;
    font-weight: 800;
    line-height: 30px;
}

.kh-label {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #c9c9d3;
    vertical-align: middle;
}

/* Celular (loader.js põe a classe "mobile"): página na largura do aparelho, toque. */
html.mobile, html.mobile body, html.mobile .shell {
    width: 100%;
    height: 100%;
}

html.mobile .shell-brand { padding-top: 38vh; }
html.mobile .shell-brand img { height: 56px; }
html.mobile .shell-spinner { width: 36px; height: 36px; margin-top: 32px; border-width: 4px; }
html.mobile .shell-error { margin-top: 32px; padding: 0 24px; }
html.mobile .shell-error-text { font-size: 16px; margin-bottom: 24px; }
html.mobile .shell-button { padding: 14px 32px; font-size: 16px; }
html.mobile .shell-hints { display: none; }
