:root {
    --burntlove: #c8553d;
    --orange: #f28f3b;
    --coral: #ffd5c2;
    --white: #ffffff;
    --teal: #588b8b;

    --soft: #fff8f4;
    --ink: rgba(0, 0, 0, .78);
}

/* NEWBIE */
.tab-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
     gap: 20px;
     margin: 40px auto;
     max-width: 800px;
 }

 .tab-item {
     background: #fff;
     border: 3px solid #48bdbd;
     border-radius: 15px;
     padding: 12px;
     text-align: center;
     transition: 0.2s;
 }

 .tab-item:hover {
     background: #f2e3de;
     transform: translateY(-4px);
 }

 .tab-item img {
     width: 80px;
     height: 80px;
     display: block;
     margin: 0 auto 10px;
 }

 .tab-item a {
     display: block;
     font-size: 14px;
     font-weight: bold;
     color: #2d3142;
     text-decoration: none;
 }

 .tab-item a:hover {
     color: #ae3a30;
 }

 .tab-item.active {
     border-color: #36a7a7;
     box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
     transform: translateY(-2px);
 }

 .newbie-panel {
     margin: 26px auto 0;
     max-width: 900px;
     background: #fff;
     border: 2px solid #e9f6f6;
     border-radius: 16px;
     box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
     overflow: hidden;
     opacity: 0;
     transform: translateY(6px);
     pointer-events: none;
     transition: opacity .18s ease, transform .18s ease;
 }

 .newbie-panel.show {
     opacity: 1;
     transform: none;
     pointer-events: auto;
 }

 .panel-header {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 14px 16px;
     border-bottom: 1px solid #eef5f6;
     background: linear-gradient(0deg, #f6ffff, #ffffff);
 }

 .panel-header img {
     width: 40px;
     height: 40px;
     object-fit: contain
 }

 .panel-title {
     font-weight: 800;
     font-size: 18px
 }

 .panel-tag {
     margin-left: 6px;
     font-size: 12px;
     font-weight: 700;
     color: #0b6a6a;
     background: #e7fbfb;
     border: 1px solid #c9f1f1;
     padding: 4px 8px;
     border-radius: 999px
 }

 .panel-actions {
     margin-left: auto;
     display: flex;
     gap: 8px
 }

 .panel-actions .btn {
     appearance: none;
     border: 0;
     border-radius: 10px;
     padding: 8px 12px;
     font-weight: 700;
     cursor: pointer
 }

 .btn.primary {
     background: #48bdbd;
     color: #fff
 }

 .btn.secondary {
     background: #eef7ff;
     border: 1px solid #dbeaff;
     color: #113
 }

 .panel-body {
     padding: 18px 16px;
     line-height: 1.6
 }

 .panel-body a {
     color: #ae3a30;
     font-weight: 700;
     text-decoration: none
 }

 .panel-body a:hover {
     text-decoration: underline
 }

 .anchor-pad {
     scroll-margin-top: 16px
 }

 .panel-body img {
     max-width: 100%;
     height: auto;
     margin: 8px 15px 10px 0;
     border-radius: 8px;
 }

/* STAMPS */
.stamp-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.stamp-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    padding: 14px;
    border-radius: 22px;
    border: 2px solid var(--coral);
    background: var(--soft);
}

.stamp-searchwrap {
    display: flex;
    align-items: center;
    gap: 10px;

    background: var(--white);
    border: 2px solid var(--coral);
    border-radius: 999px;
    padding: 10px 14px;
    min-width: 320px;
}

#stamp-search {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: .95rem;
}

#stamp-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

#clear-search {
    border: 0;
    background: var(--coral);
    color: var(--burntlove);
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

#clear-search:hover {
    background: var(--orange);
    color: var(--white);
}

.stamp-select {
    border: 2px solid var(--coral);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    color: var(--burntlove);
    cursor: pointer;
    outline: none;
    min-width: 240px;
}

.stamp-select:focus {
    border-color: var(--orange);
}

.stamp-results-badge {
    border: 2px solid var(--coral);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    color: var(--burntlove);
}

.stamp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

@media (max-width: 1050px) {
    .stamp-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 900px) {
    .stamp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 650px) {
    .stamp-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stamp-searchwrap {
        min-width: 100%;
    }

    .stamp-select {
        min-width: 100%;
    }
}

@media (max-width: 420px) {
    .stamp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stamp-card {
    background: #fffdfb;
    border: 2px solid var(--coral);
    border-radius: 20px;
    padding: 12px 10px 14px;
    text-align: center;
    transition: .15s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 42px; 
}

.stamp-card:hover {
    transform: translateY(-2px) rotate(-0.25deg);
    border-color: var(--orange);
}

.stamp-card a {
    display: inline-block;
}

.stamp-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 8px;
}

.stamp-name {
    margin-top: 10px;
    margin-bottom: 6px;
    font-weight: 900;
    font-size: .92rem;
    color: var(--burntlove);
}

.stamp-albums {
    margin-top: 4px;
    line-height: 1.2;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    
    padding: 10px 10px 9px;
    text-align: center;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .2px;
    color: #ffffff;
    background: var(--teal);
    opacity: 1;
    border-top: 2px solid rgba(255,255,255,.35);
}

