body {
    background: #B9CA8C;
    font-family: Verdana;
    font-size: 12px;
    color: #313131;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.wrapper {
    height: 600px;
    width: 800px;
    margin: auto;
    margin-top: 40px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: transparent;
    margin-bottom: 0;
}

.title {
    font-family: "Shrikhand", display;
    font-size: 24px;
    color: white;
    text-shadow: 2px 2px 1px #627136; /* <--- SUA SOMBRA AQUI */
    float: left;

    background-color: #8da24e; /* Cor do retângulo verde */
    height: 50px;
    line-height: 50px;
    padding: 0 16px;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.sidebar {
    width: 100px;
    background: #e78c5b;
    height: 500px;
    float: left;
}

.main {
    height: 500px;
}

.menu {
    display: flex;
    height: 50px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.menu a {
    text-decoration: none;
    color: inherit;
    font-size: 10px;
    border: 1px dotted #000;
    display: inline-block;
    height: 50px;
    width: 55px;
    box-sizing: border-box;
    float: left;
    margin-left: -1px;
    text-align: center;
    background: #f7f7f7;
}

.menu a:hover {
    background: #f7f7f7;
}

.content {
    width: 700px;
    background: #E3EAD2;
    float: right;
    height: 100%;
    padding: 12px 12px;
    overflow-y: auto;
    box-sizing: border-box;
}

.content img {
    max-width: 100%;
}

.left {
    width: 320px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin-right: 12px;
}

.right {
    width: 320px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

.blog-left {
    width: 520px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin-right: 12px;
}

.blog-right {
    width: 100px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin-top: 12px;
}

.blog-right img {
    width: 100px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #CCC;
    margin-bottom: 12px;
}

.box {
    background: #FFF;
    padding: 0px 12px;
    border: 1px solid #CCC;
    margin-bottom: 24px;
    position: relative;
    padding-top: 14px;
    margin-top: 12px;
}

.box-title {
    position: absolute;
    background: #8ca44c;
    color: white;
    top: -10px;
    left: 12px;
    padding: 3px 6px;
    letter-spacing: 1px;
}

.date-label {
    display: inline-block;
    width: 65px;
    font-family: monospace;
}

h2 {
    font-size: 12px;
    border-bottom: 2px dotted #8ca44c;
    padding-bottom: 6px;
}

.empty-box {
    margin-top: 12px;
    background: #FFF;
    padding: 0px 12px;
    border: 1px solid #CCC;
}

.side-icon {
    float: left;
    display: inline-block;
    width: 60px;
    padding-right: 6px;
}

.review-link {
    padding: 6px 0;
    text-align: right;
}

.small-icon {
    width: 90px;
}

.footer {
    color: white;
    float: right;
}

a {
    color: #8ca44c;
    text-decoration: none;
}

a:hover {
    color: #d2cb3c;
    text-decoration: underline;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #CCC;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #888 #CCC;
}

/* ==========================================
   ESTILOS DE LEITURA & QUADRADOS
   ========================================== */

.top-boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 24px;
}

.top-boxes-grid .box {
    margin-top: 0;
    margin-bottom: 0;
}

.year-sticky {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    border-bottom: 2px dotted #8da24e;
    color: #8da24e;
    padding-bottom: 4px;
}

.reading-section {
    margin-bottom: 24px;
}

.reading-header, .reading-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 0.8fr 1.2fr;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.reading-header {
    font-weight: bold;
    padding: 8px;
    background: #8da24e;
    color: white;
}

.reading-item {
    border-bottom: 1px solid #eee;
    background: #fff;
}

.reading-row {
    padding: 8px;
}

.toggle-review {
    background: #5e80b2;
    color: white;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 10px;
    border-radius: 3px;
}

.toggle-review:hover {
    background: #c33846;
}

.score-badge {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
}

.score-high { background: #d4edda; color: #155724; }
.score-mid  { background: #fff3cd; color: #856404; }
.score-low  { background: #f8d7da; color: #721c24; }
.score-none { background: #e2e3e5; color: #383d41; }

.review {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fcf8f2;
}

.review.open {
    max-height: 1000px;
    border-top: 1px dashed #ccc;
}

.review-inner {
    padding: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #313131;
}