/* ==========================================================================
   Habbolito — tema clássico da área logada (abas, céu e caixas azuis)
   Carrega depois do habbid.css. Para voltar ao visual anterior: esvaziar este
   arquivo e restaurar layouts/header.blade.php do backup (backups/tema-habblive).
   ========================================================================== */

:root {
    --hl-sky-1: #78F9FF;
    --hl-sky-2: #8CE2FB;
    --hl-sky-3: #59D9FF;
    --hl-page: #F7F7FC;
    --hl-line: #C5C5CA;
    --hl-sep: #B8B8B8;
    --hl-blue-a: #03A9F4;
    --hl-blue-b: #2196F3;
    /* faixa de título padrão de todas as caixas: 11px mais claros em cima, o resto no azul */
    --hl-bar: linear-gradient(var(--hl-blue-a) 11px, var(--hl-blue-b) 11px);
    --hl-tab-a: #0F93E1;
    --hl-tab-b: #2CA5F1;
    --hl-tab-c: #0D7DC1;
    --hl-row: #E9EEFF;
    --hl-ink: #1f1f1f;
    --hl-text: #333;
    --hl-muted: #666;
    --hl-dark: #5C5C5C;
    --hl-dark-2: #4A4A4A;
    --hl-font: Verdana, Tahoma, 'DejaVu Sans', Geneva, sans-serif;
    --hl-width: 770px;
}

/* ---------- base da página ---------- */

html:not(.dark) body.hb--app,
html:not(.dark) body.hb--guest {
    background: var(--hl-page);
    color: var(--hl-text);
}
body.hb--app, body.hb--guest { font-family: var(--hl-font); font-size: 11px; }
body.hb--app .hb-main, body.hb--guest .hb-main { padding-top: 8px; }

.hl-wrap,
body.hb--app .hb-wrap,
body.hb--guest .hb-wrap,
body.hb--app .hb-container,
body.hb--guest .hb-container {
    width: 100%;
    max-width: var(--hl-width) !important;
    margin-inline: auto;
    padding-inline: 0 !important;
}

/* ---------- cabeçalho: céu, hotel, logo e abas ---------- */

.hl-top { position: relative; z-index: 40; }
.hl-sky {
    position: relative;
    height: 155px;
    /* visível: o menu da conta e as notificações descem por cima do submenu */
    overflow: visible;
    border-bottom: 2px solid #000;
    background: linear-gradient(var(--hl-sky-1), var(--hl-sky-2) 55%, var(--hl-sky-3));
}
.hl-sky__hotel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: url('/marca/habbo/reception-br.png') left bottom / auto 184px no-repeat;
    image-rendering: pixelated;
    -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent);
    mask-image: linear-gradient(90deg, #000 72%, transparent);
}
.hl-sky__city {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 560px;
    max-width: 100%;
    height: 100%;
    background: url('/marca/habbo/pastel-city-cloudscape.png') right 62% / auto 210px no-repeat;
    opacity: .75;
    -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent);
    mask-image: linear-gradient(270deg, #000 55%, transparent);
}
.hl-sky__inner { position: relative; height: 100%; }

.hl-logo { position: absolute; left: 6px; top: 16px; display: block; line-height: 0; }
.hl-logo img { width: auto !important; height: auto !important; max-width: 260px; image-rendering: pixelated; }

