.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.option-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:active {
    transform: scale(0.98);
}

.progress-indicator {
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 114, 99, 0.1);
}

.citrus-gradient {
    background: linear-gradient(135deg, #ff8200 0%, #ffa500 100%);
}

.input-focus-ring:focus {
    outline: 2px solid #ff8200;
    box-shadow: 0 0 8px rgba(255, 130, 0, 0.2);
}

.floating-citrus {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.score-circle {
    background: conic-gradient(#006d3d 0%, #eeeef0 0);
    transition: background 1s ease-out;
}

.flashcard-scene {
    perspective: 1000px;
    min-height: 220px;
}

.flashcard.has-image .flashcard-scene,
.flashcard.has-image .flashcard-inner {
    min-height: 380px;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    min-height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
}

.flashcard-back {
    transform: rotateY(180deg);
}

.fc-glossary-img {
    width: 100%;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.sci-name {
    font-style: italic;
    font-weight: inherit;
}

.sci-rank {
    font-style: normal;
    font-weight: inherit;
}

.game-specimen-img {
    width: 100%;
    max-width: 480px;
    max-height: 280px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.pyramid-card {
    transition: transform 0.3s, opacity 0.3s;
}

.pyramid-card.revealed {
    background: linear-gradient(135deg, #97f3b5 0%, #9af6b8 100%);
}

.game-modal-backdrop {
    backdrop-filter: blur(4px);
}

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #dec1af; border-radius: 10px; }

.btn-interact:active { transform: scale(0.98); }

.view-hidden { display: none !important; }

/* Help guide panels */
.help-guide {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(139, 114, 99, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
}

.help-guide-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a1c1a;
    list-style: none;
    user-select: none;
}

.help-guide-summary::-webkit-details-marker { display: none; }

.help-guide-summary::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    margin-left: auto;
    color: #006d3d;
    transition: transform 0.2s;
}

.help-guide[open] .help-guide-summary::after {
    transform: rotate(180deg);
}

.help-guide-body {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.875rem;
    color: #444746;
    line-height: 1.6;
}

.help-guide-body li {
    margin-bottom: 0.35rem;
}

/* Citrus Rush challenge layout */
.fc-challenge-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.fc-qlist-sidebar {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 114, 99, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem;
    position: sticky;
    top: 5rem;
}

.fc-qlist-scroll {
    max-height: 420px;
    overflow-y: auto;
}

.fc-qlist-item {
    border: 1px solid transparent;
    color: #444746;
}

.fc-qlist-item:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.fc-qlist-item--active {
    background: #e8f5e9;
    border-color: #006d3d;
    color: #006d3d;
    font-weight: 600;
}

.fc-qlist-item--done:not(.fc-qlist-item--active) {
    background: #f5faf6;
    border-color: #97f3b5;
}

.fc-qlist-item--done:not(.fc-qlist-item--active):hover {
    background: #e8f5e9;
}

.fc-qlist-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: #eeeef0;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.fc-qlist-mobile {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.fc-qchip {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 1px solid #cac4cf;
    background: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    color: #444746;
}

.fc-qchip:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.fc-qchip--active {
    background: #006d3d;
    border-color: #006d3d;
    color: #fff;
}

.fc-qchip--done:not(.fc-qchip--active) {
    background: #97f3b5;
    border-color: #006d3d;
    color: #006d3d;
}

.fc-challenge-img {
    width: 100%;
    max-width: 320px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 0.5rem;
}

@media (max-width: 767px) {
    .fc-challenge-layout {
        grid-template-columns: 1fr;
    }
}

.login-overlay {
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.table-container::-webkit-scrollbar { height: 8px; }
.table-container::-webkit-scrollbar-track { background: #f1f1f1; }
.table-container::-webkit-scrollbar-thumb { background: #006d3d; border-radius: 4px; }