.stamp-empty {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 2px dashed var(--coral);
    background: var(--soft);
    color: rgba(0, 0, 0, .7);
    text-align: center;
    font-weight: 800;
}

.stamp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.stamp-pagebtn {
    border: 2px solid var(--coral);
    background: var(--white);
    color: var(--burntlove);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
}

.stamp-pagebtn:hover {
    border-color: var(--orange);
}

.stamp-pagebtn.is-active {
    background: var(--burntlove);
    color: var(--white);
    border-color: var(--burntlove);
}

.stamp-pagebtn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* GOALS */
.goals-searchbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.goals-searchleft {
    flex: 1;
    min-width: 220px;
}

.goals-searchlabel {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    margin-bottom: 6px;
    opacity: 0.8;
}

#goalsSearch {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    font-weight: 700;
    font-size: 14px;
}

#goalsSearch:focus {
    outline: none;
    border-color: rgba(45, 49, 66, 0.45);
}

.goals-searchmeta {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

#goalsSearchCount {
    font-size: 12px;
    font-weight: 800;
    opacity: 0.75;
}

.goals-clear {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #f3f3f3;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
}

.goals-clear:hover {
    background: #e9e9e9;
}

@media (max-width: 700px) {
    .goals-searchbar {
        flex-direction: column;
        align-items: stretch;
    }

    .goals-searchmeta {
        justify-content: space-between;
    }
}

.goals-section {
    margin-top: 20px;
}

.goals-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 900;
}

.goals-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.goals-table thead th {
    padding: 10px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    background: #588b8b;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.col-level {
    width: 80px;
    text-align: center;
}

.col-reward {
    width: 150px;
    text-align: center;
}

.goals-table tbody tr {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.goals-table td {
    padding: 14px 12px;
    vertical-align: middle;
}

.goal-level {
    font-weight: 900;
    font-size: 16px;
    text-align: center;
}

.goal-text {
    font-size: 14px;
    line-height: 1.45;
}

.goal-text strong {
    font-weight: 900;
}

.goal-text a {
    font-weight: 800;
    color: #2d3142;
    text-decoration: none;
    border-bottom: 2px solid rgba(45, 49, 66, 0.35);
}

.goal-text a:hover {
    border-bottom-color: rgba(45, 49, 66, 0.75);
}

.goal-reward {
    text-align: center;
}

.goal-reward img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 6px;
}

.goal-reward span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 700px) {
    .goals-table thead {
        display: none;
    }

    .goals-table tbody tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .goal-level {
        text-align: left;
        font-size: 15px;
    }

    .goal-reward {
        text-align: left;
    }

    .goal-reward img {
        margin-left: 0;
    }
}

/* ==== GUESS THE FLAG GUIDE ==== */
.description {
    font-size: 16px;
    margin-bottom: 20px;
}

.challenge-box {
    background: #ffffff;
    padding: 20px;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

#countryPrompt {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flag-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.flag-options img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.flag-options img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.result-actions {
    text-align: center;
    margin-top: 15px;
}

#resultMessage {
    margin-bottom: 10px;
    font-weight: 600;
}

#resultMessage.correct {
    color: #2e8b57;
}

#resultMessage.incorrect {
    color: #b22222;
}

.next-flag-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;

    background: #4f5d75;
    color: #ffffff;

    transition: background 0.2s ease, transform 0.1s ease;
}

.next-flag-btn:hover {
    background: #2d3142;
}

.next-flag-btn:active {
    transform: translateY(1px);
}

#searchInput {
    padding: 8px;
    width: 260px;
    margin: 10px auto 20px auto;
    display: block;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.flag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.flag-entry {
    background: #fff;
    padding: 8px;
    border: 2px solid #588b8b;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: background-color 0.3s;
}

.flag-entry img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.flag-name {
    margin-top: 5px;
    font-weight: bold;
    color: #c8553d;
    font-size: 13px;
}

.flag-entry input[type="checkbox"] {
    position: absolute;
    top: 8px;
    right: 8px;
    transform: scale(1.2);
}

.flag-entry.checked {
    background: #e0ffe0;
}

/* ==== MICROWAVE RECIPES ==== */
.daily-highlight {
    background: #f5f5f5;
    padding: 20px;
    border: 2px dashed #f28f3b;
    margin-bottom: 30px;
    border-radius: 10px;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.journal-card {
    background: #fffefc;
    border: 1px solid #ddd;
    font-family: 'Merriweather', serif;
    box-shadow: inset -5px 0 0 #588b8b;
    padding: 15px;
    border-radius: 10px;
}

.journal-card.highlight {
    max-width: 400px;
    margin: 0 auto;
}

.journal-card img.recipe-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.journal-card img.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-top: 5px;
}

.recipe-name {
    font-size: 18px;
    margin-top: 8px;
    color: #588b8b;
}

.ingredients,
.time,
.icons {
    font-size: 14px;
    margin-top: 6px;
}

