.hundred-page {
    padding-bottom: 4rem;
    background:
        radial-gradient(circle at top left, rgba(255, 218, 125, 0.26), transparent 28%),
        radial-gradient(circle at top right, rgba(124, 198, 255, 0.2), transparent 26%),
        linear-gradient(180deg, #fffdf6 0%, #fdfefe 100%);
}

.hundred-hero {
    padding: 1.5rem 0 0;
}

.hundred-copy p {
    max-width: 58ch;
    color: var(--muted);
}

.hundred-sheet-wrap {
    margin-top: 1.5rem;
}

.hundred-sheet {
    position: relative;
    padding: 2rem;
    border: 4px solid #23355b;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 219, 130, 0.32) 0 24px, transparent 25px 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 236, 0.95) 100%);
    box-shadow: 0 18px 42px rgba(23, 38, 60, 0.1);
    overflow: hidden;
}

.hundred-sheet::before,
.hundred-sheet::after {
    content: '';
    position: absolute;
    pointer-events: none;
    opacity: 0.14;
}

.hundred-sheet::before {
    width: 120px;
    height: 120px;
    inset: 18px auto auto 24px;
    background: radial-gradient(circle, #ffcf54 0 14px, transparent 16px 100%);
}

.hundred-sheet::after {
    width: 180px;
    height: 180px;
    right: -30px;
    top: -30px;
    background: radial-gradient(circle, #7fd1ff 0 12px, transparent 14px 100%);
}

.hundred-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.worksheet-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hundred-header h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: "Trebuchet MS", "Comic Sans MS", Arial, sans-serif;
    color: #1b2e57;
    letter-spacing: 0.03em;
}

.hundred-header p {
    margin: 0;
    color: #29466f;
    font-size: 1.1rem;
    font-weight: 700;
}

.worksheet-actions {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.progress-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.progress-pill {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 2px solid rgba(35, 53, 91, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: #1b2e57;
    font-weight: 800;
}

.hundred-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.45rem;
}

.hundred-cell {
    min-height: 56px;
    border: 3px solid #23355b;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: #17325e;
    font-family: "Trebuchet MS", "Comic Sans MS", Arial, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 900;
    box-shadow: inset 0 -4px 0 rgba(35, 53, 91, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.hundred-cell.is-hidden {
    color: transparent;
    cursor: default;
}

.hundred-cell.is-hidden::after {
    content: '';
}

.hundred-cell.is-active {
    cursor: pointer;
    background: linear-gradient(180deg, #ffe99d 0%, #ffd66c 100%);
}

.hundred-cell.is-active:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(35, 53, 91, 0.12);
}

.hundred-cell.is-done {
    background: linear-gradient(180deg, #d8f6c8 0%, #bbea9c 100%);
    color: #17325e;
    cursor: default;
}

.hundred-cell[data-color="2"].is-done {
    background: linear-gradient(180deg, #cce9ff 0%, #a8d5ff 100%);
}

.hundred-cell[data-color="3"].is-done {
    background: linear-gradient(180deg, #ffd0db 0%, #ffb3c6 100%);
}

.hundred-cell[data-color="4"].is-done {
    background: linear-gradient(180deg, #d8f6c8 0%, #bbea9c 100%);
}

.hundred-cell[data-color="5"].is-done {
    background: linear-gradient(180deg, #ead7ff 0%, #d2b7ff 100%);
}

.hundred-cell.is-complete {
    background: linear-gradient(180deg, #2ea85f 0%, #23904f 100%);
    color: #fff;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 980px) {
    .hundred-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hundred-sheet {
        padding: 1rem;
    }

    .hundred-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hundred-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hundred-cell {
        min-height: 52px;
    }
}
