/* Navegação compacta compartilhada. Paleta violeta/magenta aprovada. */
@keyframes furmap-nav-failsafe-reveal {
  to { visibility: visible; }
}

html:not(.furmap-nav-ready) body.home-redesign > .home-topbar,
html:not(.furmap-nav-ready) body.home-redesign > .home-sidebar-shell {
  visibility: hidden;
  animation: furmap-nav-failsafe-reveal 0s linear 2s forwards;
}

html,
body {
  scrollbar-color: #8646e8 #0b0917;
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #0b0917;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 2px solid #0b0917;
  border-radius: 999px;
  background: linear-gradient(180deg, #a64cff, #7438d8);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #bd61ff, #8b45ec);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: #0b0917;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.home-redesign .nav-side-menu [data-nav-key]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Items created only on small screens must use the same icon system as desktop. */
.home-redesign [data-nav-key="furry"]::before {
  background-image: url("/img/home/paw.svg?v=20260916-official1");
}

.home-redesign [data-nav-key="notifications"]::before {
  background-image: url("/img/home/nav-notifications.svg");
}

.home-redesign [data-nav-key="deletedata"]::before,
.home-redesign [data-nav-key="sair"]::before {
  background-image: url("/img/home/nav-logout.svg?v=20260916-official1");
}

@media (min-width: 1025px) {
  .home-redesign {
    --furmap-sidebar-open: 246px;
    --furmap-sidebar-closed: 72px;
    --nav-bg: #080914;
    --nav-surface: #0d0d1a;
    --nav-surface-hover: #171429;
    --nav-line: #34265f;
    --nav-purple: #773cff;
    --nav-magenta: #f13db7;
    --nav-text: #f5f2ff;
    --nav-muted: #a9a3bb;
  }

  .home-redesign .home-topbar {
    height: 64px;
    min-height: 64px;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(124, 67, 255, 0.32);
    background: linear-gradient(90deg, #080914, #0a0917 70%, #10091a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  }

  .home-redesign .home-brand {
    width: 232px;
    flex: 0 0 232px;
    font-size: 25px;
    transition: width 0.23s ease, flex-basis 0.23s ease, font-size 0.23s ease;
  }

  .home-redesign .home-brand img {
    width: 29px;
    height: 29px;
    margin-left: 6px;
    transition: width 0.23s ease, height 0.23s ease, margin 0.23s ease;
  }

  .home-redesign .home-topbar .nav {
    gap: 7px;
  }

  .home-redesign .home-topbar .nav .btn,
  .home-redesign .home-topbar .nav button {
    height: 38px;
    min-height: 38px;
    padding: 7px 12px;
    gap: 7px;
    border: 1px solid #312b4b;
    border-radius: 7px;
    background: #10101e;
    box-shadow: none;
    font-size: 0.76rem;
  }

  .home-redesign .home-topbar .nav .btn:hover,
  .home-redesign .home-topbar .nav button:hover,
  .home-redesign .home-topbar .nav .btn:focus-visible,
  .home-redesign .home-topbar .nav button:focus-visible {
    border-color: rgba(137, 79, 255, 0.86);
    background: #1a1630;
  }

  .home-redesign .home-topbar .nav .btn.active:not(.furtube-cta),
  .home-redesign .home-topbar .nav button.active {
    border-color: #8a4cff !important;
    background: linear-gradient(100deg, #6938ee, #8a3ff3) !important;
    box-shadow: 0 8px 20px rgba(104, 43, 232, 0.26) !important;
  }

  .home-redesign .home-topbar .nav .furtube-cta {
    border-color: rgba(242, 66, 184, 0.84);
    background: linear-gradient(100deg, #9c3ee5, #df3da8);
    color: #fff;
  }

  .home-redesign .home-topbar .nav .notify-bell,
  .home-redesign .home-topbar .nav .friends-center-button {
    width: 38px;
    min-width: 38px;
    padding: 0;
  }

  .home-redesign [data-nav-key="furry"]::before {
    background-image: url("/img/home/paw.svg");
  }

  .home-redesign [data-nav-key="moderation"]::before {
    background-image: url("/img/home/nav-admin.svg");
  }

  .home-redesign [data-nav-key="mapa"]::before { background-image: url("/img/home/nav-home.svg"); }
  .home-redesign [data-nav-key="updates"]::before { background-image: url("/img/home/nav-updates.svg"); }
  .home-redesign [data-nav-key="grupos"]::before { background-image: url("/img/home/nav-groups.svg"); }
  .home-redesign [data-nav-key="games"]::before { background-image: url("/img/home/nav-games.svg"); }
  .home-redesign [data-nav-key="chat"]::before { background-image: url("/img/home/nav-sync.svg"); }
  .home-redesign [data-nav-key="donation"]::before { background-image: url("/img/home/nav-heart.svg"); }
  .home-redesign [data-nav-key="perfil"]::before { background-image: url("/img/home/nav-profile.svg"); }
  .home-redesign [data-nav-key="adicionarLugar"]::before { background-image: url("/img/home/nav-location.svg"); }
  .home-redesign [data-nav-key="deletedata"]::before,
  .home-redesign [data-nav-key="sair"]::before { background-image: url("/img/home/nav-logout.svg"); }
  .home-redesign [data-nav-key="about"]::before { background-image: url("/img/home/nav-about.svg"); }
  .home-redesign [data-nav-key="team"]::before { background-image: url("/img/home/nav-team.svg"); }
  .home-redesign [data-nav-key="press"]::before { background-image: url("/img/home/nav-press.svg"); }
  .home-redesign [data-nav-key="support"]::before { background-image: url("/img/home/nav-support.svg"); }
  .home-redesign [data-nav-key="rules"]::before { background-image: url("/img/home/nav-rules.svg"); }
  .home-redesign [data-nav-key="admin"]::before { background-image: url("/img/home/nav-admin.svg"); }

  .home-redesign .home-sidebar-shell {
    top: 64px;
    left: 0;
    bottom: 0;
    width: var(--furmap-sidebar-open);
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0 14px 18px;
    border: 0;
    border-right: 1px solid var(--nav-line);
    border-radius: 0;
    background: linear-gradient(180deg, #0b0b18, #070813 64%, #0d0918);
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 70, 255, 0.82) #0c0b18;
    overflow-x: hidden;
    transition: width 0.23s ease, padding 0.23s ease;
  }

  .home-redesign .home-sidebar-shell::-webkit-scrollbar {
    width: 4px;
  }

  .home-redesign .home-sidebar-shell::-webkit-scrollbar-track {
    background: #0c0b18;
  }

  .home-redesign .home-sidebar-shell::-webkit-scrollbar-thumb {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(#a247ff, #733cff);
  }

  .home-redesign .nav-side-desktop-header {
    order: -10;
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 4px 16px;
    border-bottom: 1px solid rgba(137, 69, 255, 0.58);
  }

  .home-redesign .nav-side-user {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 11px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.16s ease;
  }

  .home-redesign .nav-side-user:hover,
  .home-redesign .nav-side-user:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    outline: 0;
  }

  .home-redesign .nav-side-user__avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 2px solid rgba(136, 79, 255, 0.72);
    border-radius: 50%;
    background: #241c37;
    box-shadow: 0 7px 18px rgba(71, 28, 167, 0.26);
    object-fit: cover;
  }

  .home-redesign .nav-side-user__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .home-redesign .nav-side-user__name,
  .home-redesign .nav-side-user__detail {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-redesign .nav-side-user__name {
    color: #fff;
    font-size: 0.94rem;
    font-weight: 760;
  }

  .home-redesign .nav-side-user__detail {
    color: #d988ff;
    font-size: 0.68rem;
    font-weight: 700;
  }

  .home-redesign .home-sidebar-shell .nav-side-collapse-toggle {
    display: grid !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 28px;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #a9a5af;
    font: 700 1.45rem/1 system-ui, sans-serif;
    cursor: pointer;
    transition: color 0.16s ease, background 0.16s ease !important;
  }

  .home-redesign .home-sidebar-shell .nav-side-collapse-toggle:hover,
  .home-redesign .home-sidebar-shell .nav-side-collapse-toggle:focus-visible {
    background: rgba(115, 62, 244, 0.16) !important;
    color: #fff;
    outline: 0;
  }

  .home-redesign .nav-side-collapse-toggle__closed {
    display: none;
  }

  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Comunidade"] { order: 1; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Minha Conta"] { order: 2; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Suporte"] { order: 3; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Aplicativo"] { order: 4; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Sobre"] { order: 5; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Administracao"],
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Administração"] { order: 6; }

  .home-redesign .home-sidebar-shell .nav-side-section {
    margin: 0;
    padding: 0;
  }

  .home-redesign .home-sidebar-shell .nav-side-heading {
    display: block;
    margin: 16px 9px 7px;
    color: #aaa4bd;
    font: 700 0.64rem/1.2 system-ui, sans-serif;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .home-redesign .home-sidebar-shell .nav-side-links {
    display: grid;
    gap: 4px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key] {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    margin: 0;
    padding: 10px 13px;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--nav-text) !important;
    font-size: 0.84rem;
    font-weight: 580;
    line-height: 1.18;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease !important;
  }

  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key]:hover,
  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key]:focus-visible {
    background: #171429 !important;
    color: #fff !important;
    transform: translateX(2px);
    outline: 0;
  }

  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key].active {
    background: linear-gradient(100deg, #6636e8, #8d3fe9) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(86, 36, 204, 0.25) !important;
  }

  .home-redesign .home-sidebar-shell [data-nav-key]::before {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    filter: brightness(1.35) saturate(0.75);
  }

  .home-redesign .home-sidebar-shell .furmap-app-download-section {
    padding-bottom: 5px;
  }

  .home-redesign .home-sidebar-shell .furmap-app-download-link {
    border: 1px solid #29282d;
    border-radius: 8px;
    background: #19191b;
  }

  .home-redesign .home-sidebar-shell .home-network-card {
    order: 7;
    margin-top: auto;
    padding: 15px 8px 2px;
    border: 0;
    border-top: 1px solid #2d2a34;
    border-radius: 0;
    background: transparent;
    text-align: center;
  }

  .home-redesign .home-sidebar-shell .home-network-card strong {
    font-size: 0.82rem;
  }

  .home-redesign .home-sidebar-shell .home-network-card strong span {
    color: #9a67ff;
  }

  .home-redesign .home-sidebar-shell .home-network-card p {
    margin: 6px 0;
    color: #e4e1e8;
    font-size: 0.65rem;
  }

  .home-redesign .home-sidebar-shell .home-network-card small {
    display: block;
    color: #98949f;
    font-size: 0.63rem;
    line-height: 1.35;
  }

  .home-redesign .home-sidebar-shell .home-network-card .home-social-links {
    gap: 7px;
    margin-top: 9px;
  }

  .home-redesign .home-sidebar-shell .home-network-card .home-social-links a {
    width: 30px;
    height: 30px;
    border-color: #302d39;
    border-radius: 7px;
    background: #19191b;
  }

  .home-redesign .home-sidebar-shell .home-network-card .home-social-links img {
    width: 17px;
    height: 17px;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell {
    width: var(--furmap-sidebar-closed) !important;
    padding: 0 10px 14px !important;
  }

  .home-redesign.sidebar-collapsed .home-brand {
    width: 58px;
    flex-basis: 58px;
    justify-content: center;
    font-size: 0;
  }

  .home-redesign.sidebar-collapsed .home-brand span {
    display: none;
  }

  .home-redesign.sidebar-collapsed .home-brand img {
    width: 31px;
    height: 31px;
    margin: 0;
  }

  .home-redesign.sidebar-collapsed .nav-side-desktop-header {
    min-height: 122px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 16px 0 12px;
  }

  .home-redesign.sidebar-collapsed .nav-side-user {
    width: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    justify-content: center;
  }

  .home-redesign.sidebar-collapsed .nav-side-user__copy,
  .home-redesign.sidebar-collapsed .nav-side-collapse-toggle__open,
  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-heading,
  .home-redesign.sidebar-collapsed .home-sidebar-shell .home-network-card {
    display: none !important;
  }

  .home-redesign.sidebar-collapsed .nav-side-collapse-toggle__closed {
    display: inline;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-section {
    position: relative;
    padding: 7px 0;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-section + .nav-side-section {
    border-top: 2px solid rgba(111, 56, 242, 0.32);
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-links {
    justify-items: center;
    gap: 4px;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-links > [data-nav-key] {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-links > [data-nav-key]:hover,
  .home-redesign.sidebar-collapsed .home-sidebar-shell .nav-side-links > [data-nav-key]:focus-visible {
    background: #242327 !important;
    transform: none;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .furmap-app-download-section {
    display: block !important;
    padding: 9px 0;
    border-top: 2px solid rgba(111, 56, 242, 0.32);
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .furmap-app-download-links {
    display: grid;
    justify-items: center;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .furmap-app-download-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 6px !important;
    overflow: hidden;
    border: 1px solid #34265f !important;
    border-radius: 11px !important;
    background: #0d0d1a url("/img/home/google-play-icon-sidebar.svg?v=20260916-play-icon1") center / 30px 30px no-repeat !important;
  }

  .home-redesign.sidebar-collapsed .home-sidebar-shell .furmap-app-download-link img {
    display: none !important;
  }

  .home-redesign.sidebar-collapsed.has-nav-side .container,
  .home-redesign.sidebar-collapsed.has-nav-side .home-main,
  .home-redesign.sidebar-collapsed.has-nav-side .dashboard-main,
  .home-redesign.sidebar-collapsed.has-nav-side .profile-main,
  .home-redesign.sidebar-collapsed.has-nav-side .deletedata-main {
    width: auto !important;
    margin-left: 92px !important;
    margin-right: 18px !important;
    transition: margin-left 0.23s ease, width 0.23s ease;
  }

  .home-redesign.sidebar-collapsed.has-nav-side > .site-footer {
    margin-left: 92px;
    margin-right: 18px;
  }

  .home-redesign.has-nav-side:not(.sidebar-collapsed) .container,
  .home-redesign.has-nav-side:not(.sidebar-collapsed) .home-main,
  .home-redesign.has-nav-side:not(.sidebar-collapsed) .dashboard-main,
  .home-redesign.has-nav-side:not(.sidebar-collapsed) .profile-main,
  .home-redesign.has-nav-side:not(.sidebar-collapsed) .deletedata-main {
    width: auto !important;
    margin-left: 266px !important;
    margin-right: 18px !important;
    transition: margin-left 0.23s ease, width 0.23s ease;
  }

  .home-redesign.has-nav-side:not(.sidebar-collapsed) > .site-footer {
    margin-left: 266px;
    margin-right: 18px;
  }
}

.home-redesign.has-nav-side > .site-footer .footer-buttons {
  width: min(100%, 660px);
  margin: 15px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .home-redesign .home-topbar {
    height: 64px;
    min-height: 64px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(124, 67, 255, 0.32);
    background: linear-gradient(90deg, #080914, #0a0917 70%, #10091a);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  }

  .home-redesign .home-brand {
    font-size: 24px;
  }

  .home-redesign .home-brand img {
    width: 27px;
    height: 27px;
    margin-left: 5px;
  }

  .home-redesign .nav-mobile-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border: 1px solid #312b4b;
    border-radius: 7px;
    background: url("/img/home/menu.svg") center / 20px no-repeat #10101e;
    box-shadow: none;
  }

  .home-redesign .home-topbar .nav {
    gap: 6px;
  }

  .home-redesign .home-topbar .nav .btn,
  .home-redesign .home-topbar .nav button {
    height: 38px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid #312b4b;
    border-radius: 7px;
    background: #10101e;
    box-shadow: none;
    font-size: 0.73rem;
  }

  .home-redesign .home-topbar .nav .furtube-cta {
    border-color: rgba(226, 67, 182, 0.72);
    background: #b63cbb;
  }

  .home-redesign .home-sidebar-shell,
  .home-redesign .home-sidebar-shell.open {
    top: 64px;
    width: min(292px, 88vw);
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    padding: 0 12px 24px;
    border-right: 1px solid #34265f;
    background: linear-gradient(180deg, #0b0b18, #070813 64%, #0d0918);
    box-shadow: 20px 0 42px rgba(0, 0, 0, 0.42);
  }

  .home-redesign .nav-side-desktop-header {
    order: -20;
    display: flex !important;
    align-items: center;
    min-height: 78px;
    padding: 13px 3px;
    border-bottom: 1px solid #34265f;
  }

  .home-redesign .nav-side-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
  }

  .home-redesign .nav-side-user__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #7040ef;
    border-radius: 50%;
    background: #222025;
    object-fit: cover;
  }

  .home-redesign .nav-side-user__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .home-redesign .nav-side-user__name,
  .home-redesign .nav-side-user__detail {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-redesign .nav-side-user__name {
    font-size: 0.88rem;
    font-weight: 750;
  }

  .home-redesign .nav-side-user__detail {
    color: #96919c;
    font-size: 0.67rem;
  }

  .home-redesign .nav-side-collapse-toggle {
    display: none !important;
  }

  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Comunidade"] { order: 1; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Minha Conta"] { order: 2; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Suporte"] { order: 3; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Aplicativo"] { order: 4; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Sobre"] { order: 5; }
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Administracao"],
  .home-redesign .home-sidebar-shell .nav-side-section[data-nav-section="Administração"] { order: 6; }

  .home-redesign .home-sidebar-shell .nav-side-section {
    margin: 0;
    padding-top: 12px;
  }

  .home-redesign .home-sidebar-shell .nav-side-heading {
    margin: 0 8px 6px;
    color: #8f8a95;
    font: 700 0.62rem/1.2 system-ui, sans-serif;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .home-redesign .home-sidebar-shell .nav-side-links {
    display: grid;
    gap: 3px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key] {
    min-height: 42px;
    padding: 9px 11px;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .home-redesign .home-sidebar-shell .nav-side-links > [data-nav-key].active {
    background: linear-gradient(100deg, #6636e8, #8d3fe9) !important;
    box-shadow: 0 10px 22px rgba(86, 36, 204, 0.25) !important;
  }

  .home-redesign .home-sidebar-shell .home-network-card {
    order: 7;
    margin-top: 16px;
    padding: 15px 4px 0;
    border: 0;
    border-top: 1px solid #34265f;
    border-radius: 0;
    background: transparent;
    text-align: center;
  }
}

.home-redesign .home-bottom-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid #3d3158;
  border-radius: 10px;
  background: linear-gradient(120deg, #0e0e1b, #100d1e 58%, #120b1d);
  box-shadow: 0 16px 38px rgba(3, 2, 12, 0.2), inset 0 1px rgba(255, 255, 255, 0.025);
}

.home-redesign .home-help-card,
.home-redesign .home-about-card {
  padding: 20px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-redesign .home-help-card {
  container-name: home-help;
  container-type: inline-size;
  border-right: 1px solid #3a2d52;
  background: linear-gradient(115deg, rgba(113, 52, 231, 0.05), transparent 48%);
}

.home-redesign .home-about-card {
  background: linear-gradient(125deg, rgba(241, 61, 183, 0.035), transparent 56%);
}

.home-redesign .home-card-title {
  gap: 10px;
}

.home-redesign .home-card-title > img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 5px 12px rgba(239, 61, 183, 0.18));
}

.home-redesign .home-card-title strong,
.home-redesign .home-card-title h2 {
  color: #f8f5ff;
  font-size: 17px;
}

.home-redesign .home-card-title p,
.home-redesign .home-about-card p {
  color: #c8c2d5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-redesign .home-card-title a {
  color: #d06dff;
}

.home-redesign .footer-buttons {
  gap: 8px;
  margin-top: 15px;
}

.home-redesign .home-footer-link {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #3d3455;
  border-radius: 8px;
  background: #111120;
  box-shadow: none;
  font-size: 11px;
}

.home-redesign .home-footer-link > span {
  min-width: 0;
  line-height: 1.15;
}

.home-redesign .home-footer-link:hover,
.home-redesign .home-footer-link:focus-visible {
  border-color: #8c4ce9;
  background: #1a1530;
}

.home-redesign .home-footer-link img {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .home-redesign .home-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-redesign .home-help-card {
    border-right: 0;
    border-bottom: 1px solid #3a2d52;
  }

  .home-redesign .home-mobile-network {
    border: 0;
    border-top: 1px solid #3a2d52;
    border-radius: 0;
    background: transparent;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .home-redesign .home-about-card {
    padding-bottom: 72px;
  }
}

@media (max-width: 720px) {
  .home-redesign .home-topbar {
    grid-template-columns: 38px auto minmax(0, 1fr);
    gap: 6px;
  }

  .home-redesign .nav-mobile-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .home-redesign .home-brand {
    font-size: 21px;
  }

  .home-redesign .home-brand img {
    width: 24px;
    height: 24px;
  }

  body.home-redesign .home-topbar .nav [data-nav-key="mapa"],
  body.home-redesign .home-topbar .nav [data-nav-key="furtube"],
  body.home-redesign .home-topbar .nav [data-nav-key="sair"],
  body.home-redesign .home-topbar .nav a[href="/index.html"],
  body.home-redesign .home-topbar .nav a[href="/furtube"],
  body.home-redesign .home-topbar .nav #publicLogoutBtn {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-color: #302d36 !important;
    background: #18181a !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  body.home-redesign .home-topbar .nav a[href="/index.html"]::before,
  body.home-redesign .home-topbar .nav a[href="/furtube"]::before,
  body.home-redesign .home-topbar .nav #publicLogoutBtn::before {
    content: "" !important;
    display: block !important;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: none;
  }

  body.home-redesign .home-topbar .nav a[href="/index.html"]::before {
    background-image: url("/img/home/nav-home.svg") !important;
  }

  body.home-redesign .home-topbar .nav a[href="/furtube"]::before {
    background-image: url("/img/home/furtube.svg?v=20260916-official1") !important;
  }

  body.home-redesign .home-topbar .nav #publicLogoutBtn::before {
    background-image: url("/img/home/nav-logout.svg?v=20260916-official1") !important;
  }

  .home-redesign .home-map-layout,
  .home-redesign .home-bottom-grid {
    margin-left: 0;
    margin-right: 0;
  }

  .home-redesign .footer-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-redesign .home-footer-link:last-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .home-redesign .home-topbar {
    grid-template-columns: 38px 34px minmax(0, 1fr);
    padding: 7px 8px;
  }

  .home-redesign .home-brand {
    width: 34px;
    min-width: 34px;
    justify-content: center;
    font-size: 0 !important;
  }

  .home-redesign .home-brand span {
    display: none;
  }

  .home-redesign .home-brand img {
    display: block !important;
    width: 25px;
    height: 25px;
    margin: 0;
  }

  .home-redesign .home-help-card,
  .home-redesign .home-about-card {
    padding: 15px;
  }

  .home-redesign .footer-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

/* The footer lives beside the About card on many scaled/low-resolution screens.
   React to the card's real width instead of relying only on the viewport width. */
@container home-help (max-width: 520px) {
  .home-redesign .footer-buttons {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    gap: 6px;
  }

  .home-redesign .home-footer-link {
    min-height: 46px;
    padding: 7px 4px;
  }

  .home-redesign .home-footer-link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .home-redesign .home-footer-link img {
    width: 22px;
    height: 22px;
  }
}

@container home-help (max-width: 340px) {
  .home-redesign .footer-buttons {
    grid-template-columns: repeat(3, minmax(42px, 1fr));
  }
}

/* Keep the Google Play badge and network shortcuts on the sidebar palette. */
.home-redesign .home-sidebar-shell .furmap-app-download-links {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #34265f !important;
  border-radius: 9px !important;
  background: #0d0d1a !important;
}

.home-redesign .home-sidebar-shell .furmap-app-download-link {
  display: block;
  padding: 7px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
}

.home-redesign .home-sidebar-shell .furmap-app-download-link:hover,
.home-redesign .home-sidebar-shell .furmap-app-download-link:focus-visible {
  background: #171429 !important;
}

.home-redesign .home-sidebar-shell .home-social-links a {
  border-color: #34265f !important;
  background: #0d0d1a !important;
}
