#clue-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clue-item {
    border-radius: var(--radius-sm);
    background: var(--row);
    overflow: hidden;
}

.clue-parent {
    display: flex;
    align-items: stretch;
}

/* Pinned challenges */
.clue-item.mine {
    box-shadow: inset 4px 0 0 var(--pale-2);
}

.clue-item.mine .clue-name::after {
    content: "Mine";
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--pale-2);
    color: var(--card);
    font-size: 0.7rem;
    font-weight: 800;
    vertical-align: middle;
}

.clue-name {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: none;
    background: none;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.clue-name:hover {
    background: var(--row-hover);
}

.clue-buttons-container {
    display: flex;
    align-items: center;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.08);
}

/* Original mark colors */
.clue-done {
    background: rgb(82, 126, 82);
}

.clue-not-working {
    background: #3b3b3b;
}

.clue-unsure {
    background: rgb(248, 101, 101);
}

.clue-actions {
    display: flex;
    gap: 2px;
}

.clue-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.clue-action:hover {
    background: rgba(255, 255, 255, 0.15);
}

.clue-details {
    display: none;
    padding: 2px 14px 12px;
    background: #b84c79;
}

.clue-details > p {
    margin: 10px 0 0;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.clue-details iframe {
    border: 0;
    border-radius: var(--radius-sm);
}

.clear-all-button {
    align-self: flex-end;
    margin-top: 6px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.clear-all-button:hover {
    background: var(--row-hover);
}

#full-guide-container {
    margin-top: 10px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

@media (max-width: 420px) {
    .clue-action {
        width: 31px;
    }

    .clue-name {
        padding: 11px 10px;
        font-size: 0.92rem;
    }
}
