body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    font-family: monospace;
    background: #f7f7f7;
    flex-wrap: wrap;
}

#current-book {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.panel {
    width: 260px;
    padding: 1.5rem;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.panel.status p {
    margin: 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}

h1 {
    margin-top: 0;
    font-size: 1.2rem;
}

ul {
    padding-left: 1rem;
}

#state {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    line-height: 1.2;
}

#meta {
    font-size: 0.8rem;
    color: #666;
}


.books {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
}

.note {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    max-width: 260px;
}

.note a {
    text-decoration: none;
    color: inherit;
}

.note p {
    margin: 0;
    font-style: italic;
    font-size: 0.9rem;
    color: #444;
}

.seed a {
    text-decoration: none;
    opacity: 0.5;
}

.seed a:hover {
    opacity: 0.9;
}

@media (max-width: 900px) {
    body {
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .panel {
        width: 45%;
        /* dois painéis por linha */
        position: initial;
    }

    .note {
        position: initial;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    body {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .panel {
        width: 60%;
        /* painel ocupa quase toda a largura da tela */
        position: initial;
    }

    .note {
        position: initial;
        justify-content: center;
    }

}

/* Fotos */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.photos-grid img {
    border-radius: 9%;
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: grayscale(10%);
    transition: filter 0.2s ease;
}

.photos-grid img:hover {
    filter: grayscale(0%);
}

.routine li {
  line-height: 1.4;
  opacity: 0.85;
  margin: 0.25rem 0;
  text-transform: lowercase;
}

.routine ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.books-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.books-icon {
  text-decoration: none;
  font-size: 0.9em;   /* menor que o h1 */
  opacity: 0.5;       /* fraco */
}

.books-icon:hover {
  opacity: 0.85;
}
