/* ---------- Global ---------- */


* {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}



body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old Edge */
}

.page-title {
    margin: 0;
}

.prompt-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    max-width: 420px;
}

    .prompt-area:active {
        transform: scale(0.98);
    }


.prompt-area {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old Edge */
}


    .prompt-area:hover {
        background: #f2f2f2;
    }

.arty-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.prompt-text {
    display: flex;
    flex-direction: column;
}

.prompt-subtext {
    font-size: 0.9em;
    color: #666;
}

.prompt-reveal {
    margin-top: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px dashed #ccc;
    border-radius: 8px;
}


/* ---------- Navigation ---------- */
nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 12px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old Edge */
}

    nav a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

        nav a:hover {
            text-decoration: underline;
        }

/* ---------- Main Content ---------- */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old Edge */
}

/* ---------- Sections ---------- */
section {
    background-color: #ffffff;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

    section h2 {
        margin-top: 0;
    }

/* ---------- Button Link ---------- */
.button {
    display: inline-block;
    padding: 10px 16px;
    background-color: #4caf50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

    .button:hover {
        background-color: #43a047;
    }

/* ---------- Footer ---------- */
footer {
    text-align: center;
    padding: 16px;
    font-size: 0.9em;
    color: #777;
}


/* Basic page spacing */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.4;
    color: #222;
    background: #fafafa;
}

.site-header h1 {
    margin: 16px 0 8px;
    text-align: center;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px;
}

/* -------- Navigation (matches your screenshot) -------- */
nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 12px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old Edge */
}

    nav a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

        nav a:hover {
            text-decoration: underline;
        }

/* -------- Progress -------- */
.progress-bar {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 14px;
    margin-top: 16px;
}

.progress-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

    .progress-title h2 {
        margin: 0;
        font-size: 18px;
    }

.progress-count {
    margin: 0;
    color: #555;
}

.progress-track {
    margin-top: 10px;
    height: 10px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #333; /* simple for now */
}

/* -------- Lesson tiles -------- */
.lesson-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lesson-tile {
    display: block;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

    .lesson-tile h3 {
        margin: 0 0 6px;
        font-size: 16px;
    }

    .lesson-tile p {
        margin: 0;
        color: #555;
        font-size: 14px;
    }

    .lesson-tile:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    }

/* Responsive */
@media (max-width: 900px) {
    .lesson-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    nav {
        flex-wrap: wrap;
    }

    .lesson-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px 12px;
    color: #666;
}
/* Bug report page helpers (safe to paste into style.css) */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

.card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
}

.field textarea {
    resize: vertical;
}

.hint {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}

.radioRow {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 6px 0;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.button.secondary {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

.status {
    margin-top: 8px;
    color: #333;
}
/* ---------- Lesson Page Template ---------- */
.page-title {
    margin: 18px 0 10px;
    text-align: center;
}

.lesson-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
}

.lesson-actions h2,
.lesson-summary h2 {
    margin-top: 0;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.action-button {
    display: block;
    text-align: center;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    background: #f7f7f7;
}

    .action-button:hover {
        background: #efefef;
    }

.note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
}

/* Bottom prev/next buttons */
.lesson-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.nav-button {
    text-decoration: none;
    font-weight: bold;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    background: #ffffff;
}

    .nav-button:hover {
        background: #f3f3f3;
    }

/* Footer (simple + optional) */
.site-footer {
    text-align: center;
    padding: 20px 10px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 700px) {
    .button-grid {
        grid-template-columns: 1fr;
    }

    .lesson-nav {
        flex-direction: column;
    }
}
/* ---------- Shop Page ---------- */
.shop-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-intro p {
    margin: 8px 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.shop-item {
    border: 1px dashed #ccc;
    border-radius: 12px;
    padding: 14px;
    background: #fafafa;
}

    .shop-item h3 {
        margin-top: 0;
    }

.placeholder {
    opacity: 0.85;
}

/* Mobile */
@media (max-width: 700px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- Profile Page ---------- */
.profile-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-header h2 {
    margin-top: 0;
}

.profile-stats ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-stats li {
    margin: 6px 0;
}

/* Mobile */
@media (max-width: 700px) {
    .profile-page {
        padding: 14px;
    }
}
/* ---------- Gallery Page ---------- */
.gallery-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.gallery-tile {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.thumb {
    height: 140px;
    border-radius: 10px;
    background: #f0f0f0;
    border: 1px dashed #ccc;
    margin-bottom: 10px;
}

.placeholder {
    opacity: 0.9;
}

.note {
    color: #555;
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
