/* ==========================================================================
   Habbolito — tema da CMS (por cima do OrionCMS)

   Duas caras, cada uma fiel à sua referência:
   - .hx-*  a index: tela dividida, azul-ardósia, com um quarto real em escala do jogo
   - .hb-*  a CMS: faixa azul de hotel, menu com fitas coloridas e módulos brancos

   Sprites e ícones vêm do banco de imagens do próprio hotel (/marca/habbid e /marca/habbo).
   Tudo usa prefixo para não brigar com o Tailwind do Orion.
   Ajustes pessoais: use custom.css (carrega depois deste arquivo).
   ========================================================================== */

:root {
    --hb-font: 'Ubuntu', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --hb-pixel: 'Pixelify Sans', 'Ubuntu', ui-monospace, monospace;

    --hb-ink: #3f4a50;
    --hb-text: #5f6b72;
    --hb-muted: #949da3;
    --hb-bg: #e6e6e6;
    --hb-paper: #ffffff;
    --hb-paper-2: #f5f5f5;
    --hb-line: #dedede;

    --hb-sky: #6dc6ea;
    --hb-sky-2: #4fb2dc;
    /* faixa do topo (banner) */
    --hb-band: linear-gradient(100deg, #449CCA 0%, #067DB7 55%);
    --hb-blue: #2f7ad0;
    --hb-blue-2: #1d5ea9;

    --hb-green: #7cb82f;
    --hb-green-2: #5f9421;
    --hb-orange: #f08a1d;
    --hb-orange-2: #cc6c08;
    --hb-yellow: #f6cf1d;
    --hb-yellow-2: #d3ac05;
    --hb-red: #e5484d;
    --hb-red-2: #b8262c;

    /* fitas do menu, na ordem da referência */
    --hb-nav-0: #6fb82e;
    --hb-nav-1: #3fb2e0;
    --hb-nav-2: #9a6cc4;
    --hb-nav-3: #f0862a;
    --hb-nav-4: #f2c21d;

    --hb-radius: 4px;
    --hb-shadow: 0 1px 2px rgba(0, 0, 0, .07);
}

html.dark {
    --hb-ink: #e8edf0;
    --hb-text: #b6c1c8;
    --hb-muted: #84919a;
    --hb-bg: #15191c;
    --hb-paper: #1f2529;
    --hb-paper-2: #191e22;
    --hb-line: #2e363c;

    --hb-sky: #1f6f94;
    --hb-sky-2: #18587a;
    --hb-band: #4a5668;

    --hb-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

/* ---------- base ---------- */

html { font-family: var(--hb-font); }

body.hb {
    font-family: var(--hb-font);
    color: var(--hb-text);
    background: var(--hb-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
html.dark body.hb:not(.hb--landing) { background: var(--hb-bg); }
/* o Orion põe uma sombra escura em todo <header> */
body.hb header { box-shadow: none; }

.hb-px { image-rendering: pixelated; }
.hb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb [x-cloak] { display: none !important; }

/* sprites nunca borram */
.hb-home img, .hb-top img, .hx img { image-rendering: pixelated; }

.hb-link { color: var(--hb-sky-2); font-size: 12px; }
.hb-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- botões ---------- */

.hb-btn {
    --c: var(--hb-blue);
    --c2: var(--hb-blue-2);
    --t: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 18px;
    border-radius: var(--hb-radius);
    border: 1px solid var(--c2);
    background: linear-gradient(color-mix(in srgb, var(--c) 88%, #fff), var(--c));
    color: var(--t);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: filter .15s, transform .06s;
}
.hb-btn:hover { filter: brightness(1.06); }
.hb-btn:active { transform: translateY(1px); }
.hb-btn:focus-visible { outline: 3px solid var(--hb-yellow); outline-offset: 2px; }
.hb-btn:disabled, .hb-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: none; }

.hb-btn--green { --c: var(--hb-green); --c2: var(--hb-green-2); }
.hb-btn--orange { --c: var(--hb-orange); --c2: var(--hb-orange-2); }
.hb-btn--yellow { --c: var(--hb-yellow); --c2: var(--hb-yellow-2); --t: #5a4600; }
.hb-btn--red { --c: var(--hb-red); --c2: var(--hb-red-2); }
.hb-btn--sky { --c: var(--hb-sky); --c2: var(--hb-sky-2); }
.hb-btn--gray { --c: #8f8f8f; --c2: #7c7c7c; }
.hb-btn--ghost { --c: var(--hb-paper); --c2: var(--hb-line); --t: var(--hb-text); box-shadow: none; }
.hb-btn--sm { height: 30px; padding: 0 12px; font-size: 12px; }
.hb-btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.hb-btn--block { width: 100%; }

/* ---------- campos ---------- */

.hb-field {
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    background: var(--hb-paper);
    color: var(--hb-ink);
    overflow: hidden;
}
.hb-field:focus-within { border-color: var(--hb-sky-2); box-shadow: 0 0 0 3px rgba(79, 178, 220, .2); }
.hb-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font-size: 13px;
}
.hb-field input::placeholder { color: var(--hb-muted); }
.hb-field > i, .hb-field > button { padding: 0 12px; color: var(--hb-ink); font-size: 12px; }
.hb-field--sm { height: 32px; }

/* ==========================================================================
   Estrutura da CMS
   ========================================================================== */

.hb-shell { display: flex; flex-direction: column; min-height: 100vh; }
.hb-main { flex: 1; padding-top: 28px; }
.hb-wrap { width: 100%; max-width: 1028px; margin: 0 auto; padding: 0 24px; }

/* ---------- faixa azul do topo ---------- */

.hb-top { position: relative; z-index: 30; }

.hb-band { position: relative; height: 196px; background: var(--hb-band); }
.hb-band__art {
    position: absolute;
    left: 0; bottom: 0;
    width: min(520px, calc(50% - 280px));
    height: 100%;
    background: url('/marca/habbo/reception-br.png') no-repeat;
    background-position: -10px -252px;
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
    mask-image: linear-gradient(90deg, #000 78%, transparent);
    pointer-events: none;
}
html.dark .hb-band__art { filter: brightness(.7); }

.hb-band__inner { position: relative; display: flex; align-items: flex-start; height: 100%; }

.hb-logo { position: absolute; left: 24px; top: 50%; translate: 0 -50%; transition: transform .2s; }
.hb-logo:hover { transform: rotate(-2deg) scale(1.03); }
.hb-logo img {
    width: 250px;
    height: auto;
    /* contorno branco de adesivo + sombra dura, como os logos dos hotéis */
    filter:
        drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
        drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
        drop-shadow(0 3px 0 rgba(40, 52, 70, .35));
}

.hb-band__tools { display: flex; align-items: center; gap: 6px; margin: 40px 16px 0 auto; }
.hb-band__guest { display: flex; gap: 6px; }

/* etiqueta escura ("Publicidade" da referência): aqui, a conta do usuário */
.hb-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 12px;
    border-radius: 3px;
    background: #4b5358;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s;
}
.hb-tag:hover { background: #394045; }
.hb-tag .fa-chevron-down { font-size: 8px; opacity: .7; }
/* cabeça sempre no tamanho m do imager: o s é só uma redução pela metade e perde o rosto.
   A imagem tem 90x130 com a cabeça terminando em y=71 e o resto transparente, por isso ela vaza da caixa sem cortar chapéu alto. */
.hb-tag__face { position: relative; display: block; flex: none; width: 34px; height: 30px; margin-left: -6px; }
.hb-tag__face img { position: absolute; left: 50%; bottom: -59px; translate: -50% 0; max-width: none; pointer-events: none; }

.hb-bell { position: relative; }
.hb-bell__count { min-width: 16px; padding: 1px 4px; border-radius: 8px; background: var(--hb-orange); font-size: 10px; text-align: center; }
.hb-bell > .absolute { right: -8px; left: auto; min-width: 0; z-index: 90; }
.hb-bell > .absolute > .w-96 { width: min(360px, calc(100vw - 32px)); }

.hb-account { position: relative; }
.hb-menu-pop {
    position: absolute;
    right: 0; top: calc(100% + 6px);
    z-index: 90;
    width: 214px;
    padding: 6px;
    border-radius: var(--hb-radius);
    background: var(--hb-paper);
    border: 1px solid var(--hb-line);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
}
.hb-menu-pop a, .hb-menu-pop button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 9px;
    border-radius: 3px;
    color: var(--hb-ink);
    font-size: 13px;
    text-align: left;
}
.hb-menu-pop a:hover, .hb-menu-pop button:hover { background: var(--hb-paper-2); }
.hb-menu-pop a, .hb-menu-pop button { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.hb-menu-pop img, .hb-menu-pop i { justify-self: center; max-width: none; color: var(--hb-muted); }
.hb-menu-pop form { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--hb-line); }
.hb-menu-pop .is-danger { color: var(--hb-red); }

.hb-online {
    flex: none;
    width: 120px;
    margin-top: 40px;
    padding: 13px 8px 12px;
    border-radius: 5px;
    background: var(--hb-paper);
    box-shadow: 0 2px 6px rgba(20, 70, 100, .2);
    text-align: center;
}
.hb-online p { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--hb-ink); font-size: 16px; }
.hb-online p b { font-weight: 500; }

.hb-online small { display: block; margin-top: 7px; color: var(--hb-muted); font-size: 11px; line-height: 1.35; }

/* ---------- menu com fitas ---------- */

.hb-navbar { background: var(--hb-paper); border-bottom: 2px solid #d4d4d4; }
html.dark .hb-navbar { border-bottom-color: var(--hb-line); }
.hb-navbar__inner { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }

.hb-nav__toggle { display: none; align-items: center; gap: 8px; height: 56px; color: var(--hb-ink); font-weight: 700; font-size: 13px; }

.hb-nav { display: flex; align-items: stretch; }
.hb-nav__item { position: relative; display: flex; border-left: 1px solid var(--hb-line); }
.hb-nav__item:last-child { border-right: 1px solid var(--hb-line); }
.hb-nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 76px;
    padding: 3px 26px 0;
    border-bottom: 3px solid var(--nav);
    color: var(--hb-ink);
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s;
}
.hb-nav__link:hover, .hb-nav__item.is-open > .hb-nav__link { background: var(--hb-paper-2); }
.hb-nav__item.is-active > .hb-nav__link { background: color-mix(in srgb, var(--nav) 10%, var(--hb-paper)); font-weight: 500; }
.hb-nav__link img { max-width: 40px; max-height: 40px; }
.hb-nav__link .fa-chevron-down { font-size: 8px; opacity: .55; }
.hb-nav__sub {
    position: absolute;
    left: -1px; top: 100%;
    z-index: 60;
    min-width: 200px;
    padding: 6px;
    border-radius: 0 0 var(--hb-radius) var(--hb-radius);
    background: var(--hb-paper);
    border: 1px solid var(--hb-line);
    border-top: 0;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
}
.hb-nav__sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 3px; color: var(--hb-ink); font-size: 13px; }
.hb-nav__sub a:hover, .hb-nav__sub a.is-active { background: var(--hb-paper-2); }

.hb-play {
    flex: none;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 18px;
    border-radius: var(--hb-radius);
    border: 1px solid var(--hb-green-2);
    background: linear-gradient(#8ac637, var(--hb-green));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: filter .15s;
}
.hb-play:hover { filter: brightness(1.06); }


.hb-maint { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 6px 16px; background: var(--hb-red); color: #fff; font-weight: 700; font-size: 13px; text-align: center; }

/* ---------- títulos de seção das páginas internas (x-title-box) ---------- */

.hb-tbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    min-height: 58px;
}
.hb-tbox__main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 280px; }
.hb-tbox__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--hb-paper);
    border: 1px solid var(--hb-line);
    box-shadow: var(--hb-shadow);
}
.hb-tbox__icon .icon { margin: 0; }
.hb-tbox__text { display: flex; flex-direction: column; min-width: 0; }
.hb-tbox__title { font-size: 18px; line-height: 1.25; color: var(--hb-ink); }
.hb-tbox__title.is-small { font-size: 15px; }
.hb-tbox__desc { font-size: 13px; color: var(--hb-muted); }
.hb-tbox__slot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }

/* ==========================================================================
   /me — página inicial logada
   ========================================================================== */

.hb-box {
    background: var(--hb-paper);
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    box-shadow: var(--hb-shadow);
}

.hb-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid #e8dc7e;
    border-radius: var(--hb-radius);
    background: #fdf9b9;
    color: #76703a;
    font-size: 13px;
}
html.dark .hb-notice { background: #3a3618; border-color: #5a5322; color: #e0d98e; }
.hb-notice p { flex: 1; }
.hb-notice a { text-decoration: underline; text-underline-offset: 2px; }
.hb-notice button { color: inherit; opacity: .7; }
.hb-notice button:hover { opacity: 1; }

.hb-columns { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 38px; align-items: start; }
.hb-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* pesquisa */
.hb-find { position: relative; padding: 18px 76px 22px 20px; border-radius: var(--hb-radius); background: #d2d2d2; }
html.dark .hb-find { background: var(--hb-paper); }
.hb-find h2 { margin-bottom: 12px; color: #4f565a; font-size: 15px; font-weight: 500; }
html.dark .hb-find h2 { color: var(--hb-ink); }
.hb-find__row { display: flex; gap: 12px; }
.hb-find__row .hb-field { flex: 1; }
.hb-find__mark { position: absolute; right: 28px; top: 50%; translate: 0 -50%; }

/* cartão do usuário */
.hb-me { overflow: hidden; }
.hb-me__main { position: relative; display: flex; gap: 16px; min-height: 172px; padding: 16px; }
.hb-me__avatar { position: relative; flex: none; width: 140px; height: 140px; overflow: hidden; border-radius: var(--hb-radius); background: #c4c4c4; }
html.dark .hb-me__avatar { background: var(--hb-paper-2); }
.hb-me__status { position: absolute; left: 6px; top: 6px; z-index: 2; padding: 1px 6px; border-radius: 2px; background: #8d6f35; color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hb-me__status.is-online { background: var(--hb-green); }
.hb-me__stage { position: absolute; left: 50%; bottom: 6px; translate: -50% 0; max-width: none; }
.hb-me__figure { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; max-width: none; }
.hb-me__body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.hb-me__body h1 { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--hb-ink); font-size: 17px; font-weight: 500; }
.hb-me__body p { margin-top: 6px; max-width: 280px; font-size: 13px; }
.hb-me__play { width: 200px; height: 50px; margin-top: 22px; font-size: 14px; }
.hb-me__links { position: absolute; right: 12px; top: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.hb-me__links a { display: block; transition: transform .15s; }
.hb-me__links a:hover { transform: translateY(-2px); }

.hb-me__carpet { position: absolute; right: 0; bottom: 0; width: 148px; height: 112px; pointer-events: none; }
.hb-me__carpet svg { position: absolute; right: 0; bottom: 0; width: 148px; height: 74px; }
.hb-me__carpet img { position: absolute; right: 16px; bottom: 2px; max-width: none; }

.hb-me__wallet { display: flex; flex-wrap: wrap; border-top: 1px solid var(--hb-line); background: var(--hb-paper-2); }
.hb-me__wallet li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; border-right: 1px solid var(--hb-line); font-size: 12px; white-space: nowrap; }
.hb-me__wallet li:last-child { border-right: 0; }
.hb-me__wallet img { flex: none; }

.hb-visit { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: -8px; background: var(--hb-paper-2); font-size: 12.5px; transition: color .15s; }
.hb-visit:hover { color: var(--hb-ink); }
.hb-visit i { font-size: 10px; }

/* notícia em destaque */
.hb-lead { position: relative; overflow: hidden; min-height: 218px; border-radius: var(--hb-radius); background: #2a1a70 right top no-repeat; box-shadow: var(--hb-shadow); }
.hb-lead::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 40, .55) 30%, transparent 62%); }
.hb-lead__body { position: relative; max-width: 330px; padding: 24px 26px; color: #fff; }
.hb-lead h2 { font-size: 17px; font-weight: 500; }
.hb-lead time { display: block; margin: 8px 0 12px; font-size: 11px; opacity: .85; }
.hb-lead p { min-height: 40px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; }

/* missão */
.hb-mission { position: relative; padding: 22px 24px 26px; border-radius: var(--hb-radius); background: #2d6a8e; color: #fff; overflow: hidden; }
.hb-mission h2 { font-size: 15px; font-weight: 500; }
.hb-mission p { margin: 8px 0 12px; max-width: 480px; font-size: 13px; }
.hb-mission .hb-field { max-width: 400px; border: 0; }
.hb-mission .hb-field img { margin-right: 12px; }
.hb-mission .hb-field > i { color: #c98a18; }
.hb-mission__actions { display: flex; gap: 12px; margin-top: 16px; }
.hb-mission__close { position: absolute; right: 12px; top: 10px; z-index: 2; color: #fff; font-size: 12px; opacity: .85; }
.hb-mission__close:hover { opacity: 1; }
.hb-mission__art { position: absolute; right: 8px; bottom: 6px; width: 74px; height: 78px; }
.hb-mission__figure { position: absolute; right: 56px; bottom: -6px; max-width: none; }

/* módulos */
.hb-mod { min-width: 0; overflow: hidden; }
.hb-mod__head { position: relative; display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px 16px; }
.hb-mod__tile { --t: var(--hb-green); display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 5px; background: var(--t); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.hb-mod__tile img { max-width: 44px; max-height: 44px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }
.is-green .hb-mod__tile { --t: #5cae52; }
.is-purple .hb-mod__tile { --t: #8d63b7; }
.is-blue .hb-mod__tile { --t: #2f6d94; }
.is-red .hb-mod__tile { --t: #dd4039; }
.is-cyan .hb-mod__tile { --t: #1eabe4; }
.is-amber .hb-mod__tile { --t: #b98413; }
.is-pink .hb-mod__tile { --t: #cf73bd; }
.is-orange .hb-mod__tile { --t: #f4931f; }
.is-yellow .hb-mod__tile { --t: #f6c81c; }
.is-lime .hb-mod__tile { --t: #79a823; }
.hb-mod__title { flex: 1; min-width: 0; padding-right: 14px; }
.hb-mod__title h3 { display: flex; align-items: center; gap: 6px; color: var(--hb-ink); font-size: 15px; font-weight: 500; }
.hb-mod__title h3 button { display: grid; place-items: center; opacity: .75; transition: rotate .3s, opacity .15s; }
.hb-mod__title h3 button:hover { opacity: 1; rotate: 90deg; }
.hb-mod__title p { margin-top: 5px; font-size: 12px; color: var(--hb-muted); }
.hb-mod__close { position: absolute; right: 12px; top: 10px; color: var(--hb-muted); font-size: 11px; opacity: .6; }
.hb-mod__close:hover { opacity: 1; }
.hb-mod__body { border-top: 1px solid var(--hb-line); }
.hb-more { display: block; padding: 15px; border-top: 1px solid var(--hb-line); background: var(--hb-paper-2); color: var(--hb-text); font-size: 12px; text-align: center; transition: color .15s; }
.hb-more:hover { color: var(--hb-ink); }
.hb-empty { padding: 16px; color: var(--hb-muted); font-size: 12.5px; text-align: center; }

.hb-picker { max-width: 100%; margin: 3px 0 0 -4px; padding: 2px 4px; border: 0; border-radius: 3px; background: transparent; color: var(--hb-muted); font-size: 12px; cursor: pointer; }
.hb-picker:hover { background: var(--hb-paper-2); }
.hb-picker option { background: var(--hb-paper); color: var(--hb-text); }

/* amigos */
.hb-friends__tools { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 14px 16px 16px; }
.hb-friends__tools > div:first-child { flex: 1 1 200px; max-width: 250px; }
.hb-friends__label { display: block; margin-bottom: 8px; font-size: 12px; }
.hb-friends__count { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.hb-friends__count b { display: block; color: var(--hb-ink); font-size: 12.5px; font-weight: 500; }
.hb-friends__count button { font-size: 11.5px; color: var(--hb-muted); }
.hb-friends__count button i { color: var(--hb-sky-2); font-size: 8px; margin-left: 3px; }
.hb-friends__add { flex: 0 1 262px; overflow: hidden; border: 2px solid #6f6f6f; border-radius: 5px; background: var(--hb-paper-2); }
.hb-friends__add h4 { padding: 9px; background: #6f6f6f; color: #fff; font-size: 13px; font-weight: 500; text-align: center; }
.hb-friends__add > span { display: block; padding: 7px 12px; background: #dfdfdf; color: #6a6a6a; font-size: 12px; }
html.dark .hb-friends__add > span { background: var(--hb-line); color: var(--hb-text); }
.hb-friends__add > div { display: flex; gap: 8px; padding: 10px 12px; }
.hb-friends__add .hb-field { flex: 1; }
.hb-friends__add button { flex: none; width: 32px; border: 1px solid #2c2c2c; border-radius: 3px; background: linear-gradient(#7ece48, #4e9e23); color: #123b03; font-size: 13px; }
.hb-friends__add button:hover { filter: brightness(1.08); }

.hb-table { width: calc(100% - 24px); margin: 0 12px 14px; border-collapse: collapse; font-size: 12px; }
.hb-table th { padding: 11px 14px; background: #5fae58; color: #fff; font-weight: 500; text-align: left; }
.hb-table th:nth-child(2), .hb-table td:nth-child(2) { text-align: center; }
.hb-table th:last-child, .hb-table td:last-child { width: 80px; text-align: center; }
.hb-table td { padding: 3px 14px; height: 46px; }
.hb-table tbody tr:nth-child(even) { background: #dcf6c6; }
html.dark .hb-table tbody tr:nth-child(even) { background: #233420; }
.hb-table td a { display: inline-flex; align-items: center; gap: 8px; }
.hb-table td a:hover { color: var(--hb-ink); }
.hb-table__head { position: relative; display: inline-block; flex: none; width: 38px; height: 38px; vertical-align: middle; }
.hb-table__head img { position: absolute; left: 50%; bottom: -59px; translate: -50% 0; max-width: none; pointer-events: none; }
.hb-table__on { color: var(--hb-green-2); font-weight: 500; }
.hb-table__go { color: var(--hb-sky-2); }

/* grade de módulos pequenos */
.hb-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.hb-minis .hb-mod { display: flex; flex-direction: column; }
.hb-minis .hb-mod > div { flex: 1; display: flex; flex-direction: column; }
.hb-minis .hb-mod__body { flex: 1; }
.hb-minis .hb-more { margin-top: auto; }
.hb-minis .hb-mod__head { min-height: 86px; }

.hb-badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding: 8px 10px; }
.hb-badges span { aspect-ratio: 1; background: center no-repeat; image-rendering: pixelated; }
.hb-lines { padding: 4px 0; }
.hb-lines li { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 4px 14px; font-size: 12px; }
.hb-lines li + li { border-top: 1px solid var(--hb-line); }
.hb-lines a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-lines a:hover { color: var(--hb-ink); }
.hb-lines b { font-weight: 500; color: var(--hb-ink); }
.hb-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; }
/* prévia: a foto fica no tamanho original e a caixa só recorta o centro */
.hb-shots a { height: 96px; border-radius: 2px; background: var(--hb-line) center no-repeat; image-rendering: pixelated; }

/* coluna de notícias */
.hb-newsbox { overflow: hidden; }
.hb-newsbox__hero { position: relative; display: block; min-height: 160px; padding: 26px 20px 18px; background: #152650 right center no-repeat; color: #fff; }
.hb-newsbox__hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 40, .78) 40%, rgba(8, 14, 40, .1)); }
.hb-newsbox__hero > * { position: relative; }
.hb-newsbox__hero h2 { font-size: 15px; font-weight: 500; }
.hb-newsbox__hero p { max-width: 160px; margin: 8px 0 14px; font-size: 12px; line-height: 1.4; }
.hb-newsbox__hero span { font-size: 11px; }
.hb-newsbox__hero span i { font-size: 8px; margin-left: 2px; }
.hb-newsrow { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px; background: var(--hb-paper-2); border-top: 1px solid var(--hb-paper); transition: background .15s; }
html.dark .hb-newsrow { border-top-color: var(--hb-line); }
.hb-newsrow:hover { background: var(--hb-paper); }
.hb-newsrow > span { flex: 1; min-width: 0; }
.hb-newsrow b { display: block; overflow: hidden; color: var(--hb-ink); font-size: 12.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.hb-newsrow small { font-size: 11px; color: var(--hb-muted); }
.hb-newsrow > i { color: var(--hb-ink); font-size: 12px; }
.hb-newsrow > i.is-on { color: #e23a3a; font-weight: 900; }

.hb-roomrow { display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 8px 16px; }
.hb-roomrow + .hb-roomrow { border-top: 1px solid var(--hb-line); }
.hb-roomrow img { flex: none; }
.hb-roomrow > span { flex: 1; min-width: 0; }
.hb-roomrow b { display: block; overflow: hidden; color: var(--hb-ink); font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.hb-roomrow small { display: block; overflow: hidden; margin-top: 4px; color: var(--hb-muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.hb-roomrow em { flex: none; min-width: 34px; padding: 2px 6px; border-radius: 2px; background: #9aa2a7; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; text-align: center; }
.hb-roomrow em.is-level-1 { background: #5cae52; }
.hb-roomrow em.is-level-2 { background: #efb71c; }
.hb-roomrow em.is-level-3 { background: #ee7d2c; }

.hb-rankrow { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 4px 16px; font-size: 12px; }
.hb-rankrow + .hb-rankrow { border-top: 1px solid var(--hb-line); }
.hb-rankrow:hover { background: var(--hb-paper-2); }
.hb-rankrow > i { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 2px; background: #c9c9c9; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.hb-rankrow > i.is-first { background: #84b92a; }
.hb-rankrow > span:nth-of-type(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-rankrow b { font-weight: 400; }
.hb-rankrow > img { flex: none; }

.hb-poll { padding: 14px 16px 16px; font-size: 12.5px; }
.hb-poll > p { margin-bottom: 14px; line-height: 1.45; }
.hb-poll__options label { display: flex; align-items: center; gap: 10px; min-height: 30px; cursor: pointer; font-size: 12px; }
.hb-poll__options input { position: absolute; opacity: 0; }
.hb-poll__options i { flex: none; width: 15px; height: 15px; border: 3px solid #343a3e; border-radius: 50%; background: #fff; }
.hb-poll__options input:checked + i { background: radial-gradient(#343a3e 45%, #fff 50%); }
.hb-poll__options input:focus-visible + i { outline: 2px solid var(--hb-sky-2); outline-offset: 2px; }
.hb-poll__bars > div { margin-bottom: 10px; font-size: 12px; }
.hb-poll__bars > div > span { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.hb-poll__bars b { font-weight: 500; }
.hb-poll__bars i { display: block; height: 8px; border-radius: 2px; background: var(--hb-paper-2); box-shadow: inset 0 0 0 1px var(--hb-line); overflow: hidden; }
.hb-poll__bars u { display: block; height: 100%; background: #9aa2a7; transition: width .4s; text-decoration: none; }
.hb-poll__bars .is-mine u { background: var(--hb-red); }
.hb-poll__bars small { color: var(--hb-muted); font-size: 11px; }
.hb-poll__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }

.hb-restore { margin-top: 24px; font-size: 12.5px; text-align: center; color: var(--hb-muted); }
.hb-restore button { color: var(--hb-sky-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- rodapé ---------- */

.hb-foot { margin-top: 40px; border-top: 1px solid var(--hb-line); background: var(--hb-paper); }
.hb-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 22px; font-size: 12.5px; color: var(--hb-muted); }
.hb-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hb-foot nav a, .hb-foot nav button { color: var(--hb-text); }
.hb-foot nav a:hover, .hb-foot nav button:hover { color: var(--hb-ink); }
.hb-foot p b { color: var(--hb-ink); font-weight: 500; }

.hb-totop {
    position: fixed; right: 16px; bottom: 16px; z-index: 50;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: var(--hb-radius);
    background: var(--hb-sky-2); color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

/* ==========================================================================
   Index — tela dividida, sempre clara: é a recepção do hotel
   ========================================================================== */

body.hb--landing { background: #fff; color: #5d5d5d; }

.hx { display: flex; flex-direction: column; min-height: 100vh; font-family: 'Roboto', 'Segoe UI', sans-serif; overflow-x: clip; }

/* ---------- topo ---------- */

.hx-top {
    position: relative;
    z-index: 40;
    display: grid;
    grid-template: 60px 80px / 280px minmax(0, 1fr);
    border-bottom: 4px solid #E63A73;
    background: #333;
}
.hx-brand {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(#F0568A, #E63A73);
    transition: filter .2s;
}
.hx-brand:hover { filter: brightness(1.05); }
.hx-brand img {
    width: 250px;
    height: auto;
    filter:
        drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
        drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
        drop-shadow(0 3px 0 rgba(30, 45, 65, .4));
}

.hx-top__bar { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding-left: 30px; background: #222; color: #fff; font-size: 15px; }
.hx-top__online { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hx-top__right { display: flex; align-items: stretch; height: 100%; }
.hx-lang { display: flex; align-items: center; gap: 8px; padding: 0 30px; border-left: 1px solid #3c3c3c; color: #fff; font-size: 15px; }
.hx-lang i { font-size: 9px; }
.hx-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 260px;
    padding: 0 28px;
    background: linear-gradient(#5dbb12, #46a60b);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    transition: filter .15s;
}
.hx-cta:hover { filter: brightness(1.08); }
.hx-cta svg { flex: none; width: 15px; height: 20px; }

.hx-top__nav { position: relative; display: flex; align-items: stretch; min-width: 0; color: #fff; }
.hx-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0 45px;
    border-right: 1px solid #444;
    color: #a9a9a9;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.hx-nav:hover, .hx-nav.is-open { color: #fff; background: #3a3a3a; }
.hx-nav.is-active { padding: 0 58px; color: #fff; }
button.hx-nav { text-transform: uppercase; }
.hx-nav i { font-size: 9px; }
.hx-nav__group { position: relative; }
.hx-nav__drawer { position: relative; display: flex; align-items: center; margin-left: auto; padding-right: 30px; }
.hx-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px 0; }
.hx-burger span { display: block; width: 26px; height: 3px; background: #fff; transition: background .15s; }
.hx-burger:hover span { background: #8596ab; }
.hx-nav__menu {
    position: absolute;
    left: 0; top: 100%;
    z-index: 50;
    min-width: 220px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
    border-top: 3px solid #5e7186;
}
.hx-nav__menu.is-right { left: auto; right: 16px; }
.hx-nav__menu a { display: block; padding: 10px 14px; color: #4a4a4a; font-size: 14px; }
.hx-nav__menu a:hover { background: #eef1f5; color: #4c5f75; }

/* ---------- metades ---------- */

.hx-split { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hx-left { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; }
.hx-left__body { position: relative; z-index: 1; flex: 1; width: min(462px, 100% - 32px); margin: 0 auto; padding: 88px 0 60px; }
.hx-left h1 { color: #464646; font-size: 30px; font-weight: 400; text-align: center; }
.hx-left__sub { margin-top: 18px; color: #777; font-size: 15px; text-align: center; }

.hx-form { margin-top: 84px; }
.hx-form__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 34px; }
.hx-form__head h2 { color: #464646; font-size: 24px; font-weight: 400; text-transform: uppercase; }
.hx-form__head span { color: #777; font-size: 16px; }

.hx-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 58px;
    margin-bottom: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.hx-field:focus-within { border: 2px solid #5e7186; box-shadow: 0 0 0 3px rgba(94, 113, 134, .15); }
.hx-field input { flex: 1; min-width: 0; height: 100%; padding: 0 20px; border: 0; outline: 0; background: transparent; color: #464646; font-size: 15px; }
.hx-field input::placeholder { color: #8c8c8c; transition: color .15s; }
.hx-field:focus-within input::placeholder { color: #5e7186; }
.hx-field:has(.hx-field__avatar) input { padding-right: 70px; }
.hx-field__avatar { position: absolute; right: 0; bottom: -11px; max-width: none; pointer-events: none; transition: transform .25s; transform-origin: bottom; }
.hx-field:focus-within .hx-field__avatar { transform: translateY(-3px); }
.hx-field__forgot { display: flex; align-items: center; gap: 8px; padding-right: 20px; color: #999; font-size: 15px; white-space: nowrap; transition: color .15s; }
.hx-field__forgot:hover { color: #4c5f75; }
.hx-form__captcha { display: flex; justify-content: center; margin-bottom: 18px; }

.hx-check { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0 36px; color: #5d5d5d; font-size: 16px; cursor: pointer; user-select: none; }
.hx-check input { position: absolute; opacity: 0; }
.hx-check i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #ddd; border-radius: 3px; background: #fff; }
.hx-check input:checked + i::after { content: '\f00c'; font: 900 13px 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome'; color: #333; }
.hx-check input:focus-visible + i { outline: 2px solid #5e7186; outline-offset: 2px; }

.hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 60px;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .15s, transform .06s;
}
.hx-btn:hover { filter: brightness(1.07); }
.hx-btn:active { transform: translateY(1px); }
.hx-btn:focus-visible { outline: 3px solid #333; outline-offset: 2px; }
.hx-btn:disabled { cursor: not-allowed; filter: none; }
.hx-btn--main { background: linear-gradient(#788a9f, #5e7186); font-size: 20px; }
.hx-btn--blue { background: linear-gradient(#4a72b8, #33589d); }
.hx-btn--green { background: linear-gradient(#5dbb12, #46a60b); }
.hx-btn--mute { background: #e9e9e9; color: #8a8a8a; }
.hx-btn--mute:disabled { color: #bdbdbd; background: #f1f1f1; }

.hx-form__actions { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
.hx-form__signup { margin-top: 36px; color: #777; font-size: 15px; text-align: center; }
.hx-form__signup a { color: #222; }
.hx-form__signup a:hover { color: #4c5f75; }

.hx-left__art { position: absolute; left: 0; right: 0; bottom: 80px; width: 100%; height: 190px; opacity: .06; pointer-events: none; }
.hx-foot { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 80px; padding: 14px 40px; background: #f1f1f1; color: #777; }
.hx-foot nav { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; }
.hx-foot nav a { color: #5d5d5d; }
.hx-foot nav a:hover { color: #4c5f75; }
.hx-foot nav a + a { margin-left: 12px; padding-left: 12px; border-left: 1px solid #ccc; }
.hx-foot small { font-size: 11px; }

/* ---------- metade colorida ---------- */

.hx-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 88px 16px 40px;
    overflow: hidden;
    background: linear-gradient(#F0568A, #E63A73);
    color: #fff;
    text-align: center;
}
/* raios de sol atrás do título */
.hx-right::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 340px;
    background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(255, 255, 255, .07) 0 7deg, transparent 7deg 16deg);
    -webkit-mask-image: radial-gradient(ellipse 48% 100% at 50% 100%, #000 45%, transparent 100%);
    mask-image: radial-gradient(ellipse 48% 100% at 50% 100%, #000 45%, transparent 100%);
    pointer-events: none;
}
/* xadrez isométrico que aparece perto do chão */
.hx-right::after {
    content: '';
    position: absolute;
    inset: 40% 0 0;
    background-image:
        repeating-linear-gradient(26.57deg, transparent 0 15px, rgba(255, 255, 255, .07) 15px 16px),
        repeating-linear-gradient(153.43deg, transparent 0 15px, rgba(255, 255, 255, .07) 15px 16px);
    -webkit-mask-image: linear-gradient(transparent, #000 70%);
    mask-image: linear-gradient(transparent, #000 70%);
    pointer-events: none;
}
.hx-right h2, .hx-right__sub, .hx-stage { position: relative; z-index: 1; }
.hx-right h2 { font-size: 30px; font-weight: 400; text-shadow: 0 1px 0 rgba(30, 45, 65, .35); }
.hx-right__sub { margin-top: 18px; font-size: 14px; font-weight: 500; text-shadow: 0 1px 0 rgba(30, 45, 65, .35); }

.hx-stage { flex: none; width: 680px; height: 560px; margin-top: 28px; translate: -30px 0; text-align: left; }
.hx-room { position: absolute; inset: 0 auto auto 0; width: 680px; height: 530px; }

.hx-sprite { position: absolute; opacity: 0; transform: translateY(-22px); transition: opacity .3s, transform .35s cubic-bezier(.3, 1.5, .5, 1); transition-delay: 0s; pointer-events: none; max-width: none; }
.hx-sprite.is-on { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.hx-sprite.is-avatar img, .hx-sprite.is-pet img { display: block; max-width: none; }

.hx-say {
    position: absolute;
    left: 50%; bottom: calc(100% - 30px); /* a imagem do avatar tem 37px vazios em cima */
    translate: -50% 0;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font: 500 11px/1.2 'Ubuntu', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.hx-say::after { content: ''; position: absolute; left: 50%; top: 100%; width: 7px; height: 7px; margin-top: -4px; border: solid #333; border-width: 0 1px 1px 0; background: #fff; rotate: 45deg; }

.hx-heart {
    position: absolute;
    left: 22px; top: -30px;
    display: grid;
    place-items: center;
    width: 22px; height: 20px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #fff;
    animation: hx-hop 2.2s ease-in-out infinite;
}
.hx-heart svg { width: 14px; height: 12px; }
.hx-heart::after { content: ''; position: absolute; left: 5px; top: 100%; width: 6px; height: 6px; margin-top: -3px; border: solid #333; border-width: 0 1px 1px 0; background: #fff; rotate: 45deg; }

.hx-arrow { position: absolute; z-index: 400; overflow: visible; }
.hx-arrow.is-green { width: 46px; height: 44px; transition: left .45s cubic-bezier(.3, 1.3, .5, 1), top .45s cubic-bezier(.3, 1.3, .5, 1); animation: hx-bounce 1.1s ease-in-out infinite; }
.hx-arrow.is-tip { right: 28px; top: -28px; width: 30px; height: 42px; animation: hx-bounce 1.1s ease-in-out infinite -.5s; }

.hx-tip {
    position: absolute;
    left: 270px; top: 330px;
    z-index: 300;
    width: 400px;
    min-height: 186px;
    padding: 18px 26px;
    border-radius: 4px;
    background: #fff;
    color: #666;
    box-shadow: 0 4px 14px rgba(30, 45, 65, .3);
}
.hx-tip::before { content: ''; position: absolute; left: -7px; top: 42px; width: 14px; height: 14px; background: #fff; rotate: 45deg; }
.hx-tip__text { position: relative; padding-right: 66px; min-height: 96px; }
.hx-tip h3 { display: flex; align-items: center; gap: 10px; color: #4a4a4a; font-size: 20px; font-weight: 400; }
.hx-tip h3 img { flex: none; }
.hx-tip p { margin-top: 12px; font-size: 14px; line-height: 20px; }
.hx-tip__side { position: absolute; right: 12px; top: 8px; display: grid; place-items: center; width: 64px; height: 110px; }
.hx-tip__side img { max-width: none; }
.hx-tip__actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.hx-tip .hx-btn { height: 36px; padding: 0 26px; font-size: 14px; }
.hx-tip__skip { margin-left: auto; color: #b5b5b5; font-size: 14px; transition: color .15s; }
.hx-tip__skip:hover { color: #777; }
.hx-tip__skip i { margin-left: 4px; font-size: 10px; }

.hx-replay { position: absolute; left: 508px; top: 340px; z-index: 300; padding: 8px 14px; border-radius: 3px; background: #fff; color: #4c5f75; font-size: 13px; font-weight: 500; box-shadow: 0 2px 6px rgba(30, 45, 65, .3); }
.hx-replay:hover { background: #eef1f5; }
.hx-more { position: absolute; right: 12px; top: 552px; z-index: 300; color: #fff; font-size: 14px; font-weight: 500; }
.hx-more:hover { text-decoration: underline; text-underline-offset: 3px; }

@keyframes hx-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes hx-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-height: 940px) and (min-width: 1000px) {
    .hx-left__body { padding-top: 48px; }
    .hx-form { margin-top: 44px; }
    .hx-form__head { margin-bottom: 32px; }
    .hx-check { margin: 18px 0 24px; }
    .hx-form__signup { margin-top: 24px; }
    .hx-right { padding-top: 48px; }
}

@media (max-width: 1360px) {
    .hx-nav { padding: 0 28px; }
    .hx-nav.is-active { padding: 0 36px; }
    .hx-cta { width: auto; }
    .hx-stage { translate: -10px 0; }
}
/* O quarto só fica em tamanho real enquanto couber. Escalado, pixel duro deixaria os sprites irregulares. */
@media (max-width: 1300px) {
    .hx-stage { zoom: .9; }
    .hx-stage img { image-rendering: auto; }
}
@media (max-width: 1180px) {
    .hx-stage { zoom: .78; translate: 0 0; }
    .hx-form__actions { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hx-foot { padding: 14px 24px; }
}
@media (max-width: 999px) {
    .hx-split { grid-template-columns: minmax(0, 1fr); }
    .hx-left__body { padding: 44px 0; }
    .hx-form { margin-top: 36px; }
    .hx-stage { zoom: 1; translate: 0 0; }
    .hx-right { padding-top: 48px; }
    .hx-foot { order: 3; }
}
@media (max-width: 720px) {
    .hx-top { grid-template: 56px 56px / 110px minmax(0, 1fr); }
    .hx-brand img { width: 94px; image-rendering: auto; }
    .hx-top__bar { padding-left: 12px; font-size: 13px; }
    .hx-top__online img { display: none; }
    .hx-lang { padding: 0 12px; }
    .hx-cta { gap: 8px; padding: 0 12px; font-size: 12px; }
    .hx-cta svg { display: none; }
    .hx-nav { padding: 0 16px; font-size: 14px; }
    .hx-nav.is-active { padding: 0 16px; }
    .hx-nav__drawer { padding-right: 14px; }
    .hx-stage { zoom: .8; translate: 0 0; }
    .hx-form__head span { font-size: 14px; }
    .hx-field__forgot { padding-right: 12px; font-size: 13px; }
}
@media (max-width: 480px) {
    .hx-top { grid-template-columns: 84px minmax(0, 1fr); }
    .hx-brand { padding: 6px; }
    .hx-brand img { width: 72px; }
    .hx-top__bar { padding-left: 8px; font-size: 11px; }
    .hx-lang { display: none; }
    .hx-cta { padding: 0 10px; font-size: 11px; }
}
@media (max-width: 560px) {
    .hx-stage { zoom: .6; }
    .hx-right h2 { font-size: 24px; }
    .hx-left h1 { font-size: 25px; }
    .hx-foot { padding: 14px 16px; }
}
@media (max-width: 430px) {
    .hx-stage { zoom: .52; }
}

/* ==========================================================================
   Harmonia com as páginas internas do Orion (Tailwind)
   ========================================================================== */

html.dark body.hb .dark\:bg-slate-950 { background-color: var(--hb-paper); }
html.dark body.hb .dark\:bg-slate-900 { background-color: var(--hb-paper-2); }
html.dark body.hb .dark\:border-slate-800 { border-color: var(--hb-line); }
body.hb .hb-main .shadow-lg { box-shadow: var(--hb-shadow); }

@media (prefers-reduced-motion: reduce) {
    .hb *, .hb *::before, .hb *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsivo da CMS
   ========================================================================== */

@media (max-width: 1100px) {
    .hb-band__art { display: none; }
}

@media (max-width: 1040px) {
    .hb-nav__link { padding: 3px 14px 0; font-size: 14px; }
}

@media (max-width: 960px) {
    .hb-columns { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 880px) {
    .hb-band { height: auto; min-height: 110px; }
    .hb-band__inner { flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
    .hb-logo { position: static; translate: none; flex: 1 1 100%; text-align: center; }
    .hb-logo img { display: inline-block; width: 190px; image-rendering: auto; }
    .hb-band__tools { position: relative; margin: 0 auto 0 0; }
    .hb-account { position: static; }
    .hb-menu-pop { left: 0; right: auto; }
    .hb-bell > .absolute { left: 0; right: auto; }
    .hb-online { display: flex; align-items: center; gap: 8px; width: auto; margin: 0; padding: 5px 10px; }
    .hb-online small { margin: 0; }
    .hb-online small br { display: none; }

    .hb-nav__toggle { display: flex; }
    .hb-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        z-index: 70;
        flex-direction: column;
        padding: 8px;
        background: var(--hb-paper);
        border-bottom: 2px solid var(--hb-line);
        box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
    }
    .hb-nav.is-open { display: flex; }
    .hb-nav__item, .hb-nav__item:last-child { flex-direction: column; border: 0; }
    .hb-nav__link { height: 46px; padding: 0 12px; border-bottom: 0; border-left: 3px solid var(--nav); }
    .hb-nav__link .fa-chevron-down { margin-left: auto; }
    .hb-nav__sub { position: static; border: 0; box-shadow: none; padding: 0 0 6px 28px; background: transparent; }
    .hb-play { height: 40px; padding: 0 12px; font-size: 13px; }
    .hb-wrap { padding: 0 14px; }
    .hb-foot__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
    .hb-minis { grid-template-columns: minmax(0, 1fr); }
    .hb-me__main { flex-direction: column; }
    .hb-me__carpet { display: none; }
    .hb-me__play { width: 100%; }
    .hb-mission__art, .hb-mission__figure { display: none; }
    .hb-friends__tools > div:first-child { max-width: none; }
    .hb-friends__add { flex: 1 1 100%; }
}

/* Logo Habbolito no tamanho original, sem distorcer */
.hx-brand img, .hb-logo img { width: auto !important; height: auto !important; max-width: 100%; image-rendering: pixelated !important; }

/* Imagem da noticia ocupa a altura toda do cartao, com zoom nitido */
.hb-lead { background-size: cover !important; background-position: center !important; image-rendering: pixelated; }
