
.n40-intro { margin: 0 0 16px; font-size: 14px; color: #6e6e73; }
.n40-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.n40-tema { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; border: 0; border-radius: 18px; background: #fff; color: #1d1d1f; text-align: left; font: inherit; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow 180ms ease, transform 160ms cubic-bezier(.22, 1, .36, 1); }
.n40-tema:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .08); }
.n40-tema:active { transform: scale(.98); }
.n40-tema.on { box-shadow: 0 0 0 2px #007aff, 0 8px 24px rgba(0, 122, 255, .14); }
.n40-tema:focus-visible { outline: 2px solid #007aff; outline-offset: 3px; }
.n40-txt { display: grid; gap: 3px; padding: 0 4px; }
.n40-txt b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.n40-txt small { font-size: 12.5px; line-height: 1.35; color: #6e6e73; }
.n40-ok { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #007aff; color: #fff; font-size: 14px; opacity: 0; transform: scale(.6); transition: opacity 160ms ease, transform 180ms cubic-bezier(.22, 1, .36, 1); }
.n40-tema.on .n40-ok { opacity: 1; transform: none; }
.n40-prev { position: relative; display: block; height: 112px; border-radius: 12px; overflow: hidden; background: var(--a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.n40-p-top { position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--b); opacity: .92; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.n40-p-lado { position: absolute; left: 10px; top: 28px; width: 34px; bottom: 10px; border-radius: 8px; background: var(--b); opacity: .8; }
.n40-p-card { position: absolute; left: 54px; right: 10px; top: 28px; bottom: 10px; border-radius: 10px; background: var(--b); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.n40-p-card i { position: absolute; left: 10px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .14); }
.n40-p-card i:nth-child(1) { top: 12px; width: 60%; } .n40-p-card i:nth-child(2) { top: 24px; width: 40%; }
.n40-p-card em { position: absolute; left: 10px; bottom: 10px; width: 44px; height: 16px; border-radius: 8px; background: var(--c); }
.n40-prev-pb { filter: grayscale(1); }
.n40-prev-zueiro .n40-p-lado { background: #00b86b; opacity: 1; } .n40-prev-zueiro .n40-p-card { background: #dcecff; }
.n40-prev-zueiro .n40-p-top { background: linear-gradient(90deg, #ffc400 0 20%, #ff8a00 20% 40%, #00b86b 40% 60%, #0a84ff 60% 80%, #ff4fa3 80%); }
.n40-prev-anos60 .n40-p-top { background: linear-gradient(180deg, #e07a2e 0 33%, #e0a526 33% 66%, #2a9d8f 66%); }
.n40-prev-nevoa { background: radial-gradient(120% 80% at 50% 0%, #4a4843, #1a1a18); }
.n40-prev-nevoa .n40-p-card i { background: rgba(255, 255, 255, .18); }
.n40-prev-nevoa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(200, 198, 190, .0), rgba(200, 198, 190, .28)); }
html.nd-escuro .n40-tema { background: #1c1c1e; color: #f5f5f7; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
html.nd-escuro .n40-tema.on { box-shadow: 0 0 0 2px #0a84ff; }
html.nd-escuro .n40-intro, html.nd-escuro .n40-txt small { color: #a1a1a6; }
html.nd-est-amarelo { --nd-bg: #fff6cc; --nd-bg2: #fff1b8; --nd-bg3: #ffe9a0; --nd-azul: #ffcc00; --nd-azul2: #e6b800; --nd-azul-claro: #fff1b8; }
html.nd-est-amarelo header.navbar::before { background: rgba(255, 246, 204, .82); }
html.nd-est-amarelo .n40-tema.on, html.nd-est-amarelo .n40-ok { --x: 0; }
html.nd-est-amarelo .n40-tema.on { box-shadow: 0 0 0 2px #ffcc00, 0 8px 24px rgba(255, 204, 0, .25); }
html.nd-est-amarelo .n40-ok { background: #ffcc00; color: #1d1d1f; }
html.nd-est-amarelo ::selection { background: #ffe066; }
html.nd-est-anos60 { --nd-bg: #f3e6cc; --nd-bg2: #ecdcbc; --nd-bg3: #e3cfa6; --nd-azul: #e07a2e; --nd-azul2: #c9661c; --nd-azul-claro: #f6dfc6; --nd-txt: #3b2a1a; }
html.nd-est-anos60 body { color: #3b2a1a; }
html.nd-est-anos60 header.navbar::before { background: rgba(243, 230, 204, .86); border-bottom: 0; box-shadow: 0 3px 0 #e07a2e, 0 6px 0 #e0a526, 0 9px 0 #2a9d8f; }
html.nd-est-anos60 h1, html.nd-est-anos60 h2, html.nd-est-anos60 .cfg-conteudo h1 { font-family: "Cooper Black", "Cooper Std", Georgia, "Times New Roman", serif !important; letter-spacing: 0 !important; }
html.nd-est-anos60 .n40-tema.on { box-shadow: 0 0 0 2px #e07a2e, 0 8px 24px rgba(224, 122, 46, .2); }
html.nd-est-anos60 .n40-ok { background: #e07a2e; }
html.nd-est-anos60 ::selection { background: #f2c48f; }
html.nd-est-pb { filter: grayscale(1); }
html.nd-est-pb .n40-tema.on { box-shadow: 0 0 0 2px #1d1d1f; } html.nd-est-pb .n40-ok { background: #1d1d1f; }
html.nd-est-zueiro { --nd-bg: #fff4d6; --nd-bg2: #ffe9b3; --nd-azul: #ff8a00; --nd-azul2: #e67a00; --nd-azul-claro: #ffe9b3; }
html.nd-est-zueiro header.navbar::before { background: rgba(255, 244, 214, .86); border-bottom: 0;
  box-shadow: 0 4px 0 -1px transparent; border-image: linear-gradient(90deg, #ffc400 0 16.6%, #ff8a00 16.6% 33.3%, #00b86b 33.3% 50%, #0a84ff 50% 66.6%, #ff4fa3 66.6% 83.3%, #00b8d4 83.3%) 1; border-bottom: 4px solid; }
html.nd-est-zueiro h1, html.nd-est-zueiro h2, html.nd-est-zueiro .cfg-conteudo h1 { font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", "Marker Felt", var(--nd-fonte) !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n+1) i, html.nd-est-zueiro .cfg-item:nth-child(6n+1) i { color: #ff8a00 !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n+2) i, html.nd-est-zueiro .cfg-item:nth-child(6n+2) i { color: #00b86b !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n+3) i, html.nd-est-zueiro .cfg-item:nth-child(6n+3) i { color: #0a84ff !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n+4) i, html.nd-est-zueiro .cfg-item:nth-child(6n+4) i { color: #ff4fa3 !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n+5) i, html.nd-est-zueiro .cfg-item:nth-child(6n+5) i { color: #e0a500 !important; }
html.nd-est-zueiro #cmHomeSide a:nth-child(6n) i, html.nd-est-zueiro .cfg-item:nth-child(6n) i { color: #00b8d4 !important; }
html.nd-est-zueiro .n40-tema.on { box-shadow: 0 0 0 2px #ff8a00, 0 8px 24px rgba(255, 138, 0, .25); }
html.nd-est-zueiro .n40-ok { background: #ff4fa3; }
html.nd-est-zueiro ::selection { background: #b8f0d6; }
html.nd-est-nevoa { filter: sepia(.38) saturate(.7) contrast(1.06) brightness(.92); --nd-azul: #a8794f; --nd-azul2: #c08f62; }
html.nd-est-nevoa body { background: #0e0e0d !important; }
html.nd-est-nevoa header.navbar::before { background: rgba(20, 20, 18, .78); border-bottom-color: rgba(200, 190, 170, .08); }
html.nd-est-nevoa h1, html.nd-est-nevoa h2 { letter-spacing: .02em !important; }
#ndNevoa { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden; }
#ndNevoa i { position: absolute; inset: -30%; background:
    radial-gradient(40% 30% at 20% 30%, rgba(190, 186, 176, .16), transparent 70%),
    radial-gradient(35% 25% at 70% 60%, rgba(190, 186, 176, .13), transparent 70%),
    radial-gradient(45% 30% at 40% 85%, rgba(190, 186, 176, .14), transparent 70%);
  animation: n40Neblina 60s ease-in-out infinite alternate; }
#ndNevoa i + i { animation-duration: 90s; animation-direction: alternate-reverse; opacity: .8; transform: scale(1.2); }
#ndNevoa b { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%); }
@keyframes n40Neblina { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -2%, 0); } }
html.nd-est-nevoa .n40-tema.on { box-shadow: 0 0 0 2px #a8794f; } html.nd-est-nevoa .n40-ok { background: #a8794f; }
@media (prefers-reduced-motion: reduce) { #ndNevoa i { animation: none; } .n40-tema, .n40-ok { transition: none; } }
#homeDir { min-height: calc(100vh - 56px); box-sizing: border-box; padding-bottom: 18px; }
#homeDir > .naonde-brasil { margin-top: auto !important; }
.n32s-cards { display: block; }
.n32s-cards > .n23r-post { border-bottom: 1px solid rgba(0, 0, 0, .08); }
html.nd-escuro .n32s-cards > .n23r-post { border-color: rgba(255, 255, 255, .1); }
.ti-bookmark-filled::before, .ti-heart-filled::before { content: "" !important; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background: currentColor;
  -webkit-mask: var(--n40-ic) center / contain no-repeat; mask: var(--n40-ic) center / contain no-repeat; }
.ti-bookmark-filled { --n40-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1-1.555.832L12 18.202l-5.444 3.63A1 1 0 0 1 5 21.001V7a5 5 0 0 1 5-5z'/%3E%3C/svg%3E"); }
.ti-heart-filled { --n40-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.979 3.074a6 6 0 0 1 4.988 1.425l.037.033.034-.03a6 6 0 0 1 4.733-1.44l.246.036a6 6 0 0 1 3.364 10.008l-.18.185-.048.041-7.45 7.379a1 1 0 0 1-1.313.082l-.094-.082-7.493-7.422A6 6 0 0 1 6.979 3.074z'/%3E%3C/svg%3E"); }
#homeDir > .naonde-brasil { position: fixed !important; right: 24px; bottom: 16px; left: auto !important; width: max-content !important; margin: 0 !important; z-index: 40; align-items: flex-end !important; }
#homeDir > .naonde-brasil .ft-linha { justify-content: flex-end; }
#homeDir > .naonde-brasil > .ft-linha { align-self: center !important; margin: 0 auto !important; }
#homeDir > .naonde-brasil > .nb33-alvo { left: 50% !important; right: auto !important; transform: translateX(-50%); }
#homeDir > .naonde-brasil { align-items: center !important; text-align: center; }
#homeDir > .naonde-brasil .nb33-info, #homeDir > .naonde-brasil .nb33-info * { text-align: center; }
#homeDir > .naonde-brasil .nb33-lema, #homeDir > .naonde-brasil .nb33-links { justify-content: center !important; }