.legend-box {
    margin-top: 30px;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

/* ==== ADVENT CALENDAR & TREE ==== */
.advent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 20px;
    background-color: #fff;
    border: 3px solid #588b8b;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.advent-day {
    background-color: #eeeeee;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-family: 'Verdana', sans-serif;
}

.advent-label {
    background-color: #588b8b;
    color: #fff;
    font-weight: bold;
    padding: 4px 0;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.advent-items {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.advent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.advent-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.item-name {
    font-size: 12px;
    margin-top: 4px;
    color: #31384a;
}

.item-wrapper {
    position: relative;
    display: inline-block;
}

.x2-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: #f28f3b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/* Advent Index */
.year-timeline {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto;
}

.year-timeline li {
    border-left: 4px solid #c8553d;
    padding-left: 10px;
    margin-bottom: 15px;
    position: relative;
}

.year-timeline li::before {
    content: "🎄";
    position: absolute;
    left: -18px;
    top: 0;
}

.year-timeline a {
    color: #61412a;
    text-decoration: none;
}

.year-timeline a:hover {
    text-decoration: underline;
}

/* Advent - change */
.calendar-grid-style {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: auto;
}

.calendar-block {
    background: #edf2f4;
    padding: 1em;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #8d99ae;
    transition: 0.2s ease;
}

.calendar-block:hover {
    background: #ffd5c2;
    color: #fff;
}

.calendar-block .year {
    font-size: 1.4em;
    font-weight: bold;
    color: #2b2d42;
}

.calendar-block .desc {
    font-size: 0.9em;
    margin: 0.5em 0;
    color: #4f5d75;
}

.calendar-block a {
    font-size: 0.85em;
    font-weight: 700;
    color: #c8553d;
    text-decoration: underline;
}

/* ===== LABYRINTH BUTTONS ===== */
.risky {
    background: radial-gradient(circle, #d36b6b 0%, #5b1616 100%);
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: middle;
    flex-shrink: 0;
    align-self: center;
}

.safe {
    background: radial-gradient(circle, #8ac78a 0%, #2e6b2e 100%);
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: middle;
    flex-shrink: 0;
    align-self: center;
}

.chaos {
    background: radial-gradient(circle, #b58eff 0%, #472057 100%);
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    vertical-align: middle;
    flex-shrink: 0;
    align-self: center;
}

/* ==== GRAVE ROBBING ===== */
.graverob-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin: 0 auto;
}

.graverob-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    background: #fff7da;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.graverob-notice strong {
    font-weight: 800;
}

.graverob-notice a {
    font-weight: 800;
    text-decoration: none;
    color: #c8553d;
}

.graverob-notice a:hover {
    border-bottom-color: rgba(0, 0, 0, 0.45);
}

.graverob-notice.is-hidden {
    display: none !important;
}

.graverob-media {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.graverob-img {
    position: relative;
    display: inline-block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.graverob-img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

#graverobSleep {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.graverob-img:hover #graverobSleep {
    opacity: 1;
}

.graverob-wrap.is-asleep #graverobSleep {
    opacity: 1;
}

.graverob-wrap.is-asleep .graverob-img:hover #graverobSleep {
    opacity: 0;
}

.sleep-status-line {
    text-align: center;
    font-size: 13px;
    opacity: 0.85;
}

/* Bones Grid */
.color-switcher {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
    padding-top: 28px;
}

.color-switcher__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.color-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-tabs {
    justify-content: center;
    width: 100%;
}

.color-tab {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: transform .1s ease, background .15s ease, border-color .15s ease;
}

.color-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.22);
}

.color-tab.is-active {
    background: #2d3142;
    color: #fff;
    border-color: rgba(0, 0, 0, 0.22);
}

.color-select {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
}

.color-select__label {
    font-weight: 800;
    font-size: 13px;
    opacity: .8;
}

.color-select select {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 7px 10px;
    font-weight: 800;
    background: #fff;
}

/* Panels */
.color-panel {
    display: none;
}

.color-panels {
    padding-bottom: 28px;
}

.color-panel.is-active {
    display: block;
}

/* Grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.grid-item {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    color: inherit;
}

.grid-item:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.035);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.grid-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    image-rendering: auto;
}

.grid-item span {
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    opacity: 0.9;
}

@media (max-width: 760px) {
    .color-tabs {
        display: none;
    }

    .color-select {
        display: inline-flex;
    }

    .color-switcher__top {
        justify-content: flex-end;
    }

    .color-panels {
        padding-bottom: 35px;
    }
}

@media (max-width: 1100px) {
    .item-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sleeping Table */
.sleep-times-card {
    max-width: 720px;
    width: 100%;
    margin: 18px auto 0;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.sleep-times-head {
    text-align: center;
    margin-bottom: 10px;
}

.sleep-times-head h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.sleep-times-sub {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.75;
}

.sleep-times-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sleep-cell {
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 120ms ease;
}

.sleep-cell small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.7;
}

.sleep-cell.is-active {
    background: #fff2c2;
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.sleep-cell.is-active::after {
    content: "ASLEEP NOW";
    display: inline-block;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4px;
    background: rgba(0, 0, 0, 0.10);
}