:root{
  --cor-fundo:        #0a0a0a;
  --cor-fundo-alt:    #3b0d17;
  --cor-texto:        #eaeaea;
  --cor-texto-suave:  #9c8478;
  --cor-destaque:     #c2a36b;
  --cor-borda:        #6b5a3d;
  --cor-vinho-claro:  #5a1a2a;
  --cor-indigo:       #2c3564;
  --cor-indigo-claro: #8fa0d8;
  --fonte-corpo:      'Lora', Georgia, serif;
  --fonte-titulo:     'Pixelify Sans', monospace;
}

html{
  -webkit-text-size-adjust:100%;
  background: #0a0a0a;
  font-variant-emoji: text;
  font-size: 16px;
}
@media (min-width: 768px){
  html{ font-size: 18px; }
}
@media (min-width: 1280px){
  html{ font-size: 19px; }
}

*{ margin: 0; padding: 0; }

body{
  background: linear-gradient(180deg, #3b0d17 0%, #0a0a0a 60%) no-repeat;
  min-height: 100vh;
  color: #eaeaea;
  font-family: 'Lora', Georgia, serif;
}

a{ color: #c2a36b; text-decoration: none; }
a:hover{ color: #eaeaea; }

h1, h2, h3{ font-family: 'Pixelify Sans', monospace; font-weight: 400; }
h1{ font-size: 1.3rem; margin: 0 0 1rem; }
h2{ font-size: 1.15rem; margin: 2rem 0 1rem; }
h3{ font-size: 1rem; margin: 1.5rem 0 0.75rem; }

hr{ border: none; height: 1px; background: #6b5a3d; margin: 2rem 0; }

.site-header{
  background: linear-gradient(180deg, #3b0d17 0%, transparent 100%);
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 10;
}

.site-header__title{
  font-family: 'Pixelify Sans', monospace;
  font-size: 1.1rem;
  color: #c2a36b;
  display: block;
  text-align: center;
}

.site-nav{
  margin-top: 1.25rem;
  text-align: center;
}

.site-nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a{
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.site-nav a:hover{
  background: #c2a36b;
  color: #0a0a0a;
  border-color: #c2a36b;
}

.site-main{
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.site-main--texto{
  max-width: 68ch;
}

.pagina-titulo{
  font-family: 'Pixelify Sans', monospace;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.texto p{
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}

.texto ul, .texto ol{
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.texto li{
  margin-bottom: 0.5rem;
}

.hub-layout{
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px){
  .hub-layout{ grid-template-columns: 1fr; }
}

.character-sheet{
  position: relative;
  border: 2px solid #6b5a3d;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, #3b0d17 0%, #2a0810 100%);
}

.character-sheet::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, 0% 100%);
  border: 2px solid #6b5a3d;
  pointer-events: none;
  z-index: -1;
}

.avatar-frame{
  width: 100%;
  aspect-ratio: 1;
  background: #0a0a0a;
  border: 1px dashed #6b5a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #9c8478;
  text-align: center;
  padding: 1rem;
}

.stat-list{
  list-style: none;
}

.stat-list li{
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #6b5a3d;
  font-size: 0.85rem;
  line-height: 1.3;
}

.stat-list span{
  display: block;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.6rem;
  color: #c2a36b;
  margin-bottom: 0.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hub-content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px){
  .hub-content{ grid-template-columns: 1fr; }
}

.status-grid{
  display: contents;
}

blockquote{
  border: 2px solid #6b5a3d;
  padding: 1.25rem 1rem;
  position: relative;
  background: linear-gradient(135deg, #3b0d17 0%, #2a0810 100%);
}

blockquote::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, 0% 100%);
  border: 2px solid #6b5a3d;
  pointer-events: none;
  z-index: -1;
}

blockquote::after{
  content: '▼';
  position: absolute;
  bottom: -16px;
  left: 20px;
  color: #c2a36b;
  font-size: 0.9rem;
  animation: piscar 1.2s infinite;
}

@keyframes piscar{
  0%, 49%, 100%{ opacity: 1; }
  50%, 99%{ opacity: 0; }
}

blockquote p{
  margin: 0;
  text-align: left;
}

.status-window{
  position: relative;
  border: 2px solid #6b5a3d;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, #3b0d17 0%, #2a0810 100%);
}

.status-window::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, 0% 100%);
  border: 2px solid #6b5a3d;
  pointer-events: none;
  z-index: -1;
}

.status-window--indigo{
  border-color: #2c3564;
  max-height: 300px;
  overflow-y: auto;
}

.status-window--indigo::before{
  border-color: #2c3564;
}

.status-window--vinho{
  border-color: #5a1a2a;
}

.status-window--vinho::before{
  border-color: #5a1a2a;
}

.window-tab{
  position: absolute;
  top: -14px;
  left: 12px;
  padding: 0 0.5rem;
  background: #3b0d17;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.7rem;
  color: #c2a36b;
  border: 2px solid #c2a36b;
  letter-spacing: 0.05em;
}

.status-window--indigo .window-tab{
  color: #8fa0d8;
  border-color: #8fa0d8;
}

.entrada__cabecalho{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.entrada__astrologia{
  font-family: 'Pixelify Sans', monospace;
  color: #c2a36b;
  letter-spacing: 0.05em;
  font-size: 1.4rem;
}

.entrada__data{
  font-family: 'Pixelify Sans', monospace;
  color: #9c8478;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.entrada__hora{
  font-family: 'Pixelify Sans', monospace;
  color: #9c8478;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}

.entrada__tags{
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.entrada__tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 1.8rem;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.55rem;
  font-weight: bold;
  border: 1px solid currentColor;
  padding: 0 0.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.entrada__tag--texto{
  background: rgba(143, 160, 216, 0.15);
  color: #8fa0d8;
  border-color: #8fa0d8;
}

.entrada__tag--midia{
  background: rgba(44, 53, 100, 0.15);
  color: #2c3564;
  border-color: #2c3564;
}

.entrada__tag--link{
  background: rgba(194, 163, 107, 0.15);
  color: #c2a36b;
  border-color: #c2a36b;
}

.entrada__preview-link{
  margin: 1rem 0;
  border: 1px solid #6b5a3d;
  padding: 1rem;
  background: #0a0a0a;
}

.entrada__preview-link iframe{
  border-radius: 4px;
}

.entrada__midia{
  display: block;
  width: 100%;
  margin-top: 0.9rem;
  border: 1px solid #6b5a3d;
}

audio.entrada__midia{
  border: none;
}

.entrada__link{
  display: inline-block;
  color: #c2a36b;
  text-decoration: underline;
}

.entrada__link:hover{
  color: #eaeaea;
}

.entrada__texto{
  margin: 0;
}

.entrada{
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed #6b5a3d;
}

.entrada:last-child{
  border-bottom: none;
  margin-bottom: 0;
}

.log__entradas{
  margin-top: 1.5rem;
}

.filtro-bar{
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filtro{
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.75rem;
  background: transparent;
  color: #c2a36b;
  border: 1px solid #6b5a3d;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filtro:hover{
  border-color: #c2a36b;
}

.filtro--ativo{
  background: #c2a36b;
  color: #0a0a0a;
  border-color: #c2a36b;
}

.janela-microblog__rodape{
  display: inline-block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #6b5a3d;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.8rem;
  color: #c2a36b;
  text-decoration: none;
}

.site-footer{
  text-align: center;
  padding: 3rem 1.25rem 1.5rem;
  color: #9c8478;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.8rem;
}

@media (max-width: 600px){
  .site-header{ padding: 1.5rem 1rem; }
  .site-header__title{ font-size: 0.95rem; }
  .site-nav a{ font-size: 0.7rem; padding: 0.3rem 0.6rem; }
  h1{ font-size: 1.1rem; }
  h2{ font-size: 1rem; }
}