/* notificações e conta: plaquinha branca no alto, à direita */
.hl-tools {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 2px;
    padding: 3px 6px 4px;
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.hl-tool { position: relative; }
.hl-tool__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 7px;
    border-radius: 3px;
    color: #000;
    font: 700 11px/1 var(--hl-font);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hl-tool__btn:hover { background: #eef6ff; }
.hl-tool__btn i { font-size: 11px; text-decoration: none; }
.hl-tool__face { width: 22px; height: 22px; overflow: hidden; border-radius: 50%; background: #e3f6ff; }
.hl-tool__face img { width: 33px; height: 56px; max-width: none; margin: -14px 0 0 -6px; image-rendering: pixelated; }
.hl-tools .hb-bell__count { position: absolute; top: 0; right: 0; }
.hl-tools .hb-menu-pop { right: 0; top: calc(100% + 6px); z-index: 60; }

/* abas */
.hl-tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.hl-tabs::-webkit-scrollbar { display: none; }
.hl-tab {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    margin-bottom: -2px;
    padding: 0 20px;
    border: 2px solid #000;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(var(--hl-tab-c) 0 1px, var(--hl-tab-a) 1px 3px, var(--hl-tab-b) 3px 10px, var(--hl-tab-a) 10px 14px, var(--hl-tab-c) 14px);
    color: #fff;
    font: 700 12px/1 var(--hl-font);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    white-space: nowrap;
    text-decoration: none;
}
.hl-tab:hover { filter: brightness(1.08); }
.hl-tab.is-active {
    height: 30px;
    padding-inline: 22px;
    background: #fff;
    color: #000;
    text-shadow: none;
    z-index: 2;
}
.hl-tab img { image-rendering: pixelated; }

/* barra de links da aba aberta */
.hl-subnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--hl-line);
    border-top: 0;
    border-bottom-width: 3px;
    border-radius: 0 0 5px 5px;
    background: #fff;
}
.hl-subnav__links { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.hl-subnav__links::-webkit-scrollbar { display: none; }
.hl-subnav__links a {
    flex: none;
    padding: 2px 17px;
    border-left: 1px solid var(--hl-sep);
    color: #555;
    font: 12px/18px var(--hl-font);
    text-decoration: none;
    white-space: nowrap;
}
.hl-subnav__links a:first-child { padding-left: 10px; border-left: 0; }
.hl-subnav__links a:hover { color: #000; text-decoration: underline; }
.hl-subnav__links a.is-active { color: #000; font-weight: 700; }
/* contador de online e botão de entrar: canto direito do céu, abaixo da plaquinha */
.hl-side {
    position: absolute;
    right: 0;
    top: 42px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hl-online {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 4px;
    background: rgba(255, 255, 255, .88);
    color: #555;
    font-size: 11px;
}
.hl-online img { image-rendering: pixelated; }
.hl-online b { color: #000; }
.hl-play.hb-play {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    border: 2px solid #1d5d0b;
    border-radius: 4px;
    background: linear-gradient(#5ed12b 50%, #3cae0e 50%);
    color: #fff;
    font: 700 11px/1 var(--hl-font);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.hl-play.hb-play:hover { filter: brightness(1.07); }

/* ---------- caixas no estilo clássico ---------- */

html:not(.dark) :is(body.hb--app, body.hb--guest) :is(.hb-box, .hb-mod) {
    padding: 4px;
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
}

/* módulos da home: faixa azul com o título no meio e o ícone à direita */
:is(body.hb--app, body.hb--guest) .hb-mod__head {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
}
:is(body.hb--app, body.hb--guest) .hb-mod__title { display: block; padding: 0; }
:is(body.hb--app, body.hb--guest) .hb-mod__title .hb-picker {
    display: block;
    height: 22px;
    margin: 6px auto 2px;
    padding: 0 6px;
    border: 1px solid var(--hl-line);
    border-radius: 3px;
    background: #fff;
    color: #444;
    font: 11px var(--hl-font);
}
:is(body.hb--app, body.hb--guest) .hb-mod__title h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    margin: 0;
    padding: 0 46px;
    border-radius: 4px;
    background: var(--hl-bar);
    color: #fff;
    font: 700 13px/1 var(--hl-font);
    text-shadow: none;
}
:is(body.hb--app, body.hb--guest) .hb-mod__title h3 button img { width: 15px; height: 15px; filter: brightness(10); opacity: .85; }
:is(body.hb--app, body.hb--guest) .hb-mod__title p {
    margin: 6px 6px 2px;
    color: var(--hl-muted);
    font-size: 11px;
    text-align: center;
}
:is(body.hb--app, body.hb--guest) .hb-mod__tile {
    position: absolute;
    right: -9px;
    top: -10px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    box-shadow: none;
}
:is(body.hb--app, body.hb--guest) .hb-mod__tile img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff); }
:is(body.hb--app, body.hb--guest) .hb-mod__close {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: #fff;
    opacity: .8;
}
:is(body.hb--app, body.hb--guest) .hb-mod__close:hover { opacity: 1; }
:is(body.hb--app, body.hb--guest) .hb-mod__body { padding: 6px 4px 4px; }

/* títulos das páginas internas (x-title-box): a mesma caixa das outras — moldura branca, faixa azul
   e a descrição em cinza logo abaixo. Quando vem um cartão branco logo depois, os dois viram uma caixa só. */
:is(body.hb--app, body.hb--guest) .hb-tbox { flex: 1 1 auto; min-width: 0; }
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-tbox {
    position: relative;
    display: block;
    min-height: 0;
    padding: 4px;
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
}
html.dark :is(body.hb--app, body.hb--guest) .hb-tbox { position: relative; display: block; min-height: 0; }
:is(body.hb--app, body.hb--guest) .hb-tbox__main {
    position: static;
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    text-align: center;
}
:is(body.hb--app, body.hb--guest) .hb-tbox__text { display: block; }
:is(body.hb--app, body.hb--guest) .hb-tbox__title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 4px 48px;
    border-radius: 4px;
    background: var(--hl-bar);
    color: #fff !important;
    font: 700 13px/1.25 var(--hl-font) !important;
    text-shadow: none;
}
:is(body.hb--app, body.hb--guest) .hb-tbox__desc {
    display: block;
    margin: 6px 6px 2px;
    color: var(--hl-muted) !important;
    font: 11px/1.4 var(--hl-font) !important;
    text-align: center;
}
html.dark :is(body.hb--app, body.hb--guest) .hb-tbox__desc { color: #b6c1c8 !important; }
:is(body.hb--app, body.hb--guest) .hb-tbox__icon {
    position: absolute;
    right: -5px;
    top: -6px;
    z-index: 1;
    width: 42px;
    height: 42px;
    margin: 0;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
}
:is(body.hb--app, body.hb--guest) .hb-tbox__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; image-rendering: pixelated; }
:is(body.hb--app, body.hb--guest) .hb-tbox__slot { margin-top: 6px; }

/* título + cartão logo abaixo = uma caixa só (sem o vão e sem a borda do meio) */
html:not(.dark) .hb-main .hb-tbox:is(
    :has(+ [class~="bg-white"]),
    :has(+ div:not([class]) > [class~="bg-white"]:first-child),
    :has(+ div[class=""] > [class~="bg-white"]:first-child)
) {
    padding-bottom: 2px;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}
html:not(.dark) .hb-main :is(
    .hb-tbox + [class~="bg-white"],
    .hb-tbox + div:not([class]) > [class~="bg-white"]:first-child,
    .hb-tbox + div[class=""] > [class~="bg-white"]:first-child
) {
    margin-top: 0 !important;
    border-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
/* coluna que só tem o título e o cartão: o espaçamento do Tailwind separaria os dois */
html:not(.dark) .hb-main :is(.flex, .grid):has(> .hb-tbox:first-child + [class~="bg-white"]:last-child) { row-gap: 0 !important; }

/* cartões brancos das páginas internas (Tailwind) */
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-main .hb-container [class~="bg-white"] {
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px !important;
    box-shadow: none !important;
}
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-main .hb-container [class~="bg-gray-200"],
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-main .hb-container [class~="bg-slate-100"] { background: var(--hl-row); }

/* ---------- caixa padrão (.hl-box): moldura, faixa azul, ícone no canto e linhas alternadas ---------- */

.hl-box {
    position: relative;
    padding: 4px;
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font: 11px/1.35 var(--hl-font);
}
.hl-box__head { position: relative; }
.hl-box__head h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0;
    padding: 4px 48px;
    border-radius: 4px;
    background: var(--hl-bar);
    color: #fff;
    font: 700 13px/1.25 var(--hl-font);
    text-align: center;
}
.hl-box__icon {
    position: absolute;
    right: -9px;
    top: -10px;
    z-index: 1;
    max-width: 48px;
    max-height: 48px;
    image-rendering: pixelated;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 -1px 0 rgba(255, 255, 255, .9));
}
.hl-box__body { padding: 8px 6px 4px; }
.hl-box__body.is-list { padding: 4px 0 0; }
.hl-empty { margin: 0; padding: 14px 8px; color: var(--hl-muted); text-align: center; }
.hl-empty i { margin-right: 4px; }

/* membro da equipe: boneco à esquerda, nome, último login e tarefa */
.hl-member {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 88px;
    padding: 0 8px 0 6px;
}
.hl-member:nth-child(even) { background: var(--hl-row); }
/* o imager devolve 90x130 com o boneco entre y=37 e y=120: recorte do corpo inteiro, sem redimensionar */
.hl-member__avatar { flex: none; align-self: flex-start; width: 56px; height: 88px; overflow: hidden; }
.hl-member__avatar img { display: block; width: 90px; height: 130px; max-width: none; margin: -33px 0 0 -17px; image-rendering: pixelated; }
.hl-member__info { min-width: 0; padding: 6px 0; }
.hl-member__info p { margin: 0; color: #000; overflow-wrap: anywhere; }
.hl-member__info b { font-weight: 700; }
.hl-member__name { display: inline-flex; align-items: center; gap: 5px; color: #000; font-weight: 700; }
.hl-member__name:hover { text-decoration: underline; }
.hl-dot { width: 7px; height: 7px; border-radius: 50%; background: #d84a4a; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.hl-dot.is-online { background: #3cb043; }
.hl-member__badges { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 4px; }
.hl-member__badges img { width: 40px; height: 40px; image-rendering: pixelated; }

/* caixa de texto (escrita no housekeeping) com a imagem emoldurada à direita */
.hl-note { display: flex; align-items: center; gap: 10px; padding: 10px 8px 8px; }
.hl-note__text { flex: 1; min-width: 0; }
.hl-note__text > p { margin: 0 0 6px; }
.hl-prose p { margin: 0 0 6px; }
.hl-prose > :last-child { margin-bottom: 0; }
.hl-prose a { color: #f07c1b; }
.hl-prose a:hover { text-decoration: underline; }
.hl-note__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid var(--hl-line);
    border-radius: 4px;
    background: #ececec;
}
.hl-note__icon img { max-width: 56px; max-height: 56px; image-rendering: pixelated; }

/* página da equipe: duas colunas (451px + resto) e filtro por cargo */
.hl-staff { display: flex; flex-direction: column; gap: 8px; }
.hl-staff__grid { display: grid; grid-template-columns: 451px minmax(0, 1fr); gap: 9px; align-items: start; }
.hl-staff__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hl-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 6px;
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px;
    background: #fff;
}
.hl-filter button { padding: 2px 12px; border-left: 1px solid var(--hl-sep); color: #555; font: 11px/18px var(--hl-font); }
.hl-filter button:first-child { border-left: 0; }
.hl-filter button:hover { color: #000; text-decoration: underline; }
.hl-filter button.is-active { color: #000; font-weight: 700; }

html.dark .hl-box, html.dark .hl-filter { border-color: #2e363c; background: #1f2529; color: #e8edf0; }
html.dark .hl-member:nth-child(even) { background: #262e34; }
html.dark :is(.hl-member__name, .hl-member__info p) { color: #e8edf0; }
html.dark .hl-note__icon { border-color: #2e363c; background: #2a3238; }
html.dark .hl-filter button { color: #b6c1c8; }
html.dark .hl-filter button.is-active { color: #fff; }

@media (max-width: 789px) {
    /* uma coluna só, na ordem dos cargos */
    .hl-staff__grid { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
    .hl-staff__col { display: contents; }
}

/* ---------- home: colunas, cartão do jogador, notícias e listas ---------- */

body.hb--app .hb-home .hb-notice { margin-bottom: 8px; }
@media (min-width: 790px) {
    body.hb--app .hb-columns { grid-template-columns: 451px 1fr !important; gap: 9px !important; }
}
body.hb--app .hb-col { gap: 8px !important; }

/* cartão do jogador: quarto ao fundo, faixa escura com as moedas */
html:not(.dark) body.hb--app .hb-me {
    padding: 0;
    overflow: hidden;
    border-color: #3e3e3e;
    background: var(--hl-dark);
    color: #fff;
}
body.hb--app .hb-me__main {
    position: relative;
    min-height: 150px;
    padding: 10px 12px;
    background: url('/marca/habbo/me-bg.png') center / cover no-repeat;
    image-rendering: pixelated;
}
body.hb--app .hb-me__avatar { width: 110px; height: 130px; border: 0; background: none; box-shadow: none; }
body.hb--app .hb-me__stage { opacity: .9; }
body.hb--app .hb-me__body h1 {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .92);
    color: #000;
    font: 700 13px/1.2 var(--hl-font);
}
body.hb--app .hb-me__body p {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
}
body.hb--app .hb-me__play.hb-btn {
    margin-top: 10px;
    padding: 10px 20px;
    border: 3px solid #000;
    border-radius: 6px;
    background: linear-gradient(#55d623 50%, #36b10b 50%);
    color: #fff;
    font: 700 15px/1 var(--hl-font);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}
body.hb--app .hb-me__links { background: rgba(255, 255, 255, .9); border-radius: 4px; }
html:not(.dark) body.hb--app .hb-me__wallet {
    border-top: 1px solid #3e3e3e;
    background: var(--hl-dark-2);
    color: #fff;
}
html:not(.dark) body.hb--app .hb-me__wallet li { border-color: #3e3e3e; color: #fff; }

html:not(.dark) body.hb--app .hb-visit {
    background: #fff;
    color: #333;
    font-weight: 700;
    text-align: center;
}
html:not(.dark) body.hb--app .hb-find {
    border: 1px solid var(--hl-line);
    border-bottom-width: 3px;
    border-radius: 5px;
    background: #fff;
}
html:not(.dark) body.hb--app .hb-find h2 {
    margin: -14px -72px 12px -16px;
    padding: 8px;
    border-radius: 3px;
    background: var(--hl-bar);
    color: #fff;
    font: 700 13px/1 var(--hl-font);
    text-align: center;
}

/* notícias: destaque com imagem e lista em linhas alternadas */
body.hb--app .hb-newsbox__hero { border-radius: 3px; }
body.hb--app .hb-newsbox__hero h2 { font: 700 16px/1.25 var(--hl-font); }
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-newsrow:nth-of-type(even),
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-roomrow:nth-of-type(even),
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-rankrow:nth-of-type(even) { background: var(--hl-row); }
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-newsrow b { color: #222; }
:is(body.hb--app, body.hb--guest) .hb-more { padding: 0; }
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-more {
    margin: 6px 4px 2px;
    border: 1px solid #b9b9b9;
    border-radius: 3px;
    background: #d6d6d6;
    color: #666;
    font: 700 11px/26px var(--hl-font);
    text-align: center;
}
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-more:hover { background: #cbcbcb; color: #333; }

/* tabelas: linhas azuladas no lugar do verde */
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-table thead th { background: var(--hl-blue-b); color: #fff; }
html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-table tbody tr:nth-child(even) { background: var(--hl-row); }

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

html:not(.dark) :is(body.hb--app, body.hb--guest) .hb-foot { margin-top: 24px; background: transparent; border: 0; color: #555; }
:is(body.hb--app, body.hb--guest) .hb-foot__inner { display: block; padding: 14px 0 26px; text-align: center; }
:is(body.hb--app, body.hb--guest) .hb-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
:is(body.hb--app, body.hb--guest) .hb-foot nav > * { padding: 0 6px; border-left: 1px solid #999; color: #000; font-size: 10px; line-height: 12px; text-decoration: underline; }
:is(body.hb--app, body.hb--guest) .hb-foot nav > :first-child { border-left: 0; }
:is(body.hb--app, body.hb--guest) .hb-foot p { margin-top: 6px; color: #666; font-size: 10px; }
:is(body.hb--app, body.hb--guest) .hb-foot p b { color: #333; }

/* ---------- modo escuro: o cabeçalho clássico continua, o resto segue o tema escuro ---------- */

html.dark .hl-sky { filter: brightness(.72) saturate(.9); }
html.dark .hl-tools { background: #1f2529; }
html.dark .hl-tool__btn { color: #e8edf0; }
html.dark .hl-tool__btn:hover { background: #2e363c; }
html.dark .hl-tab.is-active, html.dark .hl-subnav { background: #1f2529; color: #e8edf0; border-color: #2e363c; }
html.dark .hl-subnav__links a { color: #b6c1c8; }
html.dark .hl-subnav__links a.is-active, html.dark .hl-online b { color: #fff; }
html.dark .hl-online { border-color: #2e363c; background: #1f2529; color: #b6c1c8; }
html.dark .hb-mod__title .hb-picker { border-color: #2e363c; background: #1f2529; color: #e8edf0; }

/* ---------- telas menores ---------- */

@media (max-width: 789px) {
    .hl-wrap,
    body.hb--app .hb-wrap,
    body.hb--guest .hb-wrap,
    body.hb--app .hb-container,
    body.hb--guest .hb-container { padding-inline: 8px !important; }
    .hl-sky { height: 140px; }
    .hl-sky__hotel { width: 300px; opacity: .65; }
    .hl-sky__city { display: none; }
    .hl-logo { left: 8px; top: 30px; }
    .hl-logo img { max-width: 190px; }
    .hl-tabs { left: 8px; right: 0; gap: 4px; }
    .hl-tab { padding: 0 12px; font-size: 11px; }
    .hl-tab.is-active { padding-inline: 14px; }
    .hl-subnav { padding: 0 4px; }
    :is(body.hb--app, body.hb--guest) :is(.hb-tbox__icon, .hb-mod__tile) { right: 0; }
    .hl-side { right: 8px; top: 36px; flex-direction: column; align-items: flex-end; gap: 4px; }
}
@media (max-width: 480px) {
    .hl-tool__name { display: none; }
    .hl-logo img { max-width: 150px; }
    .hl-subnav__links a { padding: 2px 10px; font-size: 11px; }
}

/* ==========================================================================
   Tom do Habbolito: rosa #FC5089 no lugar do azul (faixas, abas, linhas, botões e links).
   O céu do cabeçalho continua azul. Para voltar ao azul, basta apagar daqui até o fim.
   ========================================================================== */

:root {
    --hl-blue-a: #FC5089;      /* faixa dos títulos: topo */
    --hl-blue-b: #E93D76;      /* faixa dos títulos: resto */
    --hl-tab-a: #EE4A80;       /* abas */
    --hl-tab-b: #FF7AA6;
    --hl-tab-c: #C92E62;
    --hl-row: #FFEDF3;         /* linhas alternadas */
    --hl-pink: #FC5089;
    --hl-pink-dark: #D6336B;
    --hl-pink-light: #FF7DA8;
}
body.hb--app, body.hb--guest {
    --hb-sky: #FF8DB2;
    --hb-sky-2: #FC5089;
    --hb-blue: #E93D76;
}

.hl-tool__btn:hover { background: #fff0f5; }
html:not(.dark) body.hb--app .hb-mission { background: #B83262; }
.hl-prose a { color: var(--hl-pink-dark); }

/* botões e detalhes azuis que vêm prontos do Tailwind nas páginas internas */
:is(body.hb--app, body.hb--guest) :is([class~="bg-blue-500"], [class~="dark:bg-blue-500"], [class~="dark:bg-blue-600"]):not(:disabled) {
    background-color: var(--hl-pink) !important;
}
:is(body.hb--app, body.hb--guest) :is([class~="hover:bg-blue-400"], [class~="dark:hover:bg-blue-400"], [class~="dark:hover:bg-blue-500"]):not(:disabled):hover {
    background-color: var(--hl-pink-light) !important;
}
:is(body.hb--app, body.hb--guest) [class~="border-blue-700"]:not(:disabled) { border-color: #B32858 !important; }
:is(body.hb--app, body.hb--guest) :is([class~="border-blue-400"], [class~="!border-blue-400"], [class~="border-blue-300"]) { border-color: var(--hl-pink) !important; }
:is(body.hb--app, body.hb--guest) :is([class~="text-blue-400"], [class~="!text-blue-400"]) { color: var(--hl-pink-dark) !important; }
:is(body.hb--app, body.hb--guest) :is([class~="hover:text-blue-500"], [class~="hover:!text-blue-400"]):hover { color: var(--hl-pink-dark) !important; }
:is(body.hb--app, body.hb--guest) :is([class~="focus:border-blue-500"], [class~="dark:focus:border-blue-500"]):focus { border-color: var(--hl-pink) !important; }
:is(body.hb--app, body.hb--guest) .peer:checked ~ [class~="peer-checked:bg-blue-400"] { background-color: var(--hl-pink) !important; }
:is(body.hb--app, body.hb--guest) :is([class~="shadow-blue-600/75"], [class~="dark:shadow-blue-700/75"], [class~="shadow-blue-500"]) { --tw-shadow-color: rgb(201 46 98 / .55) !important; }
:is(body.hb--app, body.hb--guest) .hb-main :is(input[type="radio"], input[type="checkbox"]) { color: var(--hl-pink); accent-color: var(--hl-pink); }

/* ---------- ícones e bonecos sem distorção: pixel art só no tamanho natural ---------- */

/* cabeça do jogador (o imager devolve 45x65, cabeça entre x 17-29 e y 20-35) */
.hl-tool__face img { width: 45px; height: 65px; margin: -16px 0 0 -12px; }
.hl-tab__face { flex: none; width: 20px; height: 20px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.hl-tab__face img { display: block; width: 45px; height: 65px; max-width: none; margin: -17px 0 0 -13px; image-rendering: pixelated; }
.hl-online img { width: 22px; height: 22px; }

/* ícones das caixas: centralizados no tamanho real, sem esticar para 42x42 */
:is(body.hb--app, body.hb--guest) :is(.hb-mod__tile, .hb-tbox__icon) { display: grid; place-items: center; }
:is(body.hb--app, body.hb--guest) :is(.hb-mod__tile, .hb-tbox__icon) img { width: auto; height: auto; max-width: none; max-height: none; object-fit: none; }
:is(body.hb--app, body.hb--guest) .hb-mod__title h3 button img { width: 21px; height: 21px; }

/* emblemas: 40x40 inteiros (antes eram cortados em 28x28 ou esticados) */
.hl-member__badges img { object-fit: none; }
.hb-badges { grid-template-columns: repeat(auto-fill, 40px); justify-content: center; padding: 8px 4px; }
.hb-badges span { width: 40px; height: 40px; }

/* fundo do cartão do jogador no tamanho real, sem reduzir a pixel art */
body.hb--app .hb-me__main { background-size: auto; }

/* cabeças no tamanho real: imager size=m, cabeça entre x 33-58 e y 40-70 (cabelo e chapu sobem at y 32) */
.hl-tools .hl-tool__btn { height: 34px; }
.hl-tool__face { width: 32px; height: 34px; border-radius: 4px; }
.hl-tool__face img { width: 90px; height: 130px; margin: -36px 0 0 -29px; }
.hl-tabs { padding-top: 12px; }
.hl-tab__face { position: relative; top: -6px; width: 32px; height: 34px; border-radius: 0; background: none; }
.hl-tab__face img { width: 90px; height: 130px; margin: -36px 0 0 -29px; }
.hl-side { top: 50px; }
@media (max-width: 789px) { .hl-side { top: 46px; } }